summaryrefslogtreecommitdiff
path: root/qmake/Makefile
Unidiff
Diffstat (limited to 'qmake/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/Makefile74
1 files changed, 58 insertions, 16 deletions
diff --git a/qmake/Makefile b/qmake/Makefile
index 01bb1a1..5a72210 100644
--- a/qmake/Makefile
+++ b/qmake/Makefile
@@ -1,29 +1,47 @@
1QMAKESPECSDIR=$(OPIEDIR)/mkspecs 1QMAKESPECSDIR=$(OPIEDIR)/mkspecs
2 2
3########################################################################
4## This file was autogenerated by configure, all changes will be lost ##
5########################################################################
6 CC = gcc 3 CC = gcc
7 CXX = g++ 4 CXX = g++
8 5
9#qmake code 6#qmake code
10OBJS=project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o \ 7OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \
11 mingw_make.o msvc_nmake.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o \ 8 borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o \
12 projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o 9 winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o \
10 msvc_objectmodel.o meta.o qtmd5.o
13 11
14#qt code 12#qt code
15QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ 13QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \
16 qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ 14 qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \
17 qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \ 15 qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \
18 qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ 16 qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \
19 qconfig.o 17 qconfig.o qunicodetables.o qsettings.o qlocale.o
20 18
21CFLAGS= \ 19#all sources, used for the depend target
20DEPEND_SRC=project.cpp property.cpp meta.cpp main.cpp qtmd5.cpp generators/makefile.cpp generators/unix/unixmake2.cpp \
21 generators/unix/unixmake.cpp generators/win32/msvc_nmake.cpp generators/win32/borland_bmake.cpp \
22 generators/win32/winmakefile.cpp generators/projectgenerator.cpp generators/mac/metrowerks_xml.cpp \
23 generators/mac/pbuilder_pbx.cpp generators/win32/msvc_objectmodel.cpp \
24 $(OPIEDIR)/qmake/tools/qstring.cpp $(OPIEDIR)/qmake/tools/qtextstream.cpp \
25 $(OPIEDIR)/qmake/tools/qiodevice.cpp $(OPIEDIR)/qmake/tools/qglobal.cpp \
26 $(OPIEDIR)/qmake/tools/qgdict.cpp $(OPIEDIR)/qmake/tools/qcstring.cpp \
27 $(OPIEDIR)/qmake/tools/qdatastream.cpp $(OPIEDIR)/qmake/src/tools/qgarray.cpp \
28 $(OPIEDIR)/qmake/tools/qbuffer.cpp $(OPIEDIR)/qmake/tools/qglist.cpp \
29 $(OPIEDIR)/qmake/tools/qptrcollection.cpp $(OPIEDIR)/qmake/tools/qfile.cpp \
30 $(OPIEDIR)/qmake/tools/qfile_unix.cpp $(OPIEDIR)/qmake/tools/qregexp.cpp \
31 $(OPIEDIR)/qmake/tools/qgvector.cpp $(OPIEDIR)/qmake/tools/qgcache.cpp \
32 $(OPIEDIR)/qmake/tools/qbitarray.cpp $(OPIEDIR)/qmake/tools/qdir.cpp \
33 $(OPIEDIR)/qmake/tools/quuid.cpp $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp \
34 $(OPIEDIR)/qmake/tools/qdir_unix.cpp $(OPIEDIR)/qmake/tools/qfileinfo.cpp \
35 $(OPIEDIR)/qmake/tools/qdatetime.cpp $(OPIEDIR)/qmake/tools/qstringlist.cpp \
36 $(OPIEDIR)/qmake/tools/qmap.cpp $(OPIEDIR)/qmake/tools/qconfig.cpp \
37 $(OPIEDIR)/qmake/tools/qsettings.cpp $(OPIEDIR)/qmake/tools/qurl.cpp \
38 $(OPIEDIR)/qmake/tools/qsettings_mac.cpp $(OPIEDIR)/qmake/tools/qlocale.cpp
39
40CXXFLAGS= \
22 -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ 41 -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \
23 -I$(OPIEDIR)/qmake/include -I$(OPIEDIR)/qmake/include/qmake -I$(QMAKESPECSDIR)/default \ 42 -I$(OPIEDIR)/qmake/include/qmake -I$(OPIEDIR)/qmake/include -I$(OPIEDIR)/qmake/include/private \
24 -I$(OPIEDIR)/qmake/include/private \ 43 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL \
25 -DQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 44 -DQT_NO_COMPRESS -I$(QMAKESPECSDIR)/default -DHAVE_QCONFIG_CPP
26CXXFLAGS= $(CFLAGS)
27LFLAGS= 45LFLAGS=
28 46
29qmake: $(OBJS) $(QOBJS) 47qmake: $(OBJS) $(QOBJS)
@@ -43,6 +61,7 @@ clean::
43distclean:: clean 61distclean:: clean
44 rm -rf qmake .deps 62 rm -rf qmake .deps
45 63
64
46# don't use optimization for these 65# don't use optimization for these
47qtextstream.o: $(OPIEDIR)/qmake/tools/qtextstream.cpp 66qtextstream.o: $(OPIEDIR)/qmake/tools/qtextstream.cpp
48 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qtextstream.cpp 67 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qtextstream.cpp
@@ -59,12 +78,27 @@ qgdict.o: $(OPIEDIR)/qmake/tools/qgdict.cpp
59qcstring.o: $(OPIEDIR)/qmake/tools/qcstring.cpp 78qcstring.o: $(OPIEDIR)/qmake/tools/qcstring.cpp
60 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qcstring.cpp 79 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qcstring.cpp
61 80
81qsettings.o: $(OPIEDIR)/qmake/tools/qsettings.cpp
82 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings.cpp
83
84qsettings_mac.o: $(OPIEDIR)/qmake/tools/qsettings_mac.cpp
85 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings_mac.cpp
86
87qurl.o: $(OPIEDIR)/qmake/kernel/qurl.cpp
88 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/kernel/qurl.cpp
89
62qstring.o: $(OPIEDIR)/qmake/tools/qstring.cpp 90qstring.o: $(OPIEDIR)/qmake/tools/qstring.cpp
63 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstring.cpp 91 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstring.cpp
64 92
93qlocale.o: $(OPIEDIR)/qmake/tools/qlocale.cpp
94 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qlocale.cpp
95
65qdatastream.o: $(OPIEDIR)/qmake/tools/qdatastream.cpp 96qdatastream.o: $(OPIEDIR)/qmake/tools/qdatastream.cpp
66 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatastream.cpp 97 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatastream.cpp
67 98
99qunicodetables.o: $(OPIEDIR)/qmake/tools/qunicodetables.cpp
100 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qunicodetables.cpp
101
68qgarray.o: $(OPIEDIR)/qmake/tools/qgarray.cpp 102qgarray.o: $(OPIEDIR)/qmake/tools/qgarray.cpp
69 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgarray.cpp 103 $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgarray.cpp
70 104
@@ -128,12 +162,21 @@ winmakefile.o: generators/win32/winmakefile.cpp
128project.o: project.cpp project.h option.h 162project.o: project.cpp project.h option.h
129 $(CXX) -c -o $@ $(CXXFLAGS) project.cpp 163 $(CXX) -c -o $@ $(CXXFLAGS) project.cpp
130 164
165property.o: property.cpp project.h option.h
166 $(CXX) -c -o $@ $(CXXFLAGS) property.cpp
167
168meta.o: meta.cpp project.h option.h
169 $(CXX) -c -o $@ $(CXXFLAGS) meta.cpp
170
131main.o: main.cpp project.h 171main.o: main.cpp project.h
132 $(CXX) -c -o $@ $(CXXFLAGS) main.cpp 172 $(CXX) -c -o $@ $(CXXFLAGS) main.cpp
133 173
134option.o: option.cpp option.h 174option.o: option.cpp option.h
135 $(CXX) -c -o $@ $(CXXFLAGS) option.cpp 175 $(CXX) -c -o $@ $(CXXFLAGS) option.cpp
136 176
177qtmd5.o: qtmd5.cpp
178 $(CXX) -c -o $@ $(CXXFLAGS) qtmd5.cpp
179
137makefile.o: generators/makefile.cpp 180makefile.o: generators/makefile.cpp
138 $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp 181 $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp
139 182
@@ -171,8 +214,7 @@ projectgenerator.o: generators/projectgenerator.cpp
171 $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp 214 $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp
172 215
173#default rules 216#default rules
174.c.o:
175 $(CC) -c -o $@ $(CFLAGS) $<
176
177.cpp.o: 217.cpp.o:
178 $(CXX) -c -o $@ $(CXXFLAGS) $< 218 $(CXX) -c -o $@ $(CXXFLAGS) $<
219
220# DO NOT DELETE THIS LINE -- make depend depends on it