]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/xrc/makefile.wat
Cleaned up some comments, reorganized some code
[wxWidgets.git] / contrib / build / xrc / makefile.wat
CommitLineData
0ca0570d
VS
1# =========================================================================
2# This makefile was generated by
a90d7e68 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
0ca0570d
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7!include ../../../build/msw/config.wat
0ca0570d
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13# Speed up compilation a bit:
14!ifdef __LOADDLL__
15! loaddll wcc wccd
16! loaddll wccaxp wccdaxp
17! loaddll wcc386 wccd386
18! loaddll wpp wppdi86
19! loaddll wppaxp wppdaxp
20! loaddll wpp386 wppd386
21! loaddll wlink wlink
22! loaddll wlib wlibd
23!endif
24
25# We need these variables in some bakefile-made rules:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
75a0a7b7
VS
30LIBDIRNAME =
31!ifeq SHARED 0
32LIBDIRNAME = ..\..\src\xrc\..\..\..\lib\wat_lib$(CFG)
33!endif
34!ifeq SHARED 1
35LIBDIRNAME = ..\..\src\xrc\..\..\..\lib\wat_dll$(CFG)
36!endif
0ca0570d
VS
37PORTNAME =
38!ifeq USE_GUI 0
39PORTNAME = base
40!endif
41!ifeq USE_GUI 1
42PORTNAME = msw
43!endif
44VENDORTAG =
45!ifeq OFFICIAL_BUILD 0
46VENDORTAG = _$(VENDOR)
47!endif
48!ifeq OFFICIAL_BUILD 1
49VENDORTAG =
50!endif
51WXDEBUGFLAG =
52!ifeq BUILD debug
3f55f5b8
VS
53!ifeq DEBUG_FLAG default
54WXDEBUGFLAG = d
55!endif
56!endif
57!ifeq DEBUG_FLAG 1
0ca0570d
VS
58WXDEBUGFLAG = d
59!endif
60WXDLLFLAG =
61!ifeq SHARED 1
62WXDLLFLAG = dll
63!endif
64WXUNICODEFLAG =
65!ifeq UNICODE 1
66WXUNICODEFLAG = u
67!endif
68WXUNIVNAME =
69!ifeq WXUNIV 1
70WXUNIVNAME = univ
71!endif
3f55f5b8 72__DEBUGINFO =
0ca0570d 73!ifeq BUILD debug
3f55f5b8
VS
74!ifeq DEBUG_INFO default
75__DEBUGINFO = -d2
76!endif
0ca0570d
VS
77!endif
78!ifeq BUILD release
3f55f5b8
VS
79!ifeq DEBUG_INFO default
80__DEBUGINFO = -d0
81!endif
0ca0570d 82!endif
3f55f5b8
VS
83!ifeq DEBUG_INFO 0
84__DEBUGINFO = -d0
85!endif
86!ifeq DEBUG_INFO 1
87__DEBUGINFO = -d2
88!endif
89__DEBUGINFO_1 =
0ca0570d 90!ifeq BUILD debug
3f55f5b8
VS
91!ifeq DEBUG_INFO default
92__DEBUGINFO_1 = debug all
93!endif
0ca0570d
VS
94!endif
95!ifeq BUILD release
3f55f5b8
VS
96!ifeq DEBUG_INFO default
97__DEBUGINFO_1 =
98!endif
99!endif
100!ifeq DEBUG_INFO 0
101__DEBUGINFO_1 =
102!endif
103!ifeq DEBUG_INFO 1
104__DEBUGINFO_1 = debug all
0ca0570d
VS
105!endif
106__DEBUG_DEFINE_p =
107!ifeq BUILD debug
3f55f5b8 108!ifeq DEBUG_FLAG default
0ca0570d
VS
109__DEBUG_DEFINE_p = -d__WXDEBUG__
110!endif
3f55f5b8
VS
111!endif
112!ifeq DEBUG_FLAG 1
113__DEBUG_DEFINE_p = -d__WXDEBUG__
114!endif
115__LIB_JPEG_p =
116!ifeq USE_GUI 1
117__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
118!endif
119__LIB_PNG_p =
120!ifeq USE_GUI 1
121__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
122!endif
123__LIB_TIFF_p =
124!ifeq USE_GUI 1
125__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
126!endif
0ca0570d
VS
127__OPTIMIZEFLAG =
128!ifeq BUILD debug
129__OPTIMIZEFLAG = -od
130!endif
131!ifeq BUILD release
132__OPTIMIZEFLAG = -ot -ox
133!endif
936a13b5
VS
134__RUNTIME_LIBS =
135!ifeq RUNTIME_LIBS dynamic
136__RUNTIME_LIBS = -br
137!endif
138!ifeq RUNTIME_LIBS static
139__RUNTIME_LIBS =
140!endif
0ca0570d
VS
141__UNICODE_DEFINE_p =
142!ifeq UNICODE 1
143__UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
144!endif
e2d1c567
VS
145__WXLIB_ADV_p =
146!ifeq MONOLITHIC 0
147__WXLIB_ADV_p = &
148 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
149!endif
0ca0570d
VS
150__WXLIB_BASE_p =
151!ifeq MONOLITHIC 0
152__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
153!endif
154__WXLIB_CORE_p =
155!ifeq MONOLITHIC 0
3f55f5b8
VS
156__WXLIB_CORE_p = &
157 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
0ca0570d
VS
158!endif
159__WXLIB_HTML_p =
160!ifeq MONOLITHIC 0
3f55f5b8
VS
161__WXLIB_HTML_p = &
162 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
0ca0570d
VS
163!endif
164__WXLIB_MONO_p =
165!ifeq MONOLITHIC 1
3f55f5b8
VS
166__WXLIB_MONO_p = &
167 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
0ca0570d 168!endif
a90d7e68
VS
169__WXLIB_XML_p =
170!ifeq MONOLITHIC 0
171__WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
172!endif
0ca0570d
VS
173__WXUNIV_DEFINE_p =
174!ifeq WXUNIV 1
175__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
176!endif
0ca0570d
VS
177__xrcdll___depname =
178!ifeq SHARED 1
3f55f5b8
VS
179__xrcdll___depname = &
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll
0ca0570d
VS
181!endif
182__xrclib___depname =
183!ifeq SHARED 0
3f55f5b8
VS
184__xrclib___depname = &
185 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib
0ca0570d
VS
186!endif
187
188### Variables: ###
189
3f55f5b8
VS
190OBJS = &
191 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
192SETUPHDIR = &
193 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
3f55f5b8
VS
194XRCDLL_CXXFLAGS = $(CPPFLAGS) -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
195 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
75a0a7b7
VS
196 $(__UNICODE_DEFINE_p) -i=..\..\src\xrc\..\..\..\include -i=$(SETUPHDIR) &
197 -i=..\..\src\xrc\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_XRC $(CXXFLAGS) &
198 /fh=$(OBJS)\wxprec_xrcdll.pch
3f55f5b8
VS
199XRCDLL_OBJECTS = &
200 $(OBJS)\xrcdll_dummy.obj &
201 $(OBJS)\xrcdll_xmlres.obj &
202 $(OBJS)\xrcdll_xh_bmp.obj &
203 $(OBJS)\xrcdll_xh_bmpbt.obj &
204 $(OBJS)\xrcdll_xh_bttn.obj &
205 $(OBJS)\xrcdll_xh_cald.obj &
206 $(OBJS)\xrcdll_xh_chckb.obj &
207 $(OBJS)\xrcdll_xh_chckl.obj &
208 $(OBJS)\xrcdll_xh_choic.obj &
209 $(OBJS)\xrcdll_xh_combo.obj &
210 $(OBJS)\xrcdll_xh_dlg.obj &
211 $(OBJS)\xrcdll_xh_frame.obj &
212 $(OBJS)\xrcdll_xh_gauge.obj &
213 $(OBJS)\xrcdll_xh_gdctl.obj &
214 $(OBJS)\xrcdll_xh_html.obj &
215 $(OBJS)\xrcdll_xh_listb.obj &
216 $(OBJS)\xrcdll_xh_listc.obj &
217 $(OBJS)\xrcdll_xh_menu.obj &
218 $(OBJS)\xrcdll_xh_notbk.obj &
219 $(OBJS)\xrcdll_xh_panel.obj &
220 $(OBJS)\xrcdll_xh_radbt.obj &
221 $(OBJS)\xrcdll_xh_radbx.obj &
222 $(OBJS)\xrcdll_xh_scrol.obj &
223 $(OBJS)\xrcdll_xh_scwin.obj &
224 $(OBJS)\xrcdll_xh_sizer.obj &
225 $(OBJS)\xrcdll_xh_slidr.obj &
226 $(OBJS)\xrcdll_xh_spin.obj &
227 $(OBJS)\xrcdll_xh_split.obj &
228 $(OBJS)\xrcdll_xh_stbmp.obj &
229 $(OBJS)\xrcdll_xh_stbox.obj &
230 $(OBJS)\xrcdll_xh_stlin.obj &
231 $(OBJS)\xrcdll_xh_sttxt.obj &
232 $(OBJS)\xrcdll_xh_text.obj &
233 $(OBJS)\xrcdll_xh_toolb.obj &
234 $(OBJS)\xrcdll_xh_tree.obj &
235 $(OBJS)\xrcdll_xh_unkwn.obj &
236 $(OBJS)\xrcdll_xh_wizrd.obj &
237 $(OBJS)\xrcdll_xmlrsall.obj
238XRCLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
239 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
75a0a7b7
VS
240 $(__UNICODE_DEFINE_p) -i=..\..\src\xrc\..\..\..\include -i=$(SETUPHDIR) &
241 -i=..\..\src\xrc\..\..\include -i=..\..\src\xrc\expat\xmlparse &
242 -i=..\..\src\xrc\expat\xmltok $(CXXFLAGS) /fh=$(OBJS)\wxprec_xrclib.pch
3f55f5b8
VS
243XRCLIB_OBJECTS = &
244 $(OBJS)\xrclib_dummy.obj &
245 $(OBJS)\xrclib_xmlres.obj &
246 $(OBJS)\xrclib_xh_bmp.obj &
247 $(OBJS)\xrclib_xh_bmpbt.obj &
248 $(OBJS)\xrclib_xh_bttn.obj &
249 $(OBJS)\xrclib_xh_cald.obj &
250 $(OBJS)\xrclib_xh_chckb.obj &
251 $(OBJS)\xrclib_xh_chckl.obj &
252 $(OBJS)\xrclib_xh_choic.obj &
253 $(OBJS)\xrclib_xh_combo.obj &
254 $(OBJS)\xrclib_xh_dlg.obj &
255 $(OBJS)\xrclib_xh_frame.obj &
256 $(OBJS)\xrclib_xh_gauge.obj &
257 $(OBJS)\xrclib_xh_gdctl.obj &
258 $(OBJS)\xrclib_xh_html.obj &
259 $(OBJS)\xrclib_xh_listb.obj &
260 $(OBJS)\xrclib_xh_listc.obj &
261 $(OBJS)\xrclib_xh_menu.obj &
262 $(OBJS)\xrclib_xh_notbk.obj &
263 $(OBJS)\xrclib_xh_panel.obj &
264 $(OBJS)\xrclib_xh_radbt.obj &
265 $(OBJS)\xrclib_xh_radbx.obj &
266 $(OBJS)\xrclib_xh_scrol.obj &
267 $(OBJS)\xrclib_xh_scwin.obj &
268 $(OBJS)\xrclib_xh_sizer.obj &
269 $(OBJS)\xrclib_xh_slidr.obj &
270 $(OBJS)\xrclib_xh_spin.obj &
271 $(OBJS)\xrclib_xh_split.obj &
272 $(OBJS)\xrclib_xh_stbmp.obj &
273 $(OBJS)\xrclib_xh_stbox.obj &
274 $(OBJS)\xrclib_xh_stlin.obj &
275 $(OBJS)\xrclib_xh_sttxt.obj &
276 $(OBJS)\xrclib_xh_text.obj &
277 $(OBJS)\xrclib_xh_toolb.obj &
278 $(OBJS)\xrclib_xh_tree.obj &
279 $(OBJS)\xrclib_xh_unkwn.obj &
280 $(OBJS)\xrclib_xh_wizrd.obj &
281 $(OBJS)\xrclib_xmlrsall.obj
0ca0570d 282
0ca0570d
VS
283
284all : $(OBJS)
285$(OBJS) :
286 -if not exist $(OBJS) mkdir $(OBJS)
287
288### Targets: ###
289
290all : .SYMBOLIC $(__xrcdll___depname) $(__xrclib___depname)
291
292$(OBJS)\xrcdll_dummy.obj : .AUTODEPEND ../../src/xrc\..\..\..\src\msw\dummy.cpp
293 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
294
295$(OBJS)\xrcdll_xh_bmp.obj : .AUTODEPEND ../../src/xrc\xh_bmp.cpp
296 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
297
298$(OBJS)\xrcdll_xh_bmpbt.obj : .AUTODEPEND ../../src/xrc\xh_bmpbt.cpp
299 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
300
301$(OBJS)\xrcdll_xh_bttn.obj : .AUTODEPEND ../../src/xrc\xh_bttn.cpp
302 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
303
304$(OBJS)\xrcdll_xh_cald.obj : .AUTODEPEND ../../src/xrc\xh_cald.cpp
305 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
306
307$(OBJS)\xrcdll_xh_chckb.obj : .AUTODEPEND ../../src/xrc\xh_chckb.cpp
308 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
309
310$(OBJS)\xrcdll_xh_chckl.obj : .AUTODEPEND ../../src/xrc\xh_chckl.cpp
311 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
312
313$(OBJS)\xrcdll_xh_choic.obj : .AUTODEPEND ../../src/xrc\xh_choic.cpp
314 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
315
316$(OBJS)\xrcdll_xh_combo.obj : .AUTODEPEND ../../src/xrc\xh_combo.cpp
317 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
318
319$(OBJS)\xrcdll_xh_dlg.obj : .AUTODEPEND ../../src/xrc\xh_dlg.cpp
320 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
321
322$(OBJS)\xrcdll_xh_frame.obj : .AUTODEPEND ../../src/xrc\xh_frame.cpp
323 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
324
325$(OBJS)\xrcdll_xh_gauge.obj : .AUTODEPEND ../../src/xrc\xh_gauge.cpp
326 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
327
328$(OBJS)\xrcdll_xh_gdctl.obj : .AUTODEPEND ../../src/xrc\xh_gdctl.cpp
329 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
330
331$(OBJS)\xrcdll_xh_html.obj : .AUTODEPEND ../../src/xrc\xh_html.cpp
332 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
333
334$(OBJS)\xrcdll_xh_listb.obj : .AUTODEPEND ../../src/xrc\xh_listb.cpp
335 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
336
337$(OBJS)\xrcdll_xh_listc.obj : .AUTODEPEND ../../src/xrc\xh_listc.cpp
338 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
339
340$(OBJS)\xrcdll_xh_menu.obj : .AUTODEPEND ../../src/xrc\xh_menu.cpp
341 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
342
343$(OBJS)\xrcdll_xh_notbk.obj : .AUTODEPEND ../../src/xrc\xh_notbk.cpp
344 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
345
346$(OBJS)\xrcdll_xh_panel.obj : .AUTODEPEND ../../src/xrc\xh_panel.cpp
347 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
348
349$(OBJS)\xrcdll_xh_radbt.obj : .AUTODEPEND ../../src/xrc\xh_radbt.cpp
350 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
351
352$(OBJS)\xrcdll_xh_radbx.obj : .AUTODEPEND ../../src/xrc\xh_radbx.cpp
353 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
354
355$(OBJS)\xrcdll_xh_scrol.obj : .AUTODEPEND ../../src/xrc\xh_scrol.cpp
356 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
357
358$(OBJS)\xrcdll_xh_scwin.obj : .AUTODEPEND ../../src/xrc\xh_scwin.cpp
359 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
360
361$(OBJS)\xrcdll_xh_sizer.obj : .AUTODEPEND ../../src/xrc\xh_sizer.cpp
362 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
363
364$(OBJS)\xrcdll_xh_slidr.obj : .AUTODEPEND ../../src/xrc\xh_slidr.cpp
365 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
366
367$(OBJS)\xrcdll_xh_spin.obj : .AUTODEPEND ../../src/xrc\xh_spin.cpp
368 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
369
370$(OBJS)\xrcdll_xh_split.obj : .AUTODEPEND ../../src/xrc\xh_split.cpp
371 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
372
373$(OBJS)\xrcdll_xh_stbmp.obj : .AUTODEPEND ../../src/xrc\xh_stbmp.cpp
374 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
375
376$(OBJS)\xrcdll_xh_stbox.obj : .AUTODEPEND ../../src/xrc\xh_stbox.cpp
377 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
378
379$(OBJS)\xrcdll_xh_stlin.obj : .AUTODEPEND ../../src/xrc\xh_stlin.cpp
380 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
381
382$(OBJS)\xrcdll_xh_sttxt.obj : .AUTODEPEND ../../src/xrc\xh_sttxt.cpp
383 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
384
385$(OBJS)\xrcdll_xh_text.obj : .AUTODEPEND ../../src/xrc\xh_text.cpp
386 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
387
388$(OBJS)\xrcdll_xh_toolb.obj : .AUTODEPEND ../../src/xrc\xh_toolb.cpp
389 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
390
391$(OBJS)\xrcdll_xh_tree.obj : .AUTODEPEND ../../src/xrc\xh_tree.cpp
392 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
393
394$(OBJS)\xrcdll_xh_unkwn.obj : .AUTODEPEND ../../src/xrc\xh_unkwn.cpp
395 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
396
397$(OBJS)\xrcdll_xh_wizrd.obj : .AUTODEPEND ../../src/xrc\xh_wizrd.cpp
398 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
399
0ca0570d
VS
400$(OBJS)\xrcdll_xmlres.obj : .AUTODEPEND ../../src/xrc\xmlres.cpp
401 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
402
0ca0570d
VS
403$(OBJS)\xrcdll_xmlrsall.obj : .AUTODEPEND ../../src/xrc\xmlrsall.cpp
404 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
405
0ca0570d
VS
406$(OBJS)\xrclib_dummy.obj : .AUTODEPEND ../../src/xrc\..\..\..\src\msw\dummy.cpp
407 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
408
409$(OBJS)\xrclib_xh_bmp.obj : .AUTODEPEND ../../src/xrc\xh_bmp.cpp
410 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
411
412$(OBJS)\xrclib_xh_bmpbt.obj : .AUTODEPEND ../../src/xrc\xh_bmpbt.cpp
413 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
414
415$(OBJS)\xrclib_xh_bttn.obj : .AUTODEPEND ../../src/xrc\xh_bttn.cpp
416 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
417
418$(OBJS)\xrclib_xh_cald.obj : .AUTODEPEND ../../src/xrc\xh_cald.cpp
419 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
420
421$(OBJS)\xrclib_xh_chckb.obj : .AUTODEPEND ../../src/xrc\xh_chckb.cpp
422 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
423
424$(OBJS)\xrclib_xh_chckl.obj : .AUTODEPEND ../../src/xrc\xh_chckl.cpp
425 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
426
427$(OBJS)\xrclib_xh_choic.obj : .AUTODEPEND ../../src/xrc\xh_choic.cpp
428 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
429
430$(OBJS)\xrclib_xh_combo.obj : .AUTODEPEND ../../src/xrc\xh_combo.cpp
431 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
432
433$(OBJS)\xrclib_xh_dlg.obj : .AUTODEPEND ../../src/xrc\xh_dlg.cpp
434 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
435
436$(OBJS)\xrclib_xh_frame.obj : .AUTODEPEND ../../src/xrc\xh_frame.cpp
437 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
438
439$(OBJS)\xrclib_xh_gauge.obj : .AUTODEPEND ../../src/xrc\xh_gauge.cpp
440 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
441
442$(OBJS)\xrclib_xh_gdctl.obj : .AUTODEPEND ../../src/xrc\xh_gdctl.cpp
443 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
444
445$(OBJS)\xrclib_xh_html.obj : .AUTODEPEND ../../src/xrc\xh_html.cpp
446 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
447
448$(OBJS)\xrclib_xh_listb.obj : .AUTODEPEND ../../src/xrc\xh_listb.cpp
449 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
450
451$(OBJS)\xrclib_xh_listc.obj : .AUTODEPEND ../../src/xrc\xh_listc.cpp
452 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
453
454$(OBJS)\xrclib_xh_menu.obj : .AUTODEPEND ../../src/xrc\xh_menu.cpp
455 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
456
457$(OBJS)\xrclib_xh_notbk.obj : .AUTODEPEND ../../src/xrc\xh_notbk.cpp
458 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
459
460$(OBJS)\xrclib_xh_panel.obj : .AUTODEPEND ../../src/xrc\xh_panel.cpp
461 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
462
463$(OBJS)\xrclib_xh_radbt.obj : .AUTODEPEND ../../src/xrc\xh_radbt.cpp
464 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
465
466$(OBJS)\xrclib_xh_radbx.obj : .AUTODEPEND ../../src/xrc\xh_radbx.cpp
467 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
468
469$(OBJS)\xrclib_xh_scrol.obj : .AUTODEPEND ../../src/xrc\xh_scrol.cpp
470 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
471
472$(OBJS)\xrclib_xh_scwin.obj : .AUTODEPEND ../../src/xrc\xh_scwin.cpp
473 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
474
475$(OBJS)\xrclib_xh_sizer.obj : .AUTODEPEND ../../src/xrc\xh_sizer.cpp
476 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
477
478$(OBJS)\xrclib_xh_slidr.obj : .AUTODEPEND ../../src/xrc\xh_slidr.cpp
479 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
480
481$(OBJS)\xrclib_xh_spin.obj : .AUTODEPEND ../../src/xrc\xh_spin.cpp
482 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
483
484$(OBJS)\xrclib_xh_split.obj : .AUTODEPEND ../../src/xrc\xh_split.cpp
485 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
486
487$(OBJS)\xrclib_xh_stbmp.obj : .AUTODEPEND ../../src/xrc\xh_stbmp.cpp
488 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
489
490$(OBJS)\xrclib_xh_stbox.obj : .AUTODEPEND ../../src/xrc\xh_stbox.cpp
491 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
492
493$(OBJS)\xrclib_xh_stlin.obj : .AUTODEPEND ../../src/xrc\xh_stlin.cpp
494 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
495
496$(OBJS)\xrclib_xh_sttxt.obj : .AUTODEPEND ../../src/xrc\xh_sttxt.cpp
497 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
498
499$(OBJS)\xrclib_xh_text.obj : .AUTODEPEND ../../src/xrc\xh_text.cpp
500 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
501
502$(OBJS)\xrclib_xh_toolb.obj : .AUTODEPEND ../../src/xrc\xh_toolb.cpp
503 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
504
505$(OBJS)\xrclib_xh_tree.obj : .AUTODEPEND ../../src/xrc\xh_tree.cpp
506 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
507
508$(OBJS)\xrclib_xh_unkwn.obj : .AUTODEPEND ../../src/xrc\xh_unkwn.cpp
509 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
510
511$(OBJS)\xrclib_xh_wizrd.obj : .AUTODEPEND ../../src/xrc\xh_wizrd.cpp
512 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
513
0ca0570d
VS
514$(OBJS)\xrclib_xmlres.obj : .AUTODEPEND ../../src/xrc\xmlres.cpp
515 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
516
0ca0570d
VS
517$(OBJS)\xrclib_xmlrsall.obj : .AUTODEPEND ../../src/xrc\xmlrsall.cpp
518 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
519
0ca0570d
VS
520clean : .SYMBOLIC
521 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
522 -if exist $(OBJS)\*.res del $(OBJS)\*.res
523 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
524 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
3f55f5b8
VS
525 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll
526 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib
527 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib
0ca0570d 528
0ca0570d 529!ifeq SHARED 1
3f55f5b8 530$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll : $(XRCDLL_OBJECTS)
0ca0570d
VS
531 @%create $(OBJS)\xrcdll.lbc
532 @%append $(OBJS)\xrcdll.lbc option quiet
533 @%append $(OBJS)\xrcdll.lbc name $^@
75a0a7b7 534 @%append $(OBJS)\xrcdll.lbc option caseexact
3f55f5b8
VS
535 @%append $(OBJS)\xrcdll.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME)
536 @for %i in ($(XRCDLL_OBJECTS)) do @%append $(OBJS)\xrcdll.lbc file %i
2265a2d5 537 @for %i in ( $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_HTML_p) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p)) do @%append $(OBJS)\xrcdll.lbc library %i
0ca0570d
VS
538 @%append $(OBJS)\xrcdll.lbc
539 @%append $(OBJS)\xrcdll.lbc system nt_dll
540 wlink @$(OBJS)\xrcdll.lbc
3f55f5b8 541 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib +$^@
0ca0570d
VS
542!endif
543
544!ifeq SHARED 0
3f55f5b8 545$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib : $(XRCLIB_OBJECTS)
0ca0570d 546 @%create $(OBJS)\xrclib.lbc
3f55f5b8 547 @for %i in ($(XRCLIB_OBJECTS)) do @%append $(OBJS)\xrclib.lbc +%i
0ca0570d
VS
548 wlib -q -p2048 -n -b $^@ @$(OBJS)\xrclib.lbc
549!endif