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