-rw-r--r-- | qmake/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/Makefile b/qmake/Makefile index 104cc44..7ad05d9 100644 --- a/qmake/Makefile +++ b/qmake/Makefile | |||
@@ -1,74 +1,74 @@ | |||
1 | TOPDIR=$(shell pwd) | 1 | TOPDIR=$(shell pwd) |
2 | QMAKESPECSDIR=$(OPIEDIR) | 2 | QMAKESPECSDIR=$(OPIEDIR) |
3 | 3 | ||
4 | ######################################################################## | 4 | ######################################################################## |
5 | ## This file was autogenerated by configure, all changes will be lost ## | 5 | ## This file was autogenerated by configure, all changes will be lost ## |
6 | ######################################################################## | 6 | ######################################################################## |
7 | CC = gcc | 7 | CC = gcc |
8 | CXX = g++ | 8 | CXX = g++ |
9 | 9 | ||
10 | #qmake code | 10 | #qmake code |
11 | OBJS=project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o \ | 11 | OBJS=project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o \ |
12 | msvc_nmake.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o \ | 12 | msvc_nmake.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o \ |
13 | projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o | 13 | projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o |
14 | 14 | ||
15 | #qt code | 15 | #qt code |
16 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ | 16 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ |
17 | qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ | 17 | qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ |
18 | qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o \ | 18 | qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o \ |
19 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ | 19 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ |
20 | qconfig.o | 20 | qconfig.o |
21 | 21 | ||
22 | CFLAGS= \ | 22 | CFLAGS= \ |
23 | -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ | 23 | -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ |
24 | -I$(TOPDIR)/include -I$(TOPDIR)/include/qmake -I$(QMAKESPECSDIR)/default \ | 24 | -I$(TOPDIR)/include -I$(TOPDIR)/include/qmake -I$(QMAKESPECSDIR)/default \ |
25 | -I$(TOPDIR)/include/private \ | 25 | -I$(TOPDIR)/include/private \ |
26 | -DQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I$(QMAKESPECDIR)/qws/linux-x86-g++ | 26 | -DQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I$(QMAKESPECSDIR)/qws/linux-x86-g++ |
27 | CXXFLAGS= $(CFLAGS) | 27 | CXXFLAGS= $(CFLAGS) |
28 | LFLAGS= | 28 | LFLAGS= |
29 | 29 | ||
30 | qmake: $(OBJS) $(QOBJS) | 30 | qmake: $(OBJS) $(QOBJS) |
31 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) | 31 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) |
32 | $(if $(OPIEDIR),rm -f $(OPIEDIR)/bin/$@) | 32 | $(if $(OPIEDIR),rm -f $(OPIEDIR)/bin/$@) |
33 | $(if $(OPIEDIR),ln -s ../qmake/$@ $(OPIEDIR)/bin/$@) | 33 | $(if $(OPIEDIR),ln -s ../qmake/$@ $(OPIEDIR)/bin/$@) |
34 | 34 | ||
35 | install: qmake | 35 | install: qmake |
36 | [ -d $(INSTALL_ROOT)$(QTDIR)/bin ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)/bin | 36 | [ -d $(INSTALL_ROOT)$(QTDIR)/bin ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)/bin |
37 | -cp -f $(QTDIR)/bin/qmake $(INSTALL_ROOT)$(QTDIR)/bin | 37 | -cp -f $(QTDIR)/bin/qmake $(INSTALL_ROOT)$(QTDIR)/bin |
38 | [ -d $(INSTALL_ROOT)$(QTDIR) ] || mkdir -p $(INSTALL_ROOT)$(QTDIR) | 38 | [ -d $(INSTALL_ROOT)$(QTDIR) ] || mkdir -p $(INSTALL_ROOT)$(QTDIR) |
39 | -cp -r -f $(QMAKESPECDIR) $(INSTALL_ROOT)$(QTDIR) | 39 | -cp -r -f $(QMAKESPECDIR) $(INSTALL_ROOT)$(QTDIR) |
40 | 40 | ||
41 | clean:: | 41 | clean:: |
42 | rm -f $(OBJS) $(QOBJS) | 42 | rm -f $(OBJS) $(QOBJS) |
43 | 43 | ||
44 | distclean:: clean | 44 | distclean:: clean |
45 | rm -rf qmake .deps | 45 | rm -rf qmake .deps |
46 | 46 | ||
47 | # don't use optimization for these | 47 | # don't use optimization for these |
48 | qtextstream.o: $(TOPDIR)/tools/qtextstream.cpp | 48 | qtextstream.o: $(TOPDIR)/tools/qtextstream.cpp |
49 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qtextstream.cpp | 49 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qtextstream.cpp |
50 | 50 | ||
51 | qiodevice.o: $(TOPDIR)/tools/qiodevice.cpp | 51 | qiodevice.o: $(TOPDIR)/tools/qiodevice.cpp |
52 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qiodevice.cpp | 52 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qiodevice.cpp |
53 | 53 | ||
54 | qglobal.o: $(TOPDIR)/tools/qglobal.cpp | 54 | qglobal.o: $(TOPDIR)/tools/qglobal.cpp |
55 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qglobal.cpp | 55 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qglobal.cpp |
56 | 56 | ||
57 | qgdict.o: $(TOPDIR)/tools/qgdict.cpp | 57 | qgdict.o: $(TOPDIR)/tools/qgdict.cpp |
58 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgdict.cpp | 58 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgdict.cpp |
59 | 59 | ||
60 | qcstring.o: $(TOPDIR)/tools/qcstring.cpp | 60 | qcstring.o: $(TOPDIR)/tools/qcstring.cpp |
61 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qcstring.cpp | 61 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qcstring.cpp |
62 | 62 | ||
63 | qstring.o: $(TOPDIR)/tools/qstring.cpp | 63 | qstring.o: $(TOPDIR)/tools/qstring.cpp |
64 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qstring.cpp | 64 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qstring.cpp |
65 | 65 | ||
66 | qdatastream.o: $(TOPDIR)/tools/qdatastream.cpp | 66 | qdatastream.o: $(TOPDIR)/tools/qdatastream.cpp |
67 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdatastream.cpp | 67 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdatastream.cpp |
68 | 68 | ||
69 | qgarray.o: $(TOPDIR)/tools/qgarray.cpp | 69 | qgarray.o: $(TOPDIR)/tools/qgarray.cpp |
70 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgarray.cpp | 70 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgarray.cpp |
71 | 71 | ||
72 | qbuffer.o: $(TOPDIR)/tools/qbuffer.cpp | 72 | qbuffer.o: $(TOPDIR)/tools/qbuffer.cpp |
73 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qbuffer.cpp | 73 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qbuffer.cpp |
74 | 74 | ||