rip out -incremental from configure
[profile/ivi/qtbase.git] / qmake / qmake.pri
1 CONFIG += depend_includepath
2
3 SKIP_DEPENDS += qconfig.h qmodules.h
4 DEFINES += QT_NO_TEXTCODEC QT_NO_LIBRARY QT_NO_STL QT_NO_COMPRESS QT_NO_UNICODETABLES \
5            QT_NO_GEOM_VARIANT QT_NO_DATASTREAM
6
7 #qmake code
8 SOURCES += project.cpp property.cpp main.cpp generators/makefile.cpp \
9            generators/unix/unixmake2.cpp generators/unix/unixmake.cpp meta.cpp \
10            option.cpp generators/win32/winmakefile.cpp generators/win32/mingw_make.cpp \
11            generators/makefiledeps.cpp generators/metamakefile.cpp generators/mac/pbuilder_pbx.cpp \
12            generators/xmloutput.cpp generators/win32/borland_bmake.cpp \
13            generators/win32/msvc_nmake.cpp generators/projectgenerator.cpp \
14            generators/win32/msvc_vcproj.cpp \
15            generators/win32/msvc_vcxproj.cpp \
16            generators/win32/msvc_objectmodel.cpp generators/win32/msbuild_objectmodel.cpp \
17            generators/integrity/gbuild.cpp
18
19 HEADERS += project.h property.h generators/makefile.h \
20            generators/unix/unixmake.h meta.h option.h cachekeys.h \
21            generators/win32/winmakefile.h generators/win32/mingw_make.h generators/projectgenerator.h \
22            generators/makefiledeps.h generators/metamakefile.h generators/mac/pbuilder_pbx.h \
23            generators/xmloutput.h generators/win32/borland_bmake.h generators/win32/msvc_nmake.h \
24            generators/win32/msvc_vcproj.h \
25            generators/win32/msvc_vcxproj.h \
26            generators/win32/msvc_objectmodel.h generators/win32/msbuild_objectmodel.h \
27            generators/integrity/gbuild.h
28
29 contains(QT_EDITION, OpenSource) {
30    DEFINES += QMAKE_OPENSOURCE_EDITION
31 }
32
33 bootstrap { #Qt code
34    DEFINES+=QT_NODLL QT_NO_THREAD
35    SOURCES+= \
36         qbitarray.cpp \
37         qbuffer.cpp \
38         qbytearray.cpp \
39         qbytearraymatcher.cpp \
40         qcryptographichash.cpp \
41         qdatetime.cpp \
42         qdir.cpp \
43         qdiriterator.cpp \
44         qfile.cpp \
45         qabstractfileengine.cpp \
46         qfileinfo.cpp \
47         qfilesystementry.cpp \
48         qfilesystemengine.cpp \
49         qfsfileengine.cpp \
50         qfsfileengine_iterator.cpp \
51         qglobal.cpp \
52         qnumeric.cpp \
53         qhash.cpp \
54         qiodevice.cpp \
55         qlist.cpp \
56         qlinkedlist.cpp \
57         qlocale.cpp \
58         qlocale_tools.cpp \
59         qmalloc.cpp \
60         qmap.cpp \
61         qmetatype.cpp \
62         qregexp.cpp \
63         qtextcodec.cpp \
64         qutfcodec.cpp \
65         qstring.cpp \
66         qstringlist.cpp \
67         qtemporaryfile.cpp \
68         qtextstream.cpp \
69         qurl.cpp \
70         quuid.cpp \
71         qsettings.cpp \
72         qlibraryinfo.cpp \
73         qsystemerror.cpp \
74         qvariant.cpp \
75         qvector.cpp \
76         qvsnprintf.cpp \
77         qxmlstream.cpp \
78         qxmlutils.cpp \
79         qlogging.cpp
80
81    HEADERS+= \
82         qbitarray.h \
83         qbuffer.h \
84         qbytearray.h \
85         qbytearraymatcher.h \
86         qchar.h \
87         qcryptographichash.h \
88         qdatetime.h \
89         qdatetime_p.h \
90         qdir.h \
91         qdir_p.h \
92         qdiriterator.h \
93         qfile.h \
94         qabstractfileengine_p.h \
95         qfileinfo.h \
96         qglobal.h \
97         qnumeric.h \
98         qhash.h \
99         qiodevice.h \
100         qlist.h \
101         qlinkedlist.h \
102         qlocale.h \
103         qlocale_tools_p.h \
104         qmalloc.h \
105         qmap.h \
106         qmetatype.h \
107         qregexp.h \
108         qtextcodec.h \
109         qutfcodec.h \
110         qstring.h \
111         qstringlist.h \
112         qstringmatcher.h \
113         qsystemerror_p.h \
114         qtemporaryfile.h \
115         qtextstream.h \
116         qurl.h \
117         quuid.h \
118         qvector.h \
119         qxmlstream.h \
120         qxmlutils.h
121
122     unix {
123         SOURCES += qfilesystemengine_unix.cpp qfilesystemiterator_unix.cpp qfsfileengine_unix.cpp
124         mac {
125           SOURCES += qfilesystemengine_mac.cpp
126           SOURCES += qcore_mac.cpp qsettings_mac.cpp
127           LIBS += -framework ApplicationServices
128         }
129     } else:win32 {
130         SOURCES += qfilesystemengine_win.cpp qfsfileengine_win.cpp qfilesystemiterator_win.cpp qsettings_win.cpp \
131             qsystemlibrary.cpp
132         win32-msvc*:LIBS += ole32.lib advapi32.lib
133         win32-g++*:LIBS += -lole32 -luuid -ladvapi32 -lkernel32
134     }
135
136     qnx {
137         CFLAGS += -fhonor-std
138         LFLAGS += -lcpp
139     }
140     DEFINES *= QT_NO_QOBJECT
141 } else {
142     CONFIG += qt 
143     QT = core
144 }
145 *-g++:profiling {
146   QMAKE_CFLAGS = -pg
147   QMAKE_CXXFLAGS = -pg
148   QMAKE_LFLAGS = -pg
149 }
150
151 PRECOMPILED_HEADER = qmake_pch.h