summaryrefslogtreecommitdiffstats
path: root/qmake/Makefile.win32-g++
blob: d700023b118a9c3e561dfa17d5a2326d94fed1a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
#
# specific stuff for mingw g++ make
#
CXX	    =	g++
CFLAGS	    =	-c -o$@ -O \
		-I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -I..\include -I..\src\tools \
		-I..\mkspecs\win32-g++ \
		-DUNICODE -DTQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NODLL -DTQT_NO_STL -DTQT_NO_COMPRESS
CXXFLAGS    =   $(CFLAGS)
LFLAGS	    =	
LIBS	    = -lole32 -luuid 
LINKQMAKE   =	g++ $(LFLAGS) -o tqmake.exe $(OBJS) $(QTOBJS) $(LIBS)
ADDCLEAN    =	


#tqmake code
OBJS=project.o main.o makefile.o unixmake.o unixmake2.o borland_bmake.o mingw_make.o \
	msvc_nmake.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o projectgenerator.o \
 	metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o property.o meta.o qtmd5.o

#qt code
QTOBJS=tqstring.o quuid.o tqtextstream.o tqiodevice.o qglobal.o qgdict.o tqcstring.o tqdatastream.o \
 	qgarray.o tqbuffer.o qglist.o tqptrcollection.o tqfile.o tqfile_win.o tqregexp.o qgvector.o \
 	qgcache.o tqbitarray.o tqdir.o tqfileinfo_win.o tqdir_win.o tqfileinfo.o tqdatetime.o \
 	tqstringlist.o tqmap.o qlibrary.o qlibrary_win.o qconfig.o tqsettings.o tqsettings_win.o qunicodetables.o \
	qlocale.o



tqmake.exe: $(OBJS) $(QTOBJS)
	$(LINKQMAKE)
	-copy tqmake.exe ..\bin\tqmake.exe

clean::
	-del $(OBJS) $(QTOBJS) $(ADDCLEAN)

distclean:: clean
	-del tqmake

.c.o:
	$(CXX) $(CFLAGS) $<

.cpp.o:
	$(CXX) $(CXXFLAGS) $<

qconfig.o: ..\src\tools\qconfig.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qconfig.cpp

qlibrary.o: ..\src\tools\qlibrary.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qlibrary.cpp

qlibrary_win.o: ..\src\tools\qlibrary_win.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qlibrary_win.cpp

tqtextstream.o: ..\src\tools\tqtextstream.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqtextstream.cpp

tqiodevice.o: ..\src\tools\tqiodevice.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqiodevice.cpp

qglobal.o: ..\src\tools\qglobal.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qglobal.cpp

qgdict.o: ..\src\tools\qgdict.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qgdict.cpp

tqcstring.o: ..\src\tools\tqcstring.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqcstring.cpp

tqstring.o: ..\src\tools\tqstring.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqstring.cpp

qlocale.o: ..\src\tools\qlocale.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qlocale.cpp

quuid.o: ..\src\tools\quuid.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\quuid.cpp

tqdatastream.o: ..\src\tools\tqdatastream.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqdatastream.cpp

qgarray.o: ..\src\tools\qgarray.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qgarray.cpp

tqbuffer.o: ..\src\tools\tqbuffer.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqbuffer.cpp

qglist.o: ..\src\tools\qglist.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qglist.cpp

tqptrcollection.o: ..\src\tools\tqptrcollection.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqptrcollection.cpp

tqfile.o: ..\src\tools\tqfile.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqfile.cpp

tqfile_win.o: ..\src\tools\tqfile_win.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqfile_win.cpp

tqtextcodec.o: ..\src\codecs\tqtextcodec.cpp
	$(CXX) $(CXXFLAGS) ..\src\codecs\tqtextcodec.cpp

tqregexp.o: ..\src\tools\tqregexp.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqregexp.cpp

qgvector.o: ..\src\tools\qgvector.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qgvector.cpp

qgcache.o: ..\src\tools\qgcache.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qgcache.cpp

tqbitarray.o: ..\src\tools\tqbitarray.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqbitarray.cpp

tqdir.o: ..\src\tools\tqdir.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqdir.cpp

tqsettings.o: ..\src\tools\tqsettings.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqsettings.cpp

tqsettings_win.o: ..\src\tools\tqsettings_win.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqsettings_win.cpp

tqfileinfo_win.o: ..\src\tools\tqfileinfo_win.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqfileinfo_win.cpp

tqdir_win.o: ..\src\tools\tqdir_win.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqdir_win.cpp

tqfileinfo.o: ..\src\tools\tqfileinfo.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqfileinfo.cpp

tqdatetime.o: ..\src\tools\tqdatetime.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqdatetime.cpp

tqstringlist.o: ..\src\tools\tqstringlist.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqstringlist.cpp

tqmap.o: ..\src\tools\tqmap.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\tqmap.cpp

qunicodetables.o: ..\src\tools\qunicodetables.cpp
	$(CXX) $(CXXFLAGS) ..\src\tools\qunicodetables.cpp

makefile.o: generators\makefile.cpp
	$(CXX) $(CXXFLAGS) generators\makefile.cpp

unixmake.o: generators\unix\unixmake.cpp
	$(CXX) $(CXXFLAGS) generators\unix\unixmake.cpp

unixmake2.o: generators\unix\unixmake2.cpp
	$(CXX) $(CXXFLAGS) generators\unix\unixmake2.cpp

winmakefile.o: generators/win32/winmakefile.cpp
	$(CXX) $(CXXFLAGS) generators/win32/winmakefile.cpp

borland_bmake.o: generators/win32/borland_bmake.cpp
	$(CXX) $(CXXFLAGS) generators/win32/borland_bmake.cpp

mingw_make.o: generators/win32/mingw_make.cpp
	$(CXX) $(CXXFLAGS) generators/win32/mingw_make.cpp

msvc_nmake.o: generators/win32/msvc_nmake.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_nmake.cpp

msvc_dsp.o: generators/win32/msvc_dsp.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_dsp.cpp

msvc_vcproj.o: generators/win32/msvc_vcproj.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcproj.cpp

msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp

qtmd5.o: qtmd5.cpp
	$(CXX) $(CXXFLAGS) qtmd5.cpp

project.o: project.cpp project.h option.h
	$(CXX) $(CXXFLAGS) project.cpp

meta.o: meta.cpp project.h option.h
	$(CXX) $(CXXFLAGS) meta.cpp

property.o: property.cpp property.h option.h
	$(CXX) $(CXXFLAGS) property.cpp
	
main.o: main.cpp project.h
	$(CXX) $(CXXFLAGS) main.cpp

option.o: option.cpp option.h
	$(CXX) $(CXXFLAGS) option.cpp

projectgenerator.o: generators/projectgenerator.cpp
	$(CXX) $(CXXFLAGS) generators/projectgenerator.cpp

metrowerks_xml.o: generators/mac/metrowerks_xml.cpp
	$(CXX) $(CXXFLAGS) generators/mac/metrowerks_xml.cpp

pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp
	$(CXX) $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp