]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/xrc/makefile.wat
added .chm support for Unix (Markus Sinner)
[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
a4ad36cd
VS
115__EXCEPTIONSFLAG =
116!ifeq USE_EXCEPTIONS 0
117__EXCEPTIONSFLAG =
118!endif
119!ifeq USE_EXCEPTIONS 1
120__EXCEPTIONSFLAG = -xs
121!endif
3f55f5b8
VS
122__LIB_JPEG_p =
123!ifeq USE_GUI 1
124__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
125!endif
126__LIB_PNG_p =
127!ifeq USE_GUI 1
128__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
129!endif
130__LIB_TIFF_p =
131!ifeq USE_GUI 1
132__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
133!endif
0ca0570d
VS
134__OPTIMIZEFLAG =
135!ifeq BUILD debug
136__OPTIMIZEFLAG = -od
137!endif
138!ifeq BUILD release
139__OPTIMIZEFLAG = -ot -ox
140!endif
936a13b5
VS
141__RUNTIME_LIBS =
142!ifeq RUNTIME_LIBS dynamic
143__RUNTIME_LIBS = -br
144!endif
145!ifeq RUNTIME_LIBS static
146__RUNTIME_LIBS =
147!endif
0ca0570d
VS
148__UNICODE_DEFINE_p =
149!ifeq UNICODE 1
ec08d395 150__UNICODE_DEFINE_p = -d_UNICODE
0ca0570d 151!endif
e2d1c567
VS
152__WXLIB_ADV_p =
153!ifeq MONOLITHIC 0
154__WXLIB_ADV_p = &
155 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
156!endif
0ca0570d
VS
157__WXLIB_BASE_p =
158!ifeq MONOLITHIC 0
159__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
160!endif
161__WXLIB_CORE_p =
162!ifeq MONOLITHIC 0
3f55f5b8
VS
163__WXLIB_CORE_p = &
164 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
0ca0570d
VS
165!endif
166__WXLIB_HTML_p =
167!ifeq MONOLITHIC 0
3f55f5b8
VS
168__WXLIB_HTML_p = &
169 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
0ca0570d
VS
170!endif
171__WXLIB_MONO_p =
172!ifeq MONOLITHIC 1
3f55f5b8
VS
173__WXLIB_MONO_p = &
174 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
0ca0570d 175!endif
a90d7e68
VS
176__WXLIB_XML_p =
177!ifeq MONOLITHIC 0
178__WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
179!endif
0ca0570d
VS
180__WXUNIV_DEFINE_p =
181!ifeq WXUNIV 1
182__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
183!endif
0ca0570d
VS
184__xrcdll___depname =
185!ifeq SHARED 1
3f55f5b8 186__xrcdll___depname = &
ec08d395 187 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll
0ca0570d
VS
188!endif
189__xrclib___depname =
190!ifeq SHARED 0
3f55f5b8
VS
191__xrclib___depname = &
192 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib
0ca0570d
VS
193!endif
194
195### Variables: ###
196
3f55f5b8
VS
197OBJS = &
198 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
199SETUPHDIR = &
200 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
3f55f5b8
VS
201XRCDLL_CXXFLAGS = $(CPPFLAGS) -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
202 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
75a0a7b7
VS
203 $(__UNICODE_DEFINE_p) -i=..\..\src\xrc\..\..\..\include -i=$(SETUPHDIR) &
204 -i=..\..\src\xrc\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_XRC $(CXXFLAGS) &
a4ad36cd 205 /fh=$(OBJS)\wxprec_xrcdll.pch $(__EXCEPTIONSFLAG)
3f55f5b8
VS
206XRCDLL_OBJECTS = &
207 $(OBJS)\xrcdll_dummy.obj &
208 $(OBJS)\xrcdll_xmlres.obj &
209 $(OBJS)\xrcdll_xh_bmp.obj &
210 $(OBJS)\xrcdll_xh_bmpbt.obj &
211 $(OBJS)\xrcdll_xh_bttn.obj &
212 $(OBJS)\xrcdll_xh_cald.obj &
213 $(OBJS)\xrcdll_xh_chckb.obj &
214 $(OBJS)\xrcdll_xh_chckl.obj &
215 $(OBJS)\xrcdll_xh_choic.obj &
216 $(OBJS)\xrcdll_xh_combo.obj &
217 $(OBJS)\xrcdll_xh_dlg.obj &
218 $(OBJS)\xrcdll_xh_frame.obj &
219 $(OBJS)\xrcdll_xh_gauge.obj &
220 $(OBJS)\xrcdll_xh_gdctl.obj &
221 $(OBJS)\xrcdll_xh_html.obj &
222 $(OBJS)\xrcdll_xh_listb.obj &
223 $(OBJS)\xrcdll_xh_listc.obj &
224 $(OBJS)\xrcdll_xh_menu.obj &
225 $(OBJS)\xrcdll_xh_notbk.obj &
226 $(OBJS)\xrcdll_xh_panel.obj &
227 $(OBJS)\xrcdll_xh_radbt.obj &
228 $(OBJS)\xrcdll_xh_radbx.obj &
229 $(OBJS)\xrcdll_xh_scrol.obj &
230 $(OBJS)\xrcdll_xh_scwin.obj &
231 $(OBJS)\xrcdll_xh_sizer.obj &
232 $(OBJS)\xrcdll_xh_slidr.obj &
233 $(OBJS)\xrcdll_xh_spin.obj &
234 $(OBJS)\xrcdll_xh_split.obj &
235 $(OBJS)\xrcdll_xh_stbmp.obj &
236 $(OBJS)\xrcdll_xh_stbox.obj &
237 $(OBJS)\xrcdll_xh_stlin.obj &
238 $(OBJS)\xrcdll_xh_sttxt.obj &
239 $(OBJS)\xrcdll_xh_text.obj &
240 $(OBJS)\xrcdll_xh_toolb.obj &
241 $(OBJS)\xrcdll_xh_tree.obj &
242 $(OBJS)\xrcdll_xh_unkwn.obj &
243 $(OBJS)\xrcdll_xh_wizrd.obj &
244 $(OBJS)\xrcdll_xmlrsall.obj
245XRCLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
246 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
75a0a7b7
VS
247 $(__UNICODE_DEFINE_p) -i=..\..\src\xrc\..\..\..\include -i=$(SETUPHDIR) &
248 -i=..\..\src\xrc\..\..\include -i=..\..\src\xrc\expat\xmlparse &
a4ad36cd
VS
249 -i=..\..\src\xrc\expat\xmltok $(CXXFLAGS) /fh=$(OBJS)\wxprec_xrclib.pch &
250 $(__EXCEPTIONSFLAG)
3f55f5b8
VS
251XRCLIB_OBJECTS = &
252 $(OBJS)\xrclib_dummy.obj &
253 $(OBJS)\xrclib_xmlres.obj &
254 $(OBJS)\xrclib_xh_bmp.obj &
255 $(OBJS)\xrclib_xh_bmpbt.obj &
256 $(OBJS)\xrclib_xh_bttn.obj &
257 $(OBJS)\xrclib_xh_cald.obj &
258 $(OBJS)\xrclib_xh_chckb.obj &
259 $(OBJS)\xrclib_xh_chckl.obj &
260 $(OBJS)\xrclib_xh_choic.obj &
261 $(OBJS)\xrclib_xh_combo.obj &
262 $(OBJS)\xrclib_xh_dlg.obj &
263 $(OBJS)\xrclib_xh_frame.obj &
264 $(OBJS)\xrclib_xh_gauge.obj &
265 $(OBJS)\xrclib_xh_gdctl.obj &
266 $(OBJS)\xrclib_xh_html.obj &
267 $(OBJS)\xrclib_xh_listb.obj &
268 $(OBJS)\xrclib_xh_listc.obj &
269 $(OBJS)\xrclib_xh_menu.obj &
270 $(OBJS)\xrclib_xh_notbk.obj &
271 $(OBJS)\xrclib_xh_panel.obj &
272 $(OBJS)\xrclib_xh_radbt.obj &
273 $(OBJS)\xrclib_xh_radbx.obj &
274 $(OBJS)\xrclib_xh_scrol.obj &
275 $(OBJS)\xrclib_xh_scwin.obj &
276 $(OBJS)\xrclib_xh_sizer.obj &
277 $(OBJS)\xrclib_xh_slidr.obj &
278 $(OBJS)\xrclib_xh_spin.obj &
279 $(OBJS)\xrclib_xh_split.obj &
280 $(OBJS)\xrclib_xh_stbmp.obj &
281 $(OBJS)\xrclib_xh_stbox.obj &
282 $(OBJS)\xrclib_xh_stlin.obj &
283 $(OBJS)\xrclib_xh_sttxt.obj &
284 $(OBJS)\xrclib_xh_text.obj &
285 $(OBJS)\xrclib_xh_toolb.obj &
286 $(OBJS)\xrclib_xh_tree.obj &
287 $(OBJS)\xrclib_xh_unkwn.obj &
288 $(OBJS)\xrclib_xh_wizrd.obj &
289 $(OBJS)\xrclib_xmlrsall.obj
0ca0570d 290
0ca0570d
VS
291
292all : $(OBJS)
293$(OBJS) :
294 -if not exist $(OBJS) mkdir $(OBJS)
295
296### Targets: ###
297
298all : .SYMBOLIC $(__xrcdll___depname) $(__xrclib___depname)
299
300$(OBJS)\xrcdll_dummy.obj : .AUTODEPEND ../../src/xrc\..\..\..\src\msw\dummy.cpp
301 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
302
303$(OBJS)\xrcdll_xh_bmp.obj : .AUTODEPEND ../../src/xrc\xh_bmp.cpp
304 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
305
306$(OBJS)\xrcdll_xh_bmpbt.obj : .AUTODEPEND ../../src/xrc\xh_bmpbt.cpp
307 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
308
309$(OBJS)\xrcdll_xh_bttn.obj : .AUTODEPEND ../../src/xrc\xh_bttn.cpp
310 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
311
312$(OBJS)\xrcdll_xh_cald.obj : .AUTODEPEND ../../src/xrc\xh_cald.cpp
313 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
314
315$(OBJS)\xrcdll_xh_chckb.obj : .AUTODEPEND ../../src/xrc\xh_chckb.cpp
316 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
317
318$(OBJS)\xrcdll_xh_chckl.obj : .AUTODEPEND ../../src/xrc\xh_chckl.cpp
319 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
320
321$(OBJS)\xrcdll_xh_choic.obj : .AUTODEPEND ../../src/xrc\xh_choic.cpp
322 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
323
324$(OBJS)\xrcdll_xh_combo.obj : .AUTODEPEND ../../src/xrc\xh_combo.cpp
325 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
326
327$(OBJS)\xrcdll_xh_dlg.obj : .AUTODEPEND ../../src/xrc\xh_dlg.cpp
328 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
329
330$(OBJS)\xrcdll_xh_frame.obj : .AUTODEPEND ../../src/xrc\xh_frame.cpp
331 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
332
333$(OBJS)\xrcdll_xh_gauge.obj : .AUTODEPEND ../../src/xrc\xh_gauge.cpp
334 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
335
336$(OBJS)\xrcdll_xh_gdctl.obj : .AUTODEPEND ../../src/xrc\xh_gdctl.cpp
337 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
338
339$(OBJS)\xrcdll_xh_html.obj : .AUTODEPEND ../../src/xrc\xh_html.cpp
340 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
341
342$(OBJS)\xrcdll_xh_listb.obj : .AUTODEPEND ../../src/xrc\xh_listb.cpp
343 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
344
345$(OBJS)\xrcdll_xh_listc.obj : .AUTODEPEND ../../src/xrc\xh_listc.cpp
346 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
347
348$(OBJS)\xrcdll_xh_menu.obj : .AUTODEPEND ../../src/xrc\xh_menu.cpp
349 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
350
351$(OBJS)\xrcdll_xh_notbk.obj : .AUTODEPEND ../../src/xrc\xh_notbk.cpp
352 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
353
354$(OBJS)\xrcdll_xh_panel.obj : .AUTODEPEND ../../src/xrc\xh_panel.cpp
355 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
356
357$(OBJS)\xrcdll_xh_radbt.obj : .AUTODEPEND ../../src/xrc\xh_radbt.cpp
358 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
359
360$(OBJS)\xrcdll_xh_radbx.obj : .AUTODEPEND ../../src/xrc\xh_radbx.cpp
361 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
362
363$(OBJS)\xrcdll_xh_scrol.obj : .AUTODEPEND ../../src/xrc\xh_scrol.cpp
364 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
365
366$(OBJS)\xrcdll_xh_scwin.obj : .AUTODEPEND ../../src/xrc\xh_scwin.cpp
367 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
368
369$(OBJS)\xrcdll_xh_sizer.obj : .AUTODEPEND ../../src/xrc\xh_sizer.cpp
370 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
371
372$(OBJS)\xrcdll_xh_slidr.obj : .AUTODEPEND ../../src/xrc\xh_slidr.cpp
373 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
374
375$(OBJS)\xrcdll_xh_spin.obj : .AUTODEPEND ../../src/xrc\xh_spin.cpp
376 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
377
378$(OBJS)\xrcdll_xh_split.obj : .AUTODEPEND ../../src/xrc\xh_split.cpp
379 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
380
381$(OBJS)\xrcdll_xh_stbmp.obj : .AUTODEPEND ../../src/xrc\xh_stbmp.cpp
382 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
383
384$(OBJS)\xrcdll_xh_stbox.obj : .AUTODEPEND ../../src/xrc\xh_stbox.cpp
385 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
386
387$(OBJS)\xrcdll_xh_stlin.obj : .AUTODEPEND ../../src/xrc\xh_stlin.cpp
388 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
389
390$(OBJS)\xrcdll_xh_sttxt.obj : .AUTODEPEND ../../src/xrc\xh_sttxt.cpp
391 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
392
393$(OBJS)\xrcdll_xh_text.obj : .AUTODEPEND ../../src/xrc\xh_text.cpp
394 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
395
396$(OBJS)\xrcdll_xh_toolb.obj : .AUTODEPEND ../../src/xrc\xh_toolb.cpp
397 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
398
399$(OBJS)\xrcdll_xh_tree.obj : .AUTODEPEND ../../src/xrc\xh_tree.cpp
400 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
401
402$(OBJS)\xrcdll_xh_unkwn.obj : .AUTODEPEND ../../src/xrc\xh_unkwn.cpp
403 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
404
405$(OBJS)\xrcdll_xh_wizrd.obj : .AUTODEPEND ../../src/xrc\xh_wizrd.cpp
406 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
407
0ca0570d
VS
408$(OBJS)\xrcdll_xmlres.obj : .AUTODEPEND ../../src/xrc\xmlres.cpp
409 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
410
0ca0570d
VS
411$(OBJS)\xrcdll_xmlrsall.obj : .AUTODEPEND ../../src/xrc\xmlrsall.cpp
412 $(CXX) -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
413
0ca0570d
VS
414$(OBJS)\xrclib_dummy.obj : .AUTODEPEND ../../src/xrc\..\..\..\src\msw\dummy.cpp
415 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
416
417$(OBJS)\xrclib_xh_bmp.obj : .AUTODEPEND ../../src/xrc\xh_bmp.cpp
418 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
419
420$(OBJS)\xrclib_xh_bmpbt.obj : .AUTODEPEND ../../src/xrc\xh_bmpbt.cpp
421 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
422
423$(OBJS)\xrclib_xh_bttn.obj : .AUTODEPEND ../../src/xrc\xh_bttn.cpp
424 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
425
426$(OBJS)\xrclib_xh_cald.obj : .AUTODEPEND ../../src/xrc\xh_cald.cpp
427 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
428
429$(OBJS)\xrclib_xh_chckb.obj : .AUTODEPEND ../../src/xrc\xh_chckb.cpp
430 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
431
432$(OBJS)\xrclib_xh_chckl.obj : .AUTODEPEND ../../src/xrc\xh_chckl.cpp
433 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
434
435$(OBJS)\xrclib_xh_choic.obj : .AUTODEPEND ../../src/xrc\xh_choic.cpp
436 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
437
438$(OBJS)\xrclib_xh_combo.obj : .AUTODEPEND ../../src/xrc\xh_combo.cpp
439 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
440
441$(OBJS)\xrclib_xh_dlg.obj : .AUTODEPEND ../../src/xrc\xh_dlg.cpp
442 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
443
444$(OBJS)\xrclib_xh_frame.obj : .AUTODEPEND ../../src/xrc\xh_frame.cpp
445 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
446
447$(OBJS)\xrclib_xh_gauge.obj : .AUTODEPEND ../../src/xrc\xh_gauge.cpp
448 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
449
450$(OBJS)\xrclib_xh_gdctl.obj : .AUTODEPEND ../../src/xrc\xh_gdctl.cpp
451 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
452
453$(OBJS)\xrclib_xh_html.obj : .AUTODEPEND ../../src/xrc\xh_html.cpp
454 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
455
456$(OBJS)\xrclib_xh_listb.obj : .AUTODEPEND ../../src/xrc\xh_listb.cpp
457 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
458
459$(OBJS)\xrclib_xh_listc.obj : .AUTODEPEND ../../src/xrc\xh_listc.cpp
460 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
461
462$(OBJS)\xrclib_xh_menu.obj : .AUTODEPEND ../../src/xrc\xh_menu.cpp
463 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
464
465$(OBJS)\xrclib_xh_notbk.obj : .AUTODEPEND ../../src/xrc\xh_notbk.cpp
466 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
467
468$(OBJS)\xrclib_xh_panel.obj : .AUTODEPEND ../../src/xrc\xh_panel.cpp
469 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
470
471$(OBJS)\xrclib_xh_radbt.obj : .AUTODEPEND ../../src/xrc\xh_radbt.cpp
472 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
473
474$(OBJS)\xrclib_xh_radbx.obj : .AUTODEPEND ../../src/xrc\xh_radbx.cpp
475 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
476
477$(OBJS)\xrclib_xh_scrol.obj : .AUTODEPEND ../../src/xrc\xh_scrol.cpp
478 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
479
480$(OBJS)\xrclib_xh_scwin.obj : .AUTODEPEND ../../src/xrc\xh_scwin.cpp
481 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
482
483$(OBJS)\xrclib_xh_sizer.obj : .AUTODEPEND ../../src/xrc\xh_sizer.cpp
484 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
485
486$(OBJS)\xrclib_xh_slidr.obj : .AUTODEPEND ../../src/xrc\xh_slidr.cpp
487 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
488
489$(OBJS)\xrclib_xh_spin.obj : .AUTODEPEND ../../src/xrc\xh_spin.cpp
490 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
491
492$(OBJS)\xrclib_xh_split.obj : .AUTODEPEND ../../src/xrc\xh_split.cpp
493 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
494
495$(OBJS)\xrclib_xh_stbmp.obj : .AUTODEPEND ../../src/xrc\xh_stbmp.cpp
496 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
497
498$(OBJS)\xrclib_xh_stbox.obj : .AUTODEPEND ../../src/xrc\xh_stbox.cpp
499 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
500
501$(OBJS)\xrclib_xh_stlin.obj : .AUTODEPEND ../../src/xrc\xh_stlin.cpp
502 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
503
504$(OBJS)\xrclib_xh_sttxt.obj : .AUTODEPEND ../../src/xrc\xh_sttxt.cpp
505 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
506
507$(OBJS)\xrclib_xh_text.obj : .AUTODEPEND ../../src/xrc\xh_text.cpp
508 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
509
510$(OBJS)\xrclib_xh_toolb.obj : .AUTODEPEND ../../src/xrc\xh_toolb.cpp
511 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
512
513$(OBJS)\xrclib_xh_tree.obj : .AUTODEPEND ../../src/xrc\xh_tree.cpp
514 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
515
516$(OBJS)\xrclib_xh_unkwn.obj : .AUTODEPEND ../../src/xrc\xh_unkwn.cpp
517 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
518
519$(OBJS)\xrclib_xh_wizrd.obj : .AUTODEPEND ../../src/xrc\xh_wizrd.cpp
520 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
521
0ca0570d
VS
522$(OBJS)\xrclib_xmlres.obj : .AUTODEPEND ../../src/xrc\xmlres.cpp
523 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
524
0ca0570d
VS
525$(OBJS)\xrclib_xmlrsall.obj : .AUTODEPEND ../../src/xrc\xmlrsall.cpp
526 $(CXX) -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
527
0ca0570d
VS
528clean : .SYMBOLIC
529 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
530 -if exist $(OBJS)\*.res del $(OBJS)\*.res
531 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
532 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
ec08d395 533 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll
3f55f5b8
VS
534 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib
535 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib
0ca0570d 536
0ca0570d 537!ifeq SHARED 1
ec08d395 538$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_wat$(VENDORTAG).dll : $(XRCDLL_OBJECTS)
0ca0570d
VS
539 @%create $(OBJS)\xrcdll.lbc
540 @%append $(OBJS)\xrcdll.lbc option quiet
541 @%append $(OBJS)\xrcdll.lbc name $^@
75a0a7b7 542 @%append $(OBJS)\xrcdll.lbc option caseexact
3f55f5b8
VS
543 @%append $(OBJS)\xrcdll.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME)
544 @for %i in ($(XRCDLL_OBJECTS)) do @%append $(OBJS)\xrcdll.lbc file %i
ec08d395 545 @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
546 @%append $(OBJS)\xrcdll.lbc
547 @%append $(OBJS)\xrcdll.lbc system nt_dll
548 wlink @$(OBJS)\xrcdll.lbc
3f55f5b8 549 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib +$^@
0ca0570d
VS
550!endif
551
552!ifeq SHARED 0
3f55f5b8 553$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib : $(XRCLIB_OBJECTS)
0ca0570d 554 @%create $(OBJS)\xrclib.lbc
3f55f5b8 555 @for %i in ($(XRCLIB_OBJECTS)) do @%append $(OBJS)\xrclib.lbc +%i
0ca0570d
VS
556 wlib -q -p2048 -n -b $^@ @$(OBJS)\xrclib.lbc
557!endif