author | eilers <eilers> | 2004-12-20 16:04:15 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-12-20 16:04:15 (UTC) |
commit | e35c9d95f2b1609798529e527282e145b370f505 (patch) (unidiff) | |
tree | 146eccb4081dda79e435603fef1c2927678cefe2 | |
parent | 68ae26d1e6368ec73acf11d09067820fc882f402 (diff) | |
download | opie-e35c9d95f2b1609798529e527282e145b370f505.zip opie-e35c9d95f2b1609798529e527282e145b370f505.tar.gz opie-e35c9d95f2b1609798529e527282e145b370f505.tar.bz2 |
The "which" command on darwin always returns a string as output, even if
nothing was found. Therefore we have to disable this "which" if ccache
is not available!
-rw-r--r-- | qmake/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qmake/Makefile b/qmake/Makefile index 3045766..1054da4 100644 --- a/qmake/Makefile +++ b/qmake/Makefile | |||
@@ -1,220 +1,227 @@ | |||
1 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 1 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
2 | 2 | ||
3 | include ../.config | ||
4 | |||
5 | ifeq ($(strip $(CONFIG_USE_CCACHE)),y) | ||
3 | CC = $(shell which ccache) gcc | 6 | CC = $(shell which ccache) gcc |
4 | CXX = $(shell which ccache) g++ | 7 | CXX = $(shell which ccache) g++ |
8 | else | ||
9 | CC = gcc | ||
10 | CXX = g++ | ||
11 | endif | ||
5 | 12 | ||
6 | #qmake code | 13 | #qmake code |
7 | OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \ | 14 | OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \ |
8 | borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o \ | 15 | borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o \ |
9 | winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o \ | 16 | winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o \ |
10 | msvc_objectmodel.o meta.o qtmd5.o | 17 | msvc_objectmodel.o meta.o qtmd5.o |
11 | 18 | ||
12 | #qt code | 19 | #qt code |
13 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ | 20 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ |
14 | qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ | 21 | qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ |
15 | qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \ | 22 | qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \ |
16 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ | 23 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ |
17 | qconfig.o qunicodetables.o qsettings.o qlocale.o | 24 | qconfig.o qunicodetables.o qsettings.o qlocale.o |
18 | 25 | ||
19 | #all sources, used for the depend target | 26 | #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 \ | 27 | 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 \ | 28 | 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 \ | 29 | generators/win32/winmakefile.cpp generators/projectgenerator.cpp generators/mac/metrowerks_xml.cpp \ |
23 | generators/mac/pbuilder_pbx.cpp generators/win32/msvc_objectmodel.cpp \ | 30 | generators/mac/pbuilder_pbx.cpp generators/win32/msvc_objectmodel.cpp \ |
24 | $(OPIEDIR)/qmake/tools/qstring.cpp $(OPIEDIR)/qmake/tools/qtextstream.cpp \ | 31 | $(OPIEDIR)/qmake/tools/qstring.cpp $(OPIEDIR)/qmake/tools/qtextstream.cpp \ |
25 | $(OPIEDIR)/qmake/tools/qiodevice.cpp $(OPIEDIR)/qmake/tools/qglobal.cpp \ | 32 | $(OPIEDIR)/qmake/tools/qiodevice.cpp $(OPIEDIR)/qmake/tools/qglobal.cpp \ |
26 | $(OPIEDIR)/qmake/tools/qgdict.cpp $(OPIEDIR)/qmake/tools/qcstring.cpp \ | 33 | $(OPIEDIR)/qmake/tools/qgdict.cpp $(OPIEDIR)/qmake/tools/qcstring.cpp \ |
27 | $(OPIEDIR)/qmake/tools/qdatastream.cpp $(OPIEDIR)/qmake/src/tools/qgarray.cpp \ | 34 | $(OPIEDIR)/qmake/tools/qdatastream.cpp $(OPIEDIR)/qmake/src/tools/qgarray.cpp \ |
28 | $(OPIEDIR)/qmake/tools/qbuffer.cpp $(OPIEDIR)/qmake/tools/qglist.cpp \ | 35 | $(OPIEDIR)/qmake/tools/qbuffer.cpp $(OPIEDIR)/qmake/tools/qglist.cpp \ |
29 | $(OPIEDIR)/qmake/tools/qptrcollection.cpp $(OPIEDIR)/qmake/tools/qfile.cpp \ | 36 | $(OPIEDIR)/qmake/tools/qptrcollection.cpp $(OPIEDIR)/qmake/tools/qfile.cpp \ |
30 | $(OPIEDIR)/qmake/tools/qfile_unix.cpp $(OPIEDIR)/qmake/tools/qregexp.cpp \ | 37 | $(OPIEDIR)/qmake/tools/qfile_unix.cpp $(OPIEDIR)/qmake/tools/qregexp.cpp \ |
31 | $(OPIEDIR)/qmake/tools/qgvector.cpp $(OPIEDIR)/qmake/tools/qgcache.cpp \ | 38 | $(OPIEDIR)/qmake/tools/qgvector.cpp $(OPIEDIR)/qmake/tools/qgcache.cpp \ |
32 | $(OPIEDIR)/qmake/tools/qbitarray.cpp $(OPIEDIR)/qmake/tools/qdir.cpp \ | 39 | $(OPIEDIR)/qmake/tools/qbitarray.cpp $(OPIEDIR)/qmake/tools/qdir.cpp \ |
33 | $(OPIEDIR)/qmake/tools/quuid.cpp $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp \ | 40 | $(OPIEDIR)/qmake/tools/quuid.cpp $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp \ |
34 | $(OPIEDIR)/qmake/tools/qdir_unix.cpp $(OPIEDIR)/qmake/tools/qfileinfo.cpp \ | 41 | $(OPIEDIR)/qmake/tools/qdir_unix.cpp $(OPIEDIR)/qmake/tools/qfileinfo.cpp \ |
35 | $(OPIEDIR)/qmake/tools/qdatetime.cpp $(OPIEDIR)/qmake/tools/qstringlist.cpp \ | 42 | $(OPIEDIR)/qmake/tools/qdatetime.cpp $(OPIEDIR)/qmake/tools/qstringlist.cpp \ |
36 | $(OPIEDIR)/qmake/tools/qmap.cpp $(OPIEDIR)/qmake/tools/qconfig.cpp \ | 43 | $(OPIEDIR)/qmake/tools/qmap.cpp $(OPIEDIR)/qmake/tools/qconfig.cpp \ |
37 | $(OPIEDIR)/qmake/tools/qsettings.cpp $(OPIEDIR)/qmake/tools/qurl.cpp \ | 44 | $(OPIEDIR)/qmake/tools/qsettings.cpp $(OPIEDIR)/qmake/tools/qurl.cpp \ |
38 | $(OPIEDIR)/qmake/tools/qsettings_mac.cpp $(OPIEDIR)/qmake/tools/qlocale.cpp | 45 | $(OPIEDIR)/qmake/tools/qsettings_mac.cpp $(OPIEDIR)/qmake/tools/qlocale.cpp |
39 | 46 | ||
40 | CXXFLAGS= \ | 47 | CXXFLAGS= \ |
41 | -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ | 48 | -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ |
42 | -I$(OPIEDIR)/qmake/include/qmake -I$(OPIEDIR)/qmake/include -I$(OPIEDIR)/qmake/include/private \ | 49 | -I$(OPIEDIR)/qmake/include/qmake -I$(OPIEDIR)/qmake/include -I$(OPIEDIR)/qmake/include/private \ |
43 | -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL \ | 50 | -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL \ |
44 | -DQT_NO_COMPRESS -I$(QMAKESPECSDIR)/default -DHAVE_QCONFIG_CPP | 51 | -DQT_NO_COMPRESS -I$(QMAKESPECSDIR)/default -DHAVE_QCONFIG_CPP |
45 | LFLAGS= | 52 | LFLAGS= |
46 | 53 | ||
47 | qmake: $(OBJS) $(QOBJS) | 54 | qmake: $(OBJS) $(QOBJS) |
48 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) | 55 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) |
49 | $(if $(OPIEDIR),rm -f $(OPIEDIR)/bin/$@) | 56 | $(if $(OPIEDIR),rm -f $(OPIEDIR)/bin/$@) |
50 | $(if $(OPIEDIR),ln -s ../qmake/$@ $(OPIEDIR)/bin/$@) | 57 | $(if $(OPIEDIR),ln -s ../qmake/$@ $(OPIEDIR)/bin/$@) |
51 | 58 | ||
52 | install: qmake | 59 | install: qmake |
53 | [ -d $(INSTALL_ROOT)$(QTDIR)/bin ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)/bin | 60 | [ -d $(INSTALL_ROOT)$(QTDIR)/bin ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)/bin |
54 | -cp -f $(QTDIR)/bin/qmake $(INSTALL_ROOT)$(QTDIR)/bin | 61 | -cp -f $(QTDIR)/bin/qmake $(INSTALL_ROOT)$(QTDIR)/bin |
55 | [ -d $(INSTALL_ROOT)$(QTDIR) ] || mkdir -p $(INSTALL_ROOT)$(QTDIR) | 62 | [ -d $(INSTALL_ROOT)$(QTDIR) ] || mkdir -p $(INSTALL_ROOT)$(QTDIR) |
56 | -cp -r -f $(QMAKESPECSDIR) $(INSTALL_ROOT)$(QTDIR) | 63 | -cp -r -f $(QMAKESPECSDIR) $(INSTALL_ROOT)$(QTDIR) |
57 | 64 | ||
58 | clean:: | 65 | clean:: |
59 | rm -f $(OBJS) $(QOBJS) | 66 | rm -f $(OBJS) $(QOBJS) |
60 | 67 | ||
61 | distclean:: clean | 68 | distclean:: clean |
62 | rm -rf qmake .deps | 69 | rm -rf qmake .deps |
63 | 70 | ||
64 | 71 | ||
65 | # don't use optimization for these | 72 | # don't use optimization for these |
66 | qtextstream.o: $(OPIEDIR)/qmake/tools/qtextstream.cpp | 73 | qtextstream.o: $(OPIEDIR)/qmake/tools/qtextstream.cpp |
67 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qtextstream.cpp | 74 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qtextstream.cpp |
68 | 75 | ||
69 | qiodevice.o: $(OPIEDIR)/qmake/tools/qiodevice.cpp | 76 | qiodevice.o: $(OPIEDIR)/qmake/tools/qiodevice.cpp |
70 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qiodevice.cpp | 77 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qiodevice.cpp |
71 | 78 | ||
72 | qglobal.o: $(OPIEDIR)/qmake/tools/qglobal.cpp | 79 | qglobal.o: $(OPIEDIR)/qmake/tools/qglobal.cpp |
73 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglobal.cpp | 80 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglobal.cpp |
74 | 81 | ||
75 | qgdict.o: $(OPIEDIR)/qmake/tools/qgdict.cpp | 82 | qgdict.o: $(OPIEDIR)/qmake/tools/qgdict.cpp |
76 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgdict.cpp | 83 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgdict.cpp |
77 | 84 | ||
78 | qcstring.o: $(OPIEDIR)/qmake/tools/qcstring.cpp | 85 | qcstring.o: $(OPIEDIR)/qmake/tools/qcstring.cpp |
79 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qcstring.cpp | 86 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qcstring.cpp |
80 | 87 | ||
81 | qsettings.o: $(OPIEDIR)/qmake/tools/qsettings.cpp | 88 | qsettings.o: $(OPIEDIR)/qmake/tools/qsettings.cpp |
82 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings.cpp | 89 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings.cpp |
83 | 90 | ||
84 | qsettings_mac.o: $(OPIEDIR)/qmake/tools/qsettings_mac.cpp | 91 | qsettings_mac.o: $(OPIEDIR)/qmake/tools/qsettings_mac.cpp |
85 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings_mac.cpp | 92 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qsettings_mac.cpp |
86 | 93 | ||
87 | qurl.o: $(OPIEDIR)/qmake/kernel/qurl.cpp | 94 | qurl.o: $(OPIEDIR)/qmake/kernel/qurl.cpp |
88 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/kernel/qurl.cpp | 95 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/kernel/qurl.cpp |
89 | 96 | ||
90 | qstring.o: $(OPIEDIR)/qmake/tools/qstring.cpp | 97 | qstring.o: $(OPIEDIR)/qmake/tools/qstring.cpp |
91 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstring.cpp | 98 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstring.cpp |
92 | 99 | ||
93 | qlocale.o: $(OPIEDIR)/qmake/tools/qlocale.cpp | 100 | qlocale.o: $(OPIEDIR)/qmake/tools/qlocale.cpp |
94 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qlocale.cpp | 101 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qlocale.cpp |
95 | 102 | ||
96 | qdatastream.o: $(OPIEDIR)/qmake/tools/qdatastream.cpp | 103 | qdatastream.o: $(OPIEDIR)/qmake/tools/qdatastream.cpp |
97 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatastream.cpp | 104 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatastream.cpp |
98 | 105 | ||
99 | qunicodetables.o: $(OPIEDIR)/qmake/tools/qunicodetables.cpp | 106 | qunicodetables.o: $(OPIEDIR)/qmake/tools/qunicodetables.cpp |
100 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qunicodetables.cpp | 107 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qunicodetables.cpp |
101 | 108 | ||
102 | qgarray.o: $(OPIEDIR)/qmake/tools/qgarray.cpp | 109 | qgarray.o: $(OPIEDIR)/qmake/tools/qgarray.cpp |
103 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgarray.cpp | 110 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgarray.cpp |
104 | 111 | ||
105 | qbuffer.o: $(OPIEDIR)/qmake/tools/qbuffer.cpp | 112 | qbuffer.o: $(OPIEDIR)/qmake/tools/qbuffer.cpp |
106 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbuffer.cpp | 113 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbuffer.cpp |
107 | 114 | ||
108 | qglist.o: $(OPIEDIR)/qmake/tools/qglist.cpp | 115 | qglist.o: $(OPIEDIR)/qmake/tools/qglist.cpp |
109 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglist.cpp | 116 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglist.cpp |
110 | 117 | ||
111 | qptrcollection.o: $(OPIEDIR)/qmake/tools/qptrcollection.cpp | 118 | qptrcollection.o: $(OPIEDIR)/qmake/tools/qptrcollection.cpp |
112 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qptrcollection.cpp | 119 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qptrcollection.cpp |
113 | 120 | ||
114 | qfile.o: $(OPIEDIR)/qmake/tools/qfile.cpp | 121 | qfile.o: $(OPIEDIR)/qmake/tools/qfile.cpp |
115 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile.cpp | 122 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile.cpp |
116 | 123 | ||
117 | qfile_unix.o: $(OPIEDIR)/qmake/tools/qfile_unix.cpp | 124 | qfile_unix.o: $(OPIEDIR)/qmake/tools/qfile_unix.cpp |
118 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile_unix.cpp | 125 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile_unix.cpp |
119 | 126 | ||
120 | qregexp.o: $(OPIEDIR)/qmake/tools/qregexp.cpp | 127 | qregexp.o: $(OPIEDIR)/qmake/tools/qregexp.cpp |
121 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qregexp.cpp | 128 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qregexp.cpp |
122 | 129 | ||
123 | qgvector.o: $(OPIEDIR)/qmake/tools/qgvector.cpp | 130 | qgvector.o: $(OPIEDIR)/qmake/tools/qgvector.cpp |
124 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgvector.cpp | 131 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgvector.cpp |
125 | 132 | ||
126 | qgcache.o: $(OPIEDIR)/qmake/tools/qgcache.cpp | 133 | qgcache.o: $(OPIEDIR)/qmake/tools/qgcache.cpp |
127 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgcache.cpp | 134 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgcache.cpp |
128 | 135 | ||
129 | qbitarray.o: $(OPIEDIR)/qmake/tools/qbitarray.cpp | 136 | qbitarray.o: $(OPIEDIR)/qmake/tools/qbitarray.cpp |
130 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbitarray.cpp | 137 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbitarray.cpp |
131 | 138 | ||
132 | qdir.o: $(OPIEDIR)/qmake/tools/qdir.cpp | 139 | qdir.o: $(OPIEDIR)/qmake/tools/qdir.cpp |
133 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir.cpp | 140 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir.cpp |
134 | 141 | ||
135 | quuid.o: $(OPIEDIR)/qmake/tools/quuid.cpp | 142 | quuid.o: $(OPIEDIR)/qmake/tools/quuid.cpp |
136 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/quuid.cpp | 143 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/quuid.cpp |
137 | 144 | ||
138 | qfileinfo_unix.o: $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp | 145 | qfileinfo_unix.o: $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp |
139 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp | 146 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp |
140 | 147 | ||
141 | qdir_unix.o: $(OPIEDIR)/qmake/tools/qdir_unix.cpp | 148 | qdir_unix.o: $(OPIEDIR)/qmake/tools/qdir_unix.cpp |
142 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir_unix.cpp | 149 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir_unix.cpp |
143 | 150 | ||
144 | qfileinfo.o: $(OPIEDIR)/qmake/tools/qfileinfo.cpp | 151 | qfileinfo.o: $(OPIEDIR)/qmake/tools/qfileinfo.cpp |
145 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo.cpp | 152 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo.cpp |
146 | 153 | ||
147 | qdatetime.o: $(OPIEDIR)/qmake/tools/qdatetime.cpp | 154 | qdatetime.o: $(OPIEDIR)/qmake/tools/qdatetime.cpp |
148 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatetime.cpp | 155 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatetime.cpp |
149 | 156 | ||
150 | qstringlist.o: $(OPIEDIR)/qmake/tools/qstringlist.cpp | 157 | qstringlist.o: $(OPIEDIR)/qmake/tools/qstringlist.cpp |
151 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstringlist.cpp | 158 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstringlist.cpp |
152 | 159 | ||
153 | qmap.o: $(OPIEDIR)/qmake/tools/qmap.cpp | 160 | qmap.o: $(OPIEDIR)/qmake/tools/qmap.cpp |
154 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qmap.cpp | 161 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qmap.cpp |
155 | 162 | ||
156 | qconfig.o: $(OPIEDIR)/qmake/tools/qconfig.cpp | 163 | qconfig.o: $(OPIEDIR)/qmake/tools/qconfig.cpp |
157 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qconfig.cpp | 164 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qconfig.cpp |
158 | 165 | ||
159 | winmakefile.o: generators/win32/winmakefile.cpp | 166 | winmakefile.o: generators/win32/winmakefile.cpp |
160 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/winmakefile.cpp | 167 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/winmakefile.cpp |
161 | 168 | ||
162 | project.o: project.cpp project.h option.h | 169 | project.o: project.cpp project.h option.h |
163 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp | 170 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp |
164 | 171 | ||
165 | property.o: property.cpp project.h option.h | 172 | property.o: property.cpp project.h option.h |
166 | $(CXX) -c -o $@ $(CXXFLAGS) property.cpp | 173 | $(CXX) -c -o $@ $(CXXFLAGS) property.cpp |
167 | 174 | ||
168 | meta.o: meta.cpp project.h option.h | 175 | meta.o: meta.cpp project.h option.h |
169 | $(CXX) -c -o $@ $(CXXFLAGS) meta.cpp | 176 | $(CXX) -c -o $@ $(CXXFLAGS) meta.cpp |
170 | 177 | ||
171 | main.o: main.cpp project.h | 178 | main.o: main.cpp project.h |
172 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp | 179 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp |
173 | 180 | ||
174 | option.o: option.cpp option.h | 181 | option.o: option.cpp option.h |
175 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp | 182 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp |
176 | 183 | ||
177 | qtmd5.o: qtmd5.cpp | 184 | qtmd5.o: qtmd5.cpp |
178 | $(CXX) -c -o $@ $(CXXFLAGS) qtmd5.cpp | 185 | $(CXX) -c -o $@ $(CXXFLAGS) qtmd5.cpp |
179 | 186 | ||
180 | makefile.o: generators/makefile.cpp | 187 | makefile.o: generators/makefile.cpp |
181 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp | 188 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp |
182 | 189 | ||
183 | unixmake.o: generators/unix/unixmake.cpp | 190 | unixmake.o: generators/unix/unixmake.cpp |
184 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake.cpp | 191 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake.cpp |
185 | 192 | ||
186 | unixmake2.o: generators/unix/unixmake2.cpp | 193 | unixmake2.o: generators/unix/unixmake2.cpp |
187 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake2.cpp | 194 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake2.cpp |
188 | 195 | ||
189 | borland_bmake.o: generators/win32/borland_bmake.cpp | 196 | borland_bmake.o: generators/win32/borland_bmake.cpp |
190 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/borland_bmake.cpp | 197 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/borland_bmake.cpp |
191 | 198 | ||
192 | mingw_make.o: generators/win32/mingw_make.cpp | 199 | mingw_make.o: generators/win32/mingw_make.cpp |
193 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/mingw_make.cpp | 200 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/mingw_make.cpp |
194 | 201 | ||
195 | msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp | 202 | msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp |
196 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp | 203 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp |
197 | 204 | ||
198 | msvc_vcproj.o: generators/win32/msvc_vcproj.cpp | 205 | msvc_vcproj.o: generators/win32/msvc_vcproj.cpp |
199 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_vcproj.cpp | 206 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_vcproj.cpp |
200 | 207 | ||
201 | msvc_nmake.o: generators/win32/msvc_nmake.cpp | 208 | msvc_nmake.o: generators/win32/msvc_nmake.cpp |
202 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_nmake.cpp | 209 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_nmake.cpp |
203 | 210 | ||
204 | metrowerks_xml.o: generators/mac/metrowerks_xml.cpp | 211 | metrowerks_xml.o: generators/mac/metrowerks_xml.cpp |
205 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/metrowerks_xml.cpp | 212 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/metrowerks_xml.cpp |
206 | 213 | ||
207 | pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp | 214 | pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp |
208 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp | 215 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp |
209 | 216 | ||
210 | msvc_dsp.o: generators/win32/msvc_dsp.cpp | 217 | msvc_dsp.o: generators/win32/msvc_dsp.cpp |
211 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp | 218 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp |
212 | 219 | ||
213 | projectgenerator.o: generators/projectgenerator.cpp | 220 | projectgenerator.o: generators/projectgenerator.cpp |
214 | $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp | 221 | $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp |
215 | 222 | ||
216 | #default rules | 223 | #default rules |
217 | .cpp.o: | 224 | .cpp.o: |
218 | $(CXX) -c -o $@ $(CXXFLAGS) $< | 225 | $(CXX) -c -o $@ $(CXXFLAGS) $< |
219 | 226 | ||
220 | # DO NOT DELETE THIS LINE -- make depend depends on it | 227 | # DO NOT DELETE THIS LINE -- make depend depends on it |