summaryrefslogtreecommitdiff
path: root/qmake/Makefile
authoreilers <eilers>2004-12-20 16:04:15 (UTC)
committer eilers <eilers>2004-12-20 16:04:15 (UTC)
commite35c9d95f2b1609798529e527282e145b370f505 (patch) (unidiff)
tree146eccb4081dda79e435603fef1c2927678cefe2 /qmake/Makefile
parent68ae26d1e6368ec73acf11d09067820fc882f402 (diff)
downloadopie-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!
Diffstat (limited to 'qmake/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/Makefile7
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,28 +1,35 @@
1QMAKESPECSDIR=$(OPIEDIR)/mkspecs 1QMAKESPECSDIR=$(OPIEDIR)/mkspecs
2 2
3include ../.config
4
5ifeq ($(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++
8else
9CC = gcc
10CXX = g++
11endif
5 12
6#qmake code 13#qmake code
7OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \ 14OBJS=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
13QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ 20QOBJS=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
20DEPEND_SRC=project.cpp property.cpp meta.cpp main.cpp qtmd5.cpp generators/makefile.cpp generators/unix/unixmake2.cpp \ 27DEPEND_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 \