-rw-r--r-- | qmake/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/Makefile b/qmake/Makefile index 86dd77d..90b0f07 100644 --- a/qmake/Makefile +++ b/qmake/Makefile | |||
@@ -1,172 +1,172 @@ | |||
1 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 1 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
2 | 2 | ||
3 | ######################################################################## | 3 | ######################################################################## |
4 | ## This file was autogenerated by configure, all changes will be lost ## | 4 | ## This file was autogenerated by configure, all changes will be lost ## |
5 | ######################################################################## | 5 | ######################################################################## |
6 | CC = gcc | 6 | CC = gcc |
7 | CXX = g++ | 7 | CXX = g++ |
8 | 8 | ||
9 | #qmake code | 9 | #qmake code |
10 | OBJS=project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o \ | 10 | OBJS=project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o \ |
11 | msvc_nmake.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o \ | 11 | msvc_nmake.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o \ |
12 | projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o | 12 | projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o |
13 | 13 | ||
14 | #qt code | 14 | #qt code |
15 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ | 15 | 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 \ | 16 | 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 \ | 17 | qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o \ |
18 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ | 18 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ |
19 | qconfig.o | 19 | qconfig.o |
20 | 20 | ||
21 | CFLAGS= \ | 21 | CFLAGS= \ |
22 | -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ | 22 | -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ |
23 | -I$(OPIEDIR)/qmake/include -I$(OPIEDIR)/qmake/include/qmake -I$(QMAKESPECSDIR)/default \ | 23 | -I$(OPIEDIR)/qmake/include -I$(OPIEDIR)/qmake/include/qmake -I$(QMAKESPECSDIR)/default \ |
24 | -I$(OPIEDIR)/qmake/include/private \ | 24 | -I$(OPIEDIR)/qmake/include/private \ |
25 | -DQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I$(QMAKESPECSDIR)/qws/linux-x86-g++ | 25 | -DQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS |
26 | CXXFLAGS= $(CFLAGS) | 26 | CXXFLAGS= $(CFLAGS) |
27 | LFLAGS= | 27 | LFLAGS= |
28 | 28 | ||
29 | qmake: $(OBJS) $(QOBJS) | 29 | qmake: $(OBJS) $(QOBJS) |
30 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) | 30 | $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS) |
31 | $(if $(OPIEDIR),rm -f $(OPIEDIR)/bin/$@) | 31 | $(if $(OPIEDIR),rm -f $(OPIEDIR)/bin/$@) |
32 | $(if $(OPIEDIR),ln -s ../qmake/$@ $(OPIEDIR)/bin/$@) | 32 | $(if $(OPIEDIR),ln -s ../qmake/$@ $(OPIEDIR)/bin/$@) |
33 | 33 | ||
34 | install: qmake | 34 | install: qmake |
35 | [ -d $(INSTALL_ROOT)$(QTDIR)/bin ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)/bin | 35 | [ -d $(INSTALL_ROOT)$(QTDIR)/bin ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)/bin |
36 | -cp -f $(QTDIR)/bin/qmake $(INSTALL_ROOT)$(QTDIR)/bin | 36 | -cp -f $(QTDIR)/bin/qmake $(INSTALL_ROOT)$(QTDIR)/bin |
37 | [ -d $(INSTALL_ROOT)$(QTDIR) ] || mkdir -p $(INSTALL_ROOT)$(QTDIR) | 37 | [ -d $(INSTALL_ROOT)$(QTDIR) ] || mkdir -p $(INSTALL_ROOT)$(QTDIR) |
38 | -cp -r -f $(QMAKESPECSDIR) $(INSTALL_ROOT)$(QTDIR) | 38 | -cp -r -f $(QMAKESPECSDIR) $(INSTALL_ROOT)$(QTDIR) |
39 | 39 | ||
40 | clean:: | 40 | clean:: |
41 | rm -f $(OBJS) $(QOBJS) | 41 | rm -f $(OBJS) $(QOBJS) |
42 | 42 | ||
43 | distclean:: clean | 43 | distclean:: clean |
44 | rm -rf qmake .deps | 44 | rm -rf qmake .deps |
45 | 45 | ||
46 | # don't use optimization for these | 46 | # don't use optimization for these |
47 | qtextstream.o: $(OPIEDIR)/qmake/tools/qtextstream.cpp | 47 | qtextstream.o: $(OPIEDIR)/qmake/tools/qtextstream.cpp |
48 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qtextstream.cpp | 48 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qtextstream.cpp |
49 | 49 | ||
50 | qiodevice.o: $(OPIEDIR)/qmake/tools/qiodevice.cpp | 50 | qiodevice.o: $(OPIEDIR)/qmake/tools/qiodevice.cpp |
51 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qiodevice.cpp | 51 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qiodevice.cpp |
52 | 52 | ||
53 | qglobal.o: $(OPIEDIR)/qmake/tools/qglobal.cpp | 53 | qglobal.o: $(OPIEDIR)/qmake/tools/qglobal.cpp |
54 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglobal.cpp | 54 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglobal.cpp |
55 | 55 | ||
56 | qgdict.o: $(OPIEDIR)/qmake/tools/qgdict.cpp | 56 | qgdict.o: $(OPIEDIR)/qmake/tools/qgdict.cpp |
57 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgdict.cpp | 57 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgdict.cpp |
58 | 58 | ||
59 | qcstring.o: $(OPIEDIR)/qmake/tools/qcstring.cpp | 59 | qcstring.o: $(OPIEDIR)/qmake/tools/qcstring.cpp |
60 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qcstring.cpp | 60 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qcstring.cpp |
61 | 61 | ||
62 | qstring.o: $(OPIEDIR)/qmake/tools/qstring.cpp | 62 | qstring.o: $(OPIEDIR)/qmake/tools/qstring.cpp |
63 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstring.cpp | 63 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstring.cpp |
64 | 64 | ||
65 | qdatastream.o: $(OPIEDIR)/qmake/tools/qdatastream.cpp | 65 | qdatastream.o: $(OPIEDIR)/qmake/tools/qdatastream.cpp |
66 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatastream.cpp | 66 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatastream.cpp |
67 | 67 | ||
68 | qgarray.o: $(OPIEDIR)/qmake/tools/qgarray.cpp | 68 | qgarray.o: $(OPIEDIR)/qmake/tools/qgarray.cpp |
69 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgarray.cpp | 69 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgarray.cpp |
70 | 70 | ||
71 | qbuffer.o: $(OPIEDIR)/qmake/tools/qbuffer.cpp | 71 | qbuffer.o: $(OPIEDIR)/qmake/tools/qbuffer.cpp |
72 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbuffer.cpp | 72 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbuffer.cpp |
73 | 73 | ||
74 | qglist.o: $(OPIEDIR)/qmake/tools/qglist.cpp | 74 | qglist.o: $(OPIEDIR)/qmake/tools/qglist.cpp |
75 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglist.cpp | 75 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qglist.cpp |
76 | 76 | ||
77 | qptrcollection.o: $(OPIEDIR)/qmake/tools/qptrcollection.cpp | 77 | qptrcollection.o: $(OPIEDIR)/qmake/tools/qptrcollection.cpp |
78 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qptrcollection.cpp | 78 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qptrcollection.cpp |
79 | 79 | ||
80 | qfile.o: $(OPIEDIR)/qmake/tools/qfile.cpp | 80 | qfile.o: $(OPIEDIR)/qmake/tools/qfile.cpp |
81 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile.cpp | 81 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile.cpp |
82 | 82 | ||
83 | qfile_unix.o: $(OPIEDIR)/qmake/tools/qfile_unix.cpp | 83 | qfile_unix.o: $(OPIEDIR)/qmake/tools/qfile_unix.cpp |
84 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile_unix.cpp | 84 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfile_unix.cpp |
85 | 85 | ||
86 | qregexp.o: $(OPIEDIR)/qmake/tools/qregexp.cpp | 86 | qregexp.o: $(OPIEDIR)/qmake/tools/qregexp.cpp |
87 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qregexp.cpp | 87 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qregexp.cpp |
88 | 88 | ||
89 | qgvector.o: $(OPIEDIR)/qmake/tools/qgvector.cpp | 89 | qgvector.o: $(OPIEDIR)/qmake/tools/qgvector.cpp |
90 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgvector.cpp | 90 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgvector.cpp |
91 | 91 | ||
92 | qgcache.o: $(OPIEDIR)/qmake/tools/qgcache.cpp | 92 | qgcache.o: $(OPIEDIR)/qmake/tools/qgcache.cpp |
93 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgcache.cpp | 93 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qgcache.cpp |
94 | 94 | ||
95 | qbitarray.o: $(OPIEDIR)/qmake/tools/qbitarray.cpp | 95 | qbitarray.o: $(OPIEDIR)/qmake/tools/qbitarray.cpp |
96 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbitarray.cpp | 96 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qbitarray.cpp |
97 | 97 | ||
98 | qdir.o: $(OPIEDIR)/qmake/tools/qdir.cpp | 98 | qdir.o: $(OPIEDIR)/qmake/tools/qdir.cpp |
99 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir.cpp | 99 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir.cpp |
100 | 100 | ||
101 | qfileinfo_unix.o: $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp | 101 | qfileinfo_unix.o: $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp |
102 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp | 102 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo_unix.cpp |
103 | 103 | ||
104 | qdir_unix.o: $(OPIEDIR)/qmake/tools/qdir_unix.cpp | 104 | qdir_unix.o: $(OPIEDIR)/qmake/tools/qdir_unix.cpp |
105 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir_unix.cpp | 105 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdir_unix.cpp |
106 | 106 | ||
107 | qfileinfo.o: $(OPIEDIR)/qmake/tools/qfileinfo.cpp | 107 | qfileinfo.o: $(OPIEDIR)/qmake/tools/qfileinfo.cpp |
108 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo.cpp | 108 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qfileinfo.cpp |
109 | 109 | ||
110 | qdatetime.o: $(OPIEDIR)/qmake/tools/qdatetime.cpp | 110 | qdatetime.o: $(OPIEDIR)/qmake/tools/qdatetime.cpp |
111 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatetime.cpp | 111 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qdatetime.cpp |
112 | 112 | ||
113 | qstringlist.o: $(OPIEDIR)/qmake/tools/qstringlist.cpp | 113 | qstringlist.o: $(OPIEDIR)/qmake/tools/qstringlist.cpp |
114 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstringlist.cpp | 114 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qstringlist.cpp |
115 | 115 | ||
116 | qmap.o: $(OPIEDIR)/qmake/tools/qmap.cpp | 116 | qmap.o: $(OPIEDIR)/qmake/tools/qmap.cpp |
117 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qmap.cpp | 117 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qmap.cpp |
118 | 118 | ||
119 | qconfig.o: $(OPIEDIR)/qmake/tools/qconfig.cpp | 119 | qconfig.o: $(OPIEDIR)/qmake/tools/qconfig.cpp |
120 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qconfig.cpp | 120 | $(CXX) -c -o $@ $(CXXFLAGS) $(OPIEDIR)/qmake/tools/qconfig.cpp |
121 | 121 | ||
122 | winmakefile.o: generators/win32/winmakefile.cpp | 122 | winmakefile.o: generators/win32/winmakefile.cpp |
123 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/winmakefile.cpp | 123 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/winmakefile.cpp |
124 | 124 | ||
125 | project.o: project.cpp project.h option.h | 125 | project.o: project.cpp project.h option.h |
126 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp | 126 | $(CXX) -c -o $@ $(CXXFLAGS) project.cpp |
127 | 127 | ||
128 | main.o: main.cpp project.h | 128 | main.o: main.cpp project.h |
129 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp | 129 | $(CXX) -c -o $@ $(CXXFLAGS) main.cpp |
130 | 130 | ||
131 | option.o: option.cpp option.h | 131 | option.o: option.cpp option.h |
132 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp | 132 | $(CXX) -c -o $@ $(CXXFLAGS) option.cpp |
133 | 133 | ||
134 | makefile.o: generators/makefile.cpp | 134 | makefile.o: generators/makefile.cpp |
135 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp | 135 | $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp |
136 | 136 | ||
137 | unixmake.o: generators/unix/unixmake.cpp | 137 | unixmake.o: generators/unix/unixmake.cpp |
138 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake.cpp | 138 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake.cpp |
139 | 139 | ||
140 | unixmake2.o: generators/unix/unixmake2.cpp | 140 | unixmake2.o: generators/unix/unixmake2.cpp |
141 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake2.cpp | 141 | $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake2.cpp |
142 | 142 | ||
143 | borland_bmake.o: generators/win32/borland_bmake.cpp | 143 | borland_bmake.o: generators/win32/borland_bmake.cpp |
144 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/borland_bmake.cpp | 144 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/borland_bmake.cpp |
145 | 145 | ||
146 | msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp | 146 | msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp |
147 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp | 147 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp |
148 | 148 | ||
149 | msvc_vcproj.o: generators/win32/msvc_vcproj.cpp | 149 | msvc_vcproj.o: generators/win32/msvc_vcproj.cpp |
150 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_vcproj.cpp | 150 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_vcproj.cpp |
151 | 151 | ||
152 | msvc_nmake.o: generators/win32/msvc_nmake.cpp | 152 | msvc_nmake.o: generators/win32/msvc_nmake.cpp |
153 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_nmake.cpp | 153 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_nmake.cpp |
154 | 154 | ||
155 | metrowerks_xml.o: generators/mac/metrowerks_xml.cpp | 155 | metrowerks_xml.o: generators/mac/metrowerks_xml.cpp |
156 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/metrowerks_xml.cpp | 156 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/metrowerks_xml.cpp |
157 | 157 | ||
158 | pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp | 158 | pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp |
159 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp | 159 | $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp |
160 | 160 | ||
161 | msvc_dsp.o: generators/win32/msvc_dsp.cpp | 161 | msvc_dsp.o: generators/win32/msvc_dsp.cpp |
162 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp | 162 | $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp |
163 | 163 | ||
164 | projectgenerator.o: generators/projectgenerator.cpp | 164 | projectgenerator.o: generators/projectgenerator.cpp |
165 | $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp | 165 | $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp |
166 | 166 | ||
167 | #default rules | 167 | #default rules |
168 | .c.o: | 168 | .c.o: |
169 | $(CC) -c -o $@ $(CFLAGS) $< | 169 | $(CC) -c -o $@ $(CFLAGS) $< |
170 | 170 | ||
171 | .cpp.o: | 171 | .cpp.o: |
172 | $(CXX) -c -o $@ $(CXXFLAGS) $< | 172 | $(CXX) -c -o $@ $(CXXFLAGS) $< |