]>
Commit | Line | Data |
---|---|---|
2621ddf3 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
a90d7e68 | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
2621ddf3 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | include ../../../build/msw/config.gcc |
2621ddf3 VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
3f55f5b8 VS |
15 | LIBDIRNAME = \ |
16 | ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
17 | OBJS = \ | |
18 | gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
19 | XRCDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ | |
20 | -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
21 | $(__UNICODE_DEFINE_p) -I..\..\src\xrc\..\..\..\include -I$(LIBDIRNAME) \ | |
22 | -I..\..\src\xrc\..\..\..\src\tiff -I..\..\src\xrc\..\..\..\src\jpeg \ | |
23 | -I..\..\src\xrc\..\..\..\src\png -I..\..\src\xrc\..\..\..\src\zlib \ | |
24 | -I..\..\src\xrc\..\..\..\src\regex -I..\..\src\xrc\..\..\..\src\expat\lib \ | |
25 | -I..\..\src\xrc\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_XRC $(CXXFLAGS) | |
26 | XRCDLL_OBJECTS = \ | |
27 | $(OBJS)\xrcdll_dummy.o \ | |
28 | $(OBJS)\xrcdll_xmlres.o \ | |
29 | $(OBJS)\xrcdll_xh_bmp.o \ | |
30 | $(OBJS)\xrcdll_xh_bmpbt.o \ | |
31 | $(OBJS)\xrcdll_xh_bttn.o \ | |
32 | $(OBJS)\xrcdll_xh_cald.o \ | |
33 | $(OBJS)\xrcdll_xh_chckb.o \ | |
34 | $(OBJS)\xrcdll_xh_chckl.o \ | |
35 | $(OBJS)\xrcdll_xh_choic.o \ | |
36 | $(OBJS)\xrcdll_xh_combo.o \ | |
37 | $(OBJS)\xrcdll_xh_dlg.o \ | |
38 | $(OBJS)\xrcdll_xh_frame.o \ | |
39 | $(OBJS)\xrcdll_xh_gauge.o \ | |
40 | $(OBJS)\xrcdll_xh_gdctl.o \ | |
41 | $(OBJS)\xrcdll_xh_html.o \ | |
42 | $(OBJS)\xrcdll_xh_listb.o \ | |
43 | $(OBJS)\xrcdll_xh_listc.o \ | |
44 | $(OBJS)\xrcdll_xh_menu.o \ | |
45 | $(OBJS)\xrcdll_xh_notbk.o \ | |
46 | $(OBJS)\xrcdll_xh_panel.o \ | |
47 | $(OBJS)\xrcdll_xh_radbt.o \ | |
48 | $(OBJS)\xrcdll_xh_radbx.o \ | |
49 | $(OBJS)\xrcdll_xh_scrol.o \ | |
50 | $(OBJS)\xrcdll_xh_scwin.o \ | |
51 | $(OBJS)\xrcdll_xh_sizer.o \ | |
52 | $(OBJS)\xrcdll_xh_slidr.o \ | |
53 | $(OBJS)\xrcdll_xh_spin.o \ | |
54 | $(OBJS)\xrcdll_xh_split.o \ | |
55 | $(OBJS)\xrcdll_xh_stbmp.o \ | |
56 | $(OBJS)\xrcdll_xh_stbox.o \ | |
57 | $(OBJS)\xrcdll_xh_stlin.o \ | |
58 | $(OBJS)\xrcdll_xh_sttxt.o \ | |
59 | $(OBJS)\xrcdll_xh_text.o \ | |
60 | $(OBJS)\xrcdll_xh_toolb.o \ | |
61 | $(OBJS)\xrcdll_xh_tree.o \ | |
62 | $(OBJS)\xrcdll_xh_unkwn.o \ | |
63 | $(OBJS)\xrcdll_xh_wizrd.o \ | |
64 | $(OBJS)\xrcdll_xmlrsall.o | |
65 | XRCLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \ | |
66 | -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
67 | $(__UNICODE_DEFINE_p) -I..\..\src\xrc\..\..\..\include -I$(LIBDIRNAME) \ | |
68 | -I..\..\src\xrc\..\..\..\src\tiff -I..\..\src\xrc\..\..\..\src\jpeg \ | |
69 | -I..\..\src\xrc\..\..\..\src\png -I..\..\src\xrc\..\..\..\src\zlib \ | |
70 | -I..\..\src\xrc\..\..\..\src\regex -I..\..\src\xrc\..\..\..\src\expat\lib \ | |
71 | -I..\..\src\xrc\..\..\include -I..\..\src\xrc\expat\xmlparse \ | |
72 | -I..\..\src\xrc\expat\xmltok $(CXXFLAGS) | |
73 | XRCLIB_OBJECTS = \ | |
74 | $(OBJS)\xrclib_dummy.o \ | |
75 | $(OBJS)\xrclib_xmlres.o \ | |
76 | $(OBJS)\xrclib_xh_bmp.o \ | |
77 | $(OBJS)\xrclib_xh_bmpbt.o \ | |
78 | $(OBJS)\xrclib_xh_bttn.o \ | |
79 | $(OBJS)\xrclib_xh_cald.o \ | |
80 | $(OBJS)\xrclib_xh_chckb.o \ | |
81 | $(OBJS)\xrclib_xh_chckl.o \ | |
82 | $(OBJS)\xrclib_xh_choic.o \ | |
83 | $(OBJS)\xrclib_xh_combo.o \ | |
84 | $(OBJS)\xrclib_xh_dlg.o \ | |
85 | $(OBJS)\xrclib_xh_frame.o \ | |
86 | $(OBJS)\xrclib_xh_gauge.o \ | |
87 | $(OBJS)\xrclib_xh_gdctl.o \ | |
88 | $(OBJS)\xrclib_xh_html.o \ | |
89 | $(OBJS)\xrclib_xh_listb.o \ | |
90 | $(OBJS)\xrclib_xh_listc.o \ | |
91 | $(OBJS)\xrclib_xh_menu.o \ | |
92 | $(OBJS)\xrclib_xh_notbk.o \ | |
93 | $(OBJS)\xrclib_xh_panel.o \ | |
94 | $(OBJS)\xrclib_xh_radbt.o \ | |
95 | $(OBJS)\xrclib_xh_radbx.o \ | |
96 | $(OBJS)\xrclib_xh_scrol.o \ | |
97 | $(OBJS)\xrclib_xh_scwin.o \ | |
98 | $(OBJS)\xrclib_xh_sizer.o \ | |
99 | $(OBJS)\xrclib_xh_slidr.o \ | |
100 | $(OBJS)\xrclib_xh_spin.o \ | |
101 | $(OBJS)\xrclib_xh_split.o \ | |
102 | $(OBJS)\xrclib_xh_stbmp.o \ | |
103 | $(OBJS)\xrclib_xh_stbox.o \ | |
104 | $(OBJS)\xrclib_xh_stlin.o \ | |
105 | $(OBJS)\xrclib_xh_sttxt.o \ | |
106 | $(OBJS)\xrclib_xh_text.o \ | |
107 | $(OBJS)\xrclib_xh_toolb.o \ | |
108 | $(OBJS)\xrclib_xh_tree.o \ | |
109 | $(OBJS)\xrclib_xh_unkwn.o \ | |
110 | $(OBJS)\xrclib_xh_wizrd.o \ | |
111 | $(OBJS)\xrclib_xmlrsall.o | |
2621ddf3 VS |
112 | |
113 | ### Conditionally set variables: ### | |
114 | ||
115 | ifeq ($(GCC_VERSION),2.95) | |
116 | GCCFLAGS = -fvtable-thunks | |
117 | endif | |
118 | ifeq ($(USE_GUI),0) | |
119 | PORTNAME = base | |
120 | endif | |
121 | ifeq ($(USE_GUI),1) | |
122 | PORTNAME = msw | |
123 | endif | |
124 | ifeq ($(OFFICIAL_BUILD),0) | |
125 | VENDORTAG = _$(VENDOR) | |
126 | endif | |
127 | ifeq ($(OFFICIAL_BUILD),1) | |
128 | VENDORTAG = | |
129 | endif | |
130 | ifeq ($(BUILD),debug) | |
3f55f5b8 VS |
131 | ifeq ($(DEBUG_FLAG),default) |
132 | WXDEBUGFLAG = d | |
133 | endif | |
134 | endif | |
135 | ifeq ($(DEBUG_FLAG),1) | |
2621ddf3 VS |
136 | WXDEBUGFLAG = d |
137 | endif | |
138 | ifeq ($(SHARED),1) | |
139 | WXDLLFLAG = dll | |
140 | endif | |
141 | ifeq ($(UNICODE),1) | |
142 | WXUNICODEFLAG = u | |
143 | endif | |
144 | ifeq ($(WXUNIV),1) | |
145 | WXUNIVNAME = univ | |
146 | endif | |
147 | ifeq ($(BUILD),debug) | |
3f55f5b8 VS |
148 | ifeq ($(DEBUG_INFO),default) |
149 | __DEBUGINFO = -g | |
150 | endif | |
2621ddf3 VS |
151 | endif |
152 | ifeq ($(BUILD),release) | |
3f55f5b8 VS |
153 | ifeq ($(DEBUG_INFO),default) |
154 | __DEBUGINFO = | |
155 | endif | |
156 | endif | |
157 | ifeq ($(DEBUG_INFO),0) | |
158 | __DEBUGINFO = | |
159 | endif | |
160 | ifeq ($(DEBUG_INFO),1) | |
161 | __DEBUGINFO = -g | |
2621ddf3 VS |
162 | endif |
163 | ifeq ($(BUILD),debug) | |
3f55f5b8 VS |
164 | ifeq ($(DEBUG_FLAG),default) |
165 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
166 | endif | |
167 | endif | |
168 | ifeq ($(DEBUG_FLAG),1) | |
2621ddf3 VS |
169 | __DEBUG_DEFINE_p = -D__WXDEBUG__ |
170 | endif | |
3f55f5b8 VS |
171 | ifeq ($(USE_GUI),1) |
172 | __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) | |
173 | endif | |
174 | ifeq ($(USE_GUI),1) | |
175 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) | |
176 | endif | |
177 | ifeq ($(USE_GUI),1) | |
178 | __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) | |
179 | endif | |
2621ddf3 VS |
180 | ifeq ($(BUILD),debug) |
181 | __OPTIMIZEFLAG = -O0 | |
182 | endif | |
183 | ifeq ($(BUILD),release) | |
184 | __OPTIMIZEFLAG = -O2 | |
185 | endif | |
186 | ifeq ($(UNICODE),1) | |
187 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 | |
188 | endif | |
189 | ifeq ($(MONOLITHIC),0) | |
e2d1c567 VS |
190 | __WXLIB_ADV_p = \ |
191 | -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv | |
192 | endif | |
193 | ifeq ($(MONOLITHIC),0) | |
2621ddf3 VS |
194 | __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG) |
195 | endif | |
196 | ifeq ($(MONOLITHIC),0) | |
3f55f5b8 VS |
197 | __WXLIB_CORE_p = \ |
198 | -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core | |
2621ddf3 VS |
199 | endif |
200 | ifeq ($(MONOLITHIC),0) | |
3f55f5b8 VS |
201 | __WXLIB_HTML_p = \ |
202 | -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html | |
2621ddf3 VS |
203 | endif |
204 | ifeq ($(MONOLITHIC),1) | |
3f55f5b8 VS |
205 | __WXLIB_MONO_p = \ |
206 | -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
2621ddf3 | 207 | endif |
a90d7e68 VS |
208 | ifeq ($(MONOLITHIC),0) |
209 | __WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml | |
210 | endif | |
2621ddf3 VS |
211 | ifeq ($(WXUNIV),1) |
212 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
213 | endif | |
214 | ifeq ($(SHARED),1) | |
3f55f5b8 VS |
215 | __xrcdll___depname = \ |
216 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll | |
2621ddf3 VS |
217 | endif |
218 | ifeq ($(SHARED),0) | |
3f55f5b8 VS |
219 | __xrclib___depname = \ |
220 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a | |
2621ddf3 VS |
221 | endif |
222 | ||
fd9f42b6 VS |
223 | MAKEARGS = BUILD=$(BUILD) CFG=$(CFG) CPPFLAGS=$(CPPFLAGS) CXX=$(CXX) CXXFLAGS=$(CXXFLAGS) DEBUG_FLAG=$(DEBUG_FLAG) DEBUG_INFO=$(DEBUG_INFO) GCC_VERSION=$(GCC_VERSION) LDFLAGS=$(LDFLAGS) MONOLITHIC=$(MONOLITHIC) OFFICIAL_BUILD=$(OFFICIAL_BUILD) SHARED=$(SHARED) UNICODE=$(UNICODE) USE_GUI=$(USE_GUI) VENDOR=$(VENDOR) WXUNIV=$(WXUNIV) |
224 | ||
2621ddf3 VS |
225 | |
226 | all: $(OBJS) | |
227 | $(OBJS): | |
228 | -if not exist $(OBJS) mkdir $(OBJS) | |
229 | ||
230 | ### Targets: ### | |
231 | ||
232 | all: $(__xrcdll___depname) $(__xrclib___depname) | |
233 | ||
234 | $(OBJS)\xrcdll_dummy.o: ../../src/xrc\..\..\..\src\msw\dummy.cpp | |
235 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
236 | ||
237 | $(OBJS)\xrcdll_xh_bmp.o: ../../src/xrc\xh_bmp.cpp | |
238 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
239 | ||
240 | $(OBJS)\xrcdll_xh_bmpbt.o: ../../src/xrc\xh_bmpbt.cpp | |
241 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
242 | ||
243 | $(OBJS)\xrcdll_xh_bttn.o: ../../src/xrc\xh_bttn.cpp | |
244 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
245 | ||
246 | $(OBJS)\xrcdll_xh_cald.o: ../../src/xrc\xh_cald.cpp | |
247 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
248 | ||
249 | $(OBJS)\xrcdll_xh_chckb.o: ../../src/xrc\xh_chckb.cpp | |
250 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
251 | ||
252 | $(OBJS)\xrcdll_xh_chckl.o: ../../src/xrc\xh_chckl.cpp | |
253 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
254 | ||
255 | $(OBJS)\xrcdll_xh_choic.o: ../../src/xrc\xh_choic.cpp | |
256 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
257 | ||
258 | $(OBJS)\xrcdll_xh_combo.o: ../../src/xrc\xh_combo.cpp | |
259 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
260 | ||
261 | $(OBJS)\xrcdll_xh_dlg.o: ../../src/xrc\xh_dlg.cpp | |
262 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
263 | ||
264 | $(OBJS)\xrcdll_xh_frame.o: ../../src/xrc\xh_frame.cpp | |
265 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
266 | ||
267 | $(OBJS)\xrcdll_xh_gauge.o: ../../src/xrc\xh_gauge.cpp | |
268 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
269 | ||
270 | $(OBJS)\xrcdll_xh_gdctl.o: ../../src/xrc\xh_gdctl.cpp | |
271 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
272 | ||
273 | $(OBJS)\xrcdll_xh_html.o: ../../src/xrc\xh_html.cpp | |
274 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
275 | ||
276 | $(OBJS)\xrcdll_xh_listb.o: ../../src/xrc\xh_listb.cpp | |
277 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
278 | ||
279 | $(OBJS)\xrcdll_xh_listc.o: ../../src/xrc\xh_listc.cpp | |
280 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
281 | ||
282 | $(OBJS)\xrcdll_xh_menu.o: ../../src/xrc\xh_menu.cpp | |
283 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
284 | ||
285 | $(OBJS)\xrcdll_xh_notbk.o: ../../src/xrc\xh_notbk.cpp | |
286 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
287 | ||
288 | $(OBJS)\xrcdll_xh_panel.o: ../../src/xrc\xh_panel.cpp | |
289 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
290 | ||
291 | $(OBJS)\xrcdll_xh_radbt.o: ../../src/xrc\xh_radbt.cpp | |
292 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
293 | ||
294 | $(OBJS)\xrcdll_xh_radbx.o: ../../src/xrc\xh_radbx.cpp | |
295 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
296 | ||
297 | $(OBJS)\xrcdll_xh_scrol.o: ../../src/xrc\xh_scrol.cpp | |
298 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
299 | ||
300 | $(OBJS)\xrcdll_xh_scwin.o: ../../src/xrc\xh_scwin.cpp | |
301 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
302 | ||
303 | $(OBJS)\xrcdll_xh_sizer.o: ../../src/xrc\xh_sizer.cpp | |
304 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
305 | ||
306 | $(OBJS)\xrcdll_xh_slidr.o: ../../src/xrc\xh_slidr.cpp | |
307 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
308 | ||
309 | $(OBJS)\xrcdll_xh_spin.o: ../../src/xrc\xh_spin.cpp | |
310 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
311 | ||
312 | $(OBJS)\xrcdll_xh_split.o: ../../src/xrc\xh_split.cpp | |
313 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
314 | ||
315 | $(OBJS)\xrcdll_xh_stbmp.o: ../../src/xrc\xh_stbmp.cpp | |
316 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
317 | ||
318 | $(OBJS)\xrcdll_xh_stbox.o: ../../src/xrc\xh_stbox.cpp | |
319 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
320 | ||
321 | $(OBJS)\xrcdll_xh_stlin.o: ../../src/xrc\xh_stlin.cpp | |
322 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
323 | ||
324 | $(OBJS)\xrcdll_xh_sttxt.o: ../../src/xrc\xh_sttxt.cpp | |
325 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
326 | ||
327 | $(OBJS)\xrcdll_xh_text.o: ../../src/xrc\xh_text.cpp | |
328 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
329 | ||
330 | $(OBJS)\xrcdll_xh_toolb.o: ../../src/xrc\xh_toolb.cpp | |
331 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
332 | ||
333 | $(OBJS)\xrcdll_xh_tree.o: ../../src/xrc\xh_tree.cpp | |
334 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
335 | ||
336 | $(OBJS)\xrcdll_xh_unkwn.o: ../../src/xrc\xh_unkwn.cpp | |
337 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
338 | ||
339 | $(OBJS)\xrcdll_xh_wizrd.o: ../../src/xrc\xh_wizrd.cpp | |
340 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
341 | ||
2621ddf3 VS |
342 | $(OBJS)\xrcdll_xmlres.o: ../../src/xrc\xmlres.cpp |
343 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
344 | ||
2621ddf3 VS |
345 | $(OBJS)\xrcdll_xmlrsall.o: ../../src/xrc\xmlrsall.cpp |
346 | $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $< | |
347 | ||
2621ddf3 VS |
348 | $(OBJS)\xrclib_dummy.o: ../../src/xrc\..\..\..\src\msw\dummy.cpp |
349 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
350 | ||
351 | $(OBJS)\xrclib_xh_bmp.o: ../../src/xrc\xh_bmp.cpp | |
352 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
353 | ||
354 | $(OBJS)\xrclib_xh_bmpbt.o: ../../src/xrc\xh_bmpbt.cpp | |
355 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
356 | ||
357 | $(OBJS)\xrclib_xh_bttn.o: ../../src/xrc\xh_bttn.cpp | |
358 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
359 | ||
360 | $(OBJS)\xrclib_xh_cald.o: ../../src/xrc\xh_cald.cpp | |
361 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
362 | ||
363 | $(OBJS)\xrclib_xh_chckb.o: ../../src/xrc\xh_chckb.cpp | |
364 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
365 | ||
366 | $(OBJS)\xrclib_xh_chckl.o: ../../src/xrc\xh_chckl.cpp | |
367 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
368 | ||
369 | $(OBJS)\xrclib_xh_choic.o: ../../src/xrc\xh_choic.cpp | |
370 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
371 | ||
372 | $(OBJS)\xrclib_xh_combo.o: ../../src/xrc\xh_combo.cpp | |
373 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
374 | ||
375 | $(OBJS)\xrclib_xh_dlg.o: ../../src/xrc\xh_dlg.cpp | |
376 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
377 | ||
378 | $(OBJS)\xrclib_xh_frame.o: ../../src/xrc\xh_frame.cpp | |
379 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
380 | ||
381 | $(OBJS)\xrclib_xh_gauge.o: ../../src/xrc\xh_gauge.cpp | |
382 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
383 | ||
384 | $(OBJS)\xrclib_xh_gdctl.o: ../../src/xrc\xh_gdctl.cpp | |
385 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
386 | ||
387 | $(OBJS)\xrclib_xh_html.o: ../../src/xrc\xh_html.cpp | |
388 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
389 | ||
390 | $(OBJS)\xrclib_xh_listb.o: ../../src/xrc\xh_listb.cpp | |
391 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
392 | ||
393 | $(OBJS)\xrclib_xh_listc.o: ../../src/xrc\xh_listc.cpp | |
394 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
395 | ||
396 | $(OBJS)\xrclib_xh_menu.o: ../../src/xrc\xh_menu.cpp | |
397 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
398 | ||
399 | $(OBJS)\xrclib_xh_notbk.o: ../../src/xrc\xh_notbk.cpp | |
400 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
401 | ||
402 | $(OBJS)\xrclib_xh_panel.o: ../../src/xrc\xh_panel.cpp | |
403 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
404 | ||
405 | $(OBJS)\xrclib_xh_radbt.o: ../../src/xrc\xh_radbt.cpp | |
406 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
407 | ||
408 | $(OBJS)\xrclib_xh_radbx.o: ../../src/xrc\xh_radbx.cpp | |
409 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
410 | ||
411 | $(OBJS)\xrclib_xh_scrol.o: ../../src/xrc\xh_scrol.cpp | |
412 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
413 | ||
414 | $(OBJS)\xrclib_xh_scwin.o: ../../src/xrc\xh_scwin.cpp | |
415 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
416 | ||
417 | $(OBJS)\xrclib_xh_sizer.o: ../../src/xrc\xh_sizer.cpp | |
418 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
419 | ||
420 | $(OBJS)\xrclib_xh_slidr.o: ../../src/xrc\xh_slidr.cpp | |
421 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
422 | ||
423 | $(OBJS)\xrclib_xh_spin.o: ../../src/xrc\xh_spin.cpp | |
424 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
425 | ||
426 | $(OBJS)\xrclib_xh_split.o: ../../src/xrc\xh_split.cpp | |
427 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
428 | ||
429 | $(OBJS)\xrclib_xh_stbmp.o: ../../src/xrc\xh_stbmp.cpp | |
430 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
431 | ||
432 | $(OBJS)\xrclib_xh_stbox.o: ../../src/xrc\xh_stbox.cpp | |
433 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
434 | ||
435 | $(OBJS)\xrclib_xh_stlin.o: ../../src/xrc\xh_stlin.cpp | |
436 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
437 | ||
438 | $(OBJS)\xrclib_xh_sttxt.o: ../../src/xrc\xh_sttxt.cpp | |
439 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
440 | ||
441 | $(OBJS)\xrclib_xh_text.o: ../../src/xrc\xh_text.cpp | |
442 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
443 | ||
444 | $(OBJS)\xrclib_xh_toolb.o: ../../src/xrc\xh_toolb.cpp | |
445 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
446 | ||
447 | $(OBJS)\xrclib_xh_tree.o: ../../src/xrc\xh_tree.cpp | |
448 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
449 | ||
450 | $(OBJS)\xrclib_xh_unkwn.o: ../../src/xrc\xh_unkwn.cpp | |
451 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
452 | ||
453 | $(OBJS)\xrclib_xh_wizrd.o: ../../src/xrc\xh_wizrd.cpp | |
454 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
455 | ||
2621ddf3 VS |
456 | $(OBJS)\xrclib_xmlres.o: ../../src/xrc\xmlres.cpp |
457 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
458 | ||
2621ddf3 VS |
459 | $(OBJS)\xrclib_xmlrsall.o: ../../src/xrc\xmlrsall.cpp |
460 | $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $< | |
461 | ||
2621ddf3 VS |
462 | clean: |
463 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
3f55f5b8 VS |
464 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll |
465 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a | |
466 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a | |
2621ddf3 | 467 | |
2621ddf3 | 468 | ifeq ($(SHARED),1) |
3f55f5b8 | 469 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll: $(XRCDLL_OBJECTS) |
e2d1c567 | 470 | $(CXX) -shared -o $@ $(XRCDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_HTML_p) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) |
2621ddf3 VS |
471 | endif |
472 | ||
473 | ifeq ($(SHARED),0) | |
3f55f5b8 | 474 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a: $(XRCLIB_OBJECTS) |
2621ddf3 | 475 | if exist $@ del $@ |
3f55f5b8 | 476 | ar rcu $@ $(XRCLIB_OBJECTS) |
2621ddf3 VS |
477 | ranlib $@ |
478 | endif | |
479 | ||
936a13b5 | 480 | .PHONY: all clean |