]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/xrc/makefile.gcc
1) some compilers (Watcom) don't like it if wxBase library PCH file contains
[wxWidgets.git] / contrib / build / xrc / makefile.gcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 include ../../../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
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
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)
131 ifeq ($(DEBUG_FLAG),default)
132 WXDEBUGFLAG = d
133 endif
134 endif
135 ifeq ($(DEBUG_FLAG),1)
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)
148 ifeq ($(DEBUG_INFO),default)
149 __DEBUGINFO = -g
150 endif
151 endif
152 ifeq ($(BUILD),release)
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
162 endif
163 ifeq ($(BUILD),debug)
164 ifeq ($(DEBUG_FLAG),default)
165 __DEBUG_DEFINE_p = -D__WXDEBUG__
166 endif
167 endif
168 ifeq ($(DEBUG_FLAG),1)
169 __DEBUG_DEFINE_p = -D__WXDEBUG__
170 endif
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
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 ($(MSLU),1)
190 __UNICOWS_LIB_p = -lunicows
191 endif
192 ifeq ($(MONOLITHIC),0)
193 __WXLIB_ADV_p = \
194 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv
195 endif
196 ifeq ($(MONOLITHIC),0)
197 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
198 endif
199 ifeq ($(MONOLITHIC),0)
200 __WXLIB_CORE_p = \
201 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
202 endif
203 ifeq ($(MONOLITHIC),0)
204 __WXLIB_HTML_p = \
205 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
206 endif
207 ifeq ($(MONOLITHIC),1)
208 __WXLIB_MONO_p = \
209 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
210 endif
211 ifeq ($(MONOLITHIC),0)
212 __WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
213 endif
214 ifeq ($(WXUNIV),1)
215 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
216 endif
217 ifeq ($(SHARED),1)
218 __xrcdll___depname = \
219 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll
220 endif
221 ifeq ($(SHARED),0)
222 __xrclib___depname = \
223 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a
224 endif
225
226
227 all: $(OBJS)
228 $(OBJS):
229 -if not exist $(OBJS) mkdir $(OBJS)
230
231 ### Targets: ###
232
233 all: $(__xrcdll___depname) $(__xrclib___depname)
234
235 $(OBJS)\xrcdll_dummy.o: ../../src/xrc\..\..\..\src\msw\dummy.cpp
236 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
237
238 $(OBJS)\xrcdll_xh_bmp.o: ../../src/xrc\xh_bmp.cpp
239 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
240
241 $(OBJS)\xrcdll_xh_bmpbt.o: ../../src/xrc\xh_bmpbt.cpp
242 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
243
244 $(OBJS)\xrcdll_xh_bttn.o: ../../src/xrc\xh_bttn.cpp
245 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
246
247 $(OBJS)\xrcdll_xh_cald.o: ../../src/xrc\xh_cald.cpp
248 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
249
250 $(OBJS)\xrcdll_xh_chckb.o: ../../src/xrc\xh_chckb.cpp
251 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
252
253 $(OBJS)\xrcdll_xh_chckl.o: ../../src/xrc\xh_chckl.cpp
254 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
255
256 $(OBJS)\xrcdll_xh_choic.o: ../../src/xrc\xh_choic.cpp
257 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
258
259 $(OBJS)\xrcdll_xh_combo.o: ../../src/xrc\xh_combo.cpp
260 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
261
262 $(OBJS)\xrcdll_xh_dlg.o: ../../src/xrc\xh_dlg.cpp
263 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
264
265 $(OBJS)\xrcdll_xh_frame.o: ../../src/xrc\xh_frame.cpp
266 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
267
268 $(OBJS)\xrcdll_xh_gauge.o: ../../src/xrc\xh_gauge.cpp
269 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
270
271 $(OBJS)\xrcdll_xh_gdctl.o: ../../src/xrc\xh_gdctl.cpp
272 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
273
274 $(OBJS)\xrcdll_xh_html.o: ../../src/xrc\xh_html.cpp
275 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
276
277 $(OBJS)\xrcdll_xh_listb.o: ../../src/xrc\xh_listb.cpp
278 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
279
280 $(OBJS)\xrcdll_xh_listc.o: ../../src/xrc\xh_listc.cpp
281 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
282
283 $(OBJS)\xrcdll_xh_menu.o: ../../src/xrc\xh_menu.cpp
284 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
285
286 $(OBJS)\xrcdll_xh_notbk.o: ../../src/xrc\xh_notbk.cpp
287 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
288
289 $(OBJS)\xrcdll_xh_panel.o: ../../src/xrc\xh_panel.cpp
290 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
291
292 $(OBJS)\xrcdll_xh_radbt.o: ../../src/xrc\xh_radbt.cpp
293 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
294
295 $(OBJS)\xrcdll_xh_radbx.o: ../../src/xrc\xh_radbx.cpp
296 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
297
298 $(OBJS)\xrcdll_xh_scrol.o: ../../src/xrc\xh_scrol.cpp
299 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
300
301 $(OBJS)\xrcdll_xh_scwin.o: ../../src/xrc\xh_scwin.cpp
302 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
303
304 $(OBJS)\xrcdll_xh_sizer.o: ../../src/xrc\xh_sizer.cpp
305 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
306
307 $(OBJS)\xrcdll_xh_slidr.o: ../../src/xrc\xh_slidr.cpp
308 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
309
310 $(OBJS)\xrcdll_xh_spin.o: ../../src/xrc\xh_spin.cpp
311 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
312
313 $(OBJS)\xrcdll_xh_split.o: ../../src/xrc\xh_split.cpp
314 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
315
316 $(OBJS)\xrcdll_xh_stbmp.o: ../../src/xrc\xh_stbmp.cpp
317 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
318
319 $(OBJS)\xrcdll_xh_stbox.o: ../../src/xrc\xh_stbox.cpp
320 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
321
322 $(OBJS)\xrcdll_xh_stlin.o: ../../src/xrc\xh_stlin.cpp
323 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
324
325 $(OBJS)\xrcdll_xh_sttxt.o: ../../src/xrc\xh_sttxt.cpp
326 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
327
328 $(OBJS)\xrcdll_xh_text.o: ../../src/xrc\xh_text.cpp
329 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
330
331 $(OBJS)\xrcdll_xh_toolb.o: ../../src/xrc\xh_toolb.cpp
332 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
333
334 $(OBJS)\xrcdll_xh_tree.o: ../../src/xrc\xh_tree.cpp
335 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
336
337 $(OBJS)\xrcdll_xh_unkwn.o: ../../src/xrc\xh_unkwn.cpp
338 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
339
340 $(OBJS)\xrcdll_xh_wizrd.o: ../../src/xrc\xh_wizrd.cpp
341 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
342
343 $(OBJS)\xrcdll_xmlres.o: ../../src/xrc\xmlres.cpp
344 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
345
346 $(OBJS)\xrcdll_xmlrsall.o: ../../src/xrc\xmlrsall.cpp
347 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
348
349 $(OBJS)\xrclib_dummy.o: ../../src/xrc\..\..\..\src\msw\dummy.cpp
350 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
351
352 $(OBJS)\xrclib_xh_bmp.o: ../../src/xrc\xh_bmp.cpp
353 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
354
355 $(OBJS)\xrclib_xh_bmpbt.o: ../../src/xrc\xh_bmpbt.cpp
356 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
357
358 $(OBJS)\xrclib_xh_bttn.o: ../../src/xrc\xh_bttn.cpp
359 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
360
361 $(OBJS)\xrclib_xh_cald.o: ../../src/xrc\xh_cald.cpp
362 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
363
364 $(OBJS)\xrclib_xh_chckb.o: ../../src/xrc\xh_chckb.cpp
365 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
366
367 $(OBJS)\xrclib_xh_chckl.o: ../../src/xrc\xh_chckl.cpp
368 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
369
370 $(OBJS)\xrclib_xh_choic.o: ../../src/xrc\xh_choic.cpp
371 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
372
373 $(OBJS)\xrclib_xh_combo.o: ../../src/xrc\xh_combo.cpp
374 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
375
376 $(OBJS)\xrclib_xh_dlg.o: ../../src/xrc\xh_dlg.cpp
377 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
378
379 $(OBJS)\xrclib_xh_frame.o: ../../src/xrc\xh_frame.cpp
380 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
381
382 $(OBJS)\xrclib_xh_gauge.o: ../../src/xrc\xh_gauge.cpp
383 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
384
385 $(OBJS)\xrclib_xh_gdctl.o: ../../src/xrc\xh_gdctl.cpp
386 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
387
388 $(OBJS)\xrclib_xh_html.o: ../../src/xrc\xh_html.cpp
389 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
390
391 $(OBJS)\xrclib_xh_listb.o: ../../src/xrc\xh_listb.cpp
392 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
393
394 $(OBJS)\xrclib_xh_listc.o: ../../src/xrc\xh_listc.cpp
395 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
396
397 $(OBJS)\xrclib_xh_menu.o: ../../src/xrc\xh_menu.cpp
398 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
399
400 $(OBJS)\xrclib_xh_notbk.o: ../../src/xrc\xh_notbk.cpp
401 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
402
403 $(OBJS)\xrclib_xh_panel.o: ../../src/xrc\xh_panel.cpp
404 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
405
406 $(OBJS)\xrclib_xh_radbt.o: ../../src/xrc\xh_radbt.cpp
407 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
408
409 $(OBJS)\xrclib_xh_radbx.o: ../../src/xrc\xh_radbx.cpp
410 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
411
412 $(OBJS)\xrclib_xh_scrol.o: ../../src/xrc\xh_scrol.cpp
413 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
414
415 $(OBJS)\xrclib_xh_scwin.o: ../../src/xrc\xh_scwin.cpp
416 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
417
418 $(OBJS)\xrclib_xh_sizer.o: ../../src/xrc\xh_sizer.cpp
419 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
420
421 $(OBJS)\xrclib_xh_slidr.o: ../../src/xrc\xh_slidr.cpp
422 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
423
424 $(OBJS)\xrclib_xh_spin.o: ../../src/xrc\xh_spin.cpp
425 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
426
427 $(OBJS)\xrclib_xh_split.o: ../../src/xrc\xh_split.cpp
428 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
429
430 $(OBJS)\xrclib_xh_stbmp.o: ../../src/xrc\xh_stbmp.cpp
431 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
432
433 $(OBJS)\xrclib_xh_stbox.o: ../../src/xrc\xh_stbox.cpp
434 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
435
436 $(OBJS)\xrclib_xh_stlin.o: ../../src/xrc\xh_stlin.cpp
437 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
438
439 $(OBJS)\xrclib_xh_sttxt.o: ../../src/xrc\xh_sttxt.cpp
440 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
441
442 $(OBJS)\xrclib_xh_text.o: ../../src/xrc\xh_text.cpp
443 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
444
445 $(OBJS)\xrclib_xh_toolb.o: ../../src/xrc\xh_toolb.cpp
446 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
447
448 $(OBJS)\xrclib_xh_tree.o: ../../src/xrc\xh_tree.cpp
449 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
450
451 $(OBJS)\xrclib_xh_unkwn.o: ../../src/xrc\xh_unkwn.cpp
452 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
453
454 $(OBJS)\xrclib_xh_wizrd.o: ../../src/xrc\xh_wizrd.cpp
455 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
456
457 $(OBJS)\xrclib_xmlres.o: ../../src/xrc\xmlres.cpp
458 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
459
460 $(OBJS)\xrclib_xmlrsall.o: ../../src/xrc\xmlrsall.cpp
461 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
462
463 clean:
464 -if exist $(OBJS)\*.o del $(OBJS)\*.o
465 -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
466 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a
467 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a
468
469 ifeq ($(SHARED),1)
470 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll: $(XRCDLL_OBJECTS)
471 $(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) $(__UNICOWS_LIB_p) -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)
472 endif
473
474 ifeq ($(SHARED),0)
475 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a: $(XRCLIB_OBJECTS)
476 if exist $@ del $@
477 ar rcu $@ $(XRCLIB_OBJECTS)
478 ranlib $@
479 endif
480
481 .PHONY: all clean