-rw-r--r-- | qmake/Makefile | 74 |
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,30 +1,48 @@ | |||
1 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 1 | QMAKESPECSDIR=$(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 |
10 | OBJS=project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o \ | 7 | OBJS=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 |
15 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ | 13 | QOBJS=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 | ||
21 | CFLAGS= \ | 19 | #all sources, used for the depend target |
20 | DEPEND_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 | |||
40 | CXXFLAGS= \ | ||
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 |
26 | CXXFLAGS= $(CFLAGS) | ||
27 | LFLAGS= | 45 | LFLAGS= |
28 | 46 | ||
29 | qmake: $(OBJS) $(QOBJS) | 47 | qmake: $(OBJS) $(QOBJS) |
30 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) | 48 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) |
@@ -42,8 +60,9 @@ clean:: | |||
42 | 60 | ||
43 | distclean:: clean | 61 | distclean:: 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 |
47 | qtextstream.o: $(OPIEDIR)/qmake/tools/qtextstream.cpp | 66 | qtextstream.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 |
49 | 68 | ||
@@ -58,14 +77,29 @@ qgdict.o: $(OPIEDIR)/qmake/tools/qgdict.cpp | |||
58 | 77 | ||
59 | qcstring.o: $(OPIEDIR)/qmake/tools/qcstring.cpp | 78 | qcstring.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 | ||
81 | qsettings.o: $(OPIEDIR)/qmake/tools/qsettings.cpp | ||
82 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings.cpp | ||
83 | |||
84 | qsettings_mac.o: $(OPIEDIR)/qmake/tools/qsettings_mac.cpp | ||
85 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings_mac.cpp | ||
86 | |||
87 | qurl.o: $(OPIEDIR)/qmake/kernel/qurl.cpp | ||
88 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/kernel/qurl.cpp | ||
89 | |||
62 | qstring.o: $(OPIEDIR)/qmake/tools/qstring.cpp | 90 | qstring.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 | ||
93 | qlocale.o: $(OPIEDIR)/qmake/tools/qlocale.cpp | ||
94 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qlocale.cpp | ||
95 | |||
65 | qdatastream.o: $(OPIEDIR)/qmake/tools/qdatastream.cpp | 96 | qdatastream.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 | ||
99 | qunicodetables.o: $(OPIEDIR)/qmake/tools/qunicodetables.cpp | ||
100 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qunicodetables.cpp | ||
101 | |||
68 | qgarray.o: $(OPIEDIR)/qmake/tools/qgarray.cpp | 102 | qgarray.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 | ||
71 | qbuffer.o: $(OPIEDIR)/qmake/tools/qbuffer.cpp | 105 | qbuffer.o: $(OPIEDIR)/qmake/tools/qbuffer.cpp |
@@ -127,14 +161,23 @@ winmakefile.o: generators/win32/winmakefile.cpp | |||
127 | 161 | ||
128 | project.o: project.cpp project.h option.h | 162 | project.o: project.cpp project.h option.h |
129 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp | 163 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp |
130 | 164 | ||
165 | property.o: property.cpp project.h option.h | ||
166 | $(CXX) -c -o $@ $(CXXFLAGS) property.cpp | ||
167 | |||
168 | meta.o: meta.cpp project.h option.h | ||
169 | $(CXX) -c -o $@ $(CXXFLAGS) meta.cpp | ||
170 | |||
131 | main.o: main.cpp project.h | 171 | main.o: main.cpp project.h |
132 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp | 172 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp |
133 | 173 | ||
134 | option.o: option.cpp option.h | 174 | option.o: option.cpp option.h |
135 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp | 175 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp |
136 | 176 | ||
177 | qtmd5.o: qtmd5.cpp | ||
178 | $(CXX) -c -o $@ $(CXXFLAGS) qtmd5.cpp | ||
179 | |||
137 | makefile.o: generators/makefile.cpp | 180 | makefile.o: generators/makefile.cpp |
138 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp | 181 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp |
139 | 182 | ||
140 | unixmake.o: generators/unix/unixmake.cpp | 183 | unixmake.o: generators/unix/unixmake.cpp |
@@ -170,9 +213,8 @@ msvc_dsp.o: generators/win32/msvc_dsp.cpp | |||
170 | projectgenerator.o: generators/projectgenerator.cpp | 213 | 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 | ||