-rw-r--r-- | qmake/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/Makefile b/qmake/Makefile index 7ad05d9..faaeafe 100644 --- a/qmake/Makefile +++ b/qmake/Makefile | |||
@@ -1,173 +1,173 @@ | |||
1 | TOPDIR=$(shell pwd) | 1 | TOPDIR=$(shell pwd) |
2 | QMAKESPECSDIR=$(OPIEDIR) | 2 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
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$(QMAKESPECSDIR)/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 | ||
75 | qglist.o: $(TOPDIR)/tools/qglist.cpp | 75 | qglist.o: $(TOPDIR)/tools/qglist.cpp |
76 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qglist.cpp | 76 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qglist.cpp |
77 | 77 | ||
78 | qptrcollection.o: $(TOPDIR)/tools/qptrcollection.cpp | 78 | qptrcollection.o: $(TOPDIR)/tools/qptrcollection.cpp |
79 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qptrcollection.cpp | 79 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qptrcollection.cpp |
80 | 80 | ||
81 | qfile.o: $(TOPDIR)/tools/qfile.cpp | 81 | qfile.o: $(TOPDIR)/tools/qfile.cpp |
82 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfile.cpp | 82 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfile.cpp |
83 | 83 | ||
84 | qfile_unix.o: $(TOPDIR)/tools/qfile_unix.cpp | 84 | qfile_unix.o: $(TOPDIR)/tools/qfile_unix.cpp |
85 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfile_unix.cpp | 85 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfile_unix.cpp |
86 | 86 | ||
87 | qregexp.o: $(TOPDIR)/tools/qregexp.cpp | 87 | qregexp.o: $(TOPDIR)/tools/qregexp.cpp |
88 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qregexp.cpp | 88 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qregexp.cpp |
89 | 89 | ||
90 | qgvector.o: $(TOPDIR)/tools/qgvector.cpp | 90 | qgvector.o: $(TOPDIR)/tools/qgvector.cpp |
91 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgvector.cpp | 91 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgvector.cpp |
92 | 92 | ||
93 | qgcache.o: $(TOPDIR)/tools/qgcache.cpp | 93 | qgcache.o: $(TOPDIR)/tools/qgcache.cpp |
94 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgcache.cpp | 94 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgcache.cpp |
95 | 95 | ||
96 | qbitarray.o: $(TOPDIR)/tools/qbitarray.cpp | 96 | qbitarray.o: $(TOPDIR)/tools/qbitarray.cpp |
97 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qbitarray.cpp | 97 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qbitarray.cpp |
98 | 98 | ||
99 | qdir.o: $(TOPDIR)/tools/qdir.cpp | 99 | qdir.o: $(TOPDIR)/tools/qdir.cpp |
100 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdir.cpp | 100 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdir.cpp |
101 | 101 | ||
102 | qfileinfo_unix.o: $(TOPDIR)/tools/qfileinfo_unix.cpp | 102 | qfileinfo_unix.o: $(TOPDIR)/tools/qfileinfo_unix.cpp |
103 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfileinfo_unix.cpp | 103 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfileinfo_unix.cpp |
104 | 104 | ||
105 | qdir_unix.o: $(TOPDIR)/tools/qdir_unix.cpp | 105 | qdir_unix.o: $(TOPDIR)/tools/qdir_unix.cpp |
106 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdir_unix.cpp | 106 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdir_unix.cpp |
107 | 107 | ||
108 | qfileinfo.o: $(TOPDIR)/tools/qfileinfo.cpp | 108 | qfileinfo.o: $(TOPDIR)/tools/qfileinfo.cpp |
109 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfileinfo.cpp | 109 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfileinfo.cpp |
110 | 110 | ||
111 | qdatetime.o: $(TOPDIR)/tools/qdatetime.cpp | 111 | qdatetime.o: $(TOPDIR)/tools/qdatetime.cpp |
112 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdatetime.cpp | 112 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdatetime.cpp |
113 | 113 | ||
114 | qstringlist.o: $(TOPDIR)/tools/qstringlist.cpp | 114 | qstringlist.o: $(TOPDIR)/tools/qstringlist.cpp |
115 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qstringlist.cpp | 115 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qstringlist.cpp |
116 | 116 | ||
117 | qmap.o: $(TOPDIR)/tools/qmap.cpp | 117 | qmap.o: $(TOPDIR)/tools/qmap.cpp |
118 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qmap.cpp | 118 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qmap.cpp |
119 | 119 | ||
120 | qconfig.o: $(TOPDIR)/tools/qconfig.cpp | 120 | qconfig.o: $(TOPDIR)/tools/qconfig.cpp |
121 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qconfig.cpp | 121 | $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qconfig.cpp |
122 | 122 | ||
123 | winmakefile.o: generators/win32/winmakefile.cpp | 123 | winmakefile.o: generators/win32/winmakefile.cpp |
124 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/winmakefile.cpp | 124 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/winmakefile.cpp |
125 | 125 | ||
126 | project.o: project.cpp project.h option.h | 126 | project.o: project.cpp project.h option.h |
127 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp | 127 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp |
128 | 128 | ||
129 | main.o: main.cpp project.h | 129 | main.o: main.cpp project.h |
130 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp | 130 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp |
131 | 131 | ||
132 | option.o: option.cpp option.h | 132 | option.o: option.cpp option.h |
133 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp | 133 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp |
134 | 134 | ||
135 | makefile.o: generators/makefile.cpp | 135 | makefile.o: generators/makefile.cpp |
136 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp | 136 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp |
137 | 137 | ||
138 | unixmake.o: generators/unix/unixmake.cpp | 138 | unixmake.o: generators/unix/unixmake.cpp |
139 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake.cpp | 139 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake.cpp |
140 | 140 | ||
141 | unixmake2.o: generators/unix/unixmake2.cpp | 141 | unixmake2.o: generators/unix/unixmake2.cpp |
142 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake2.cpp | 142 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake2.cpp |
143 | 143 | ||
144 | borland_bmake.o: generators/win32/borland_bmake.cpp | 144 | borland_bmake.o: generators/win32/borland_bmake.cpp |
145 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/borland_bmake.cpp | 145 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/borland_bmake.cpp |
146 | 146 | ||
147 | msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp | 147 | msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp |
148 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp | 148 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp |
149 | 149 | ||
150 | msvc_vcproj.o: generators/win32/msvc_vcproj.cpp | 150 | msvc_vcproj.o: generators/win32/msvc_vcproj.cpp |
151 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_vcproj.cpp | 151 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_vcproj.cpp |
152 | 152 | ||
153 | msvc_nmake.o: generators/win32/msvc_nmake.cpp | 153 | msvc_nmake.o: generators/win32/msvc_nmake.cpp |
154 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_nmake.cpp | 154 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_nmake.cpp |
155 | 155 | ||
156 | metrowerks_xml.o: generators/mac/metrowerks_xml.cpp | 156 | metrowerks_xml.o: generators/mac/metrowerks_xml.cpp |
157 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/metrowerks_xml.cpp | 157 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/metrowerks_xml.cpp |
158 | 158 | ||
159 | pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp | 159 | pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp |
160 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp | 160 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp |
161 | 161 | ||
162 | msvc_dsp.o: generators/win32/msvc_dsp.cpp | 162 | msvc_dsp.o: generators/win32/msvc_dsp.cpp |
163 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp | 163 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp |
164 | 164 | ||
165 | projectgenerator.o: generators/projectgenerator.cpp | 165 | projectgenerator.o: generators/projectgenerator.cpp |
166 | $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp | 166 | $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp |
167 | 167 | ||
168 | #default rules | 168 | #default rules |
169 | .c.o: | 169 | .c.o: |
170 | $(CC) -c -o $@ $(CFLAGS) $< | 170 | $(CC) -c -o $@ $(CFLAGS) $< |
171 | 171 | ||
172 | .cpp.o: | 172 | .cpp.o: |
173 | $(CXX) -c -o $@ $(CXXFLAGS) $< | 173 | $(CXX) -c -o $@ $(CXXFLAGS) $< |