]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/xrc/makefile.gcc
Added files so sample links
[wxWidgets.git] / contrib / build / xrc / makefile.gcc
CommitLineData
2621ddf3
VS
1
2# =========================================================================
3# This makefile was generated by
4# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
5# Do not modify, all changes will be overwritten!
6# =========================================================================
7
8
9# -------------------------------------------------------------------------
10# These are configurable options:
11# -------------------------------------------------------------------------
12
13# Type of compiled binaries [debug,release]
14BUILD = release
15# C compiler
16CC = gcc
17# Name of your custom configuration. This affects directory
18# where object files are stored as well as the location of
19# compiled .lib files and setup.h under the lib/ toplevel directory.
20CFG =
21# Standard flags for CC
22CFLAGS =
23# Standard preprocessor flags (common for CC and CXX)
24CPPFLAGS =
25# C++ compiler
26CXX = g++
27# Standard flags for C++
28CXXFLAGS =
29# Set the version of your Mingw installation here.
30# "3" ...... this is for Mingw 2.0 or newer that cames with gcc3
31# "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]
32GCC_VERSION = 3
33# Standard linker flags
34LDFLAGS =
35# Multiple libraries or single huge monolithic one? [0,1]
36MONOLITHIC = 1
37# Is this official build by wxWindows developers? [0,1]
38OFFICIAL_BUILD = 0
39# What type of library to build? [0,1]
40SHARED = 1
41# Compile Unicode build of wxWindows? [0,1]
42UNICODE = 0
43# Build GUI libraries? [0,1]
44USE_GUI = 1
45# Use this to name your customized DLLs differently
46VENDOR = custom
47# Build wxUniversal instead of native port? [0,1]
48WXUNIV = 0
49
50# -------------------------------------------------------------------------
51# Do not modify the rest of this file!
52# -------------------------------------------------------------------------
53
54### Variables: ###
55
0ca0570d 56XRCDLL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\xrc\..\..\..\include -I..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\xrc\..\..\..\src\tiff -I..\..\src\xrc\..\..\..\src\jpeg -I..\..\src\xrc\..\..\..\src\png -I..\..\src\xrc\..\..\..\src\zlib -I..\..\src\xrc\..\..\..\src\regex -I..\..\src\xrc\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_XRC -I..\..\src\xrc\expat\xmlparse -I..\..\src\xrc\expat\xmltok $(CXXFLAGS)
2621ddf3 57OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
0ca0570d
VS
58XRCDLL_CFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\xrc\..\..\..\include -I..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\xrc\..\..\..\src\tiff -I..\..\src\xrc\..\..\..\src\jpeg -I..\..\src\xrc\..\..\..\src\png -I..\..\src\xrc\..\..\..\src\zlib -I..\..\src\xrc\..\..\..\src\regex -I..\..\src\xrc\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_XRC -I..\..\src\xrc\expat\xmlparse -I..\..\src\xrc\expat\xmltok $(CFLAGS)
59XRCLIB_CFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\xrc\..\..\..\include -I..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\xrc\..\..\..\src\tiff -I..\..\src\xrc\..\..\..\src\jpeg -I..\..\src\xrc\..\..\..\src\png -I..\..\src\xrc\..\..\..\src\zlib -I..\..\src\xrc\..\..\..\src\regex -I..\..\src\xrc\..\..\include -I..\..\src\xrc\expat\xmlparse -I..\..\src\xrc\expat\xmltok $(CFLAGS)
60XRCLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I..\..\src\xrc\..\..\..\include -I..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I..\..\src\xrc\..\..\..\src\tiff -I..\..\src\xrc\..\..\..\src\jpeg -I..\..\src\xrc\..\..\..\src\png -I..\..\src\xrc\..\..\..\src\zlib -I..\..\src\xrc\..\..\..\src\regex -I..\..\src\xrc\..\..\include -I..\..\src\xrc\expat\xmlparse -I..\..\src\xrc\expat\xmltok $(CXXFLAGS)
2621ddf3
VS
61
62### Conditionally set variables: ###
63
64ifeq ($(GCC_VERSION),2.95)
65GCCFLAGS = -fvtable-thunks
66endif
67ifeq ($(USE_GUI),0)
68PORTNAME = base
69endif
70ifeq ($(USE_GUI),1)
71PORTNAME = msw
72endif
73ifeq ($(OFFICIAL_BUILD),0)
74VENDORTAG = _$(VENDOR)
75endif
76ifeq ($(OFFICIAL_BUILD),1)
77VENDORTAG =
78endif
79ifeq ($(BUILD),debug)
80WXDEBUGFLAG = d
81endif
82ifeq ($(SHARED),1)
83WXDLLFLAG = dll
84endif
85ifeq ($(UNICODE),1)
86WXUNICODEFLAG = u
87endif
88ifeq ($(WXUNIV),1)
89WXUNIVNAME = univ
90endif
91ifeq ($(BUILD),debug)
92__DEBUGFLAG = -g
93endif
94ifeq ($(BUILD),release)
95__DEBUGFLAG =
96endif
97ifeq ($(BUILD),debug)
98__DEBUG_DEFINE_p = -D__WXDEBUG__
99endif
100ifeq ($(BUILD),debug)
101__OPTIMIZEFLAG = -O0
102endif
103ifeq ($(BUILD),release)
104__OPTIMIZEFLAG = -O2
105endif
106ifeq ($(UNICODE),1)
107__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
108endif
109ifeq ($(MONOLITHIC),0)
110__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
111endif
112ifeq ($(MONOLITHIC),0)
113__WXLIB_CORE_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
114endif
115ifeq ($(MONOLITHIC),0)
116__WXLIB_HTML_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
117endif
118ifeq ($(MONOLITHIC),1)
119__WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
120endif
121ifeq ($(WXUNIV),1)
122__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
123endif
124ifeq ($(SHARED),1)
125__install_xrcdll___depname = install_xrcdll
126endif
127ifeq ($(SHARED),0)
128__install_xrclib___depname = install_xrclib
129endif
130ifeq ($(SHARED),1)
131__xrcdll___depname = ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll
132endif
133ifeq ($(SHARED),0)
134__xrclib___depname = ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a
135endif
136
137
138all: $(OBJS)
139$(OBJS):
140 -if not exist $(OBJS) mkdir $(OBJS)
141
142### Targets: ###
143
144all: $(__xrcdll___depname) $(__xrclib___depname)
145
146$(OBJS)\xrcdll_dummy.o: ../../src/xrc\..\..\..\src\msw\dummy.cpp
147 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
148
149$(OBJS)\xrcdll_xh_bmp.o: ../../src/xrc\xh_bmp.cpp
150 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
151
152$(OBJS)\xrcdll_xh_bmpbt.o: ../../src/xrc\xh_bmpbt.cpp
153 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
154
155$(OBJS)\xrcdll_xh_bttn.o: ../../src/xrc\xh_bttn.cpp
156 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
157
158$(OBJS)\xrcdll_xh_cald.o: ../../src/xrc\xh_cald.cpp
159 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
160
161$(OBJS)\xrcdll_xh_chckb.o: ../../src/xrc\xh_chckb.cpp
162 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
163
164$(OBJS)\xrcdll_xh_chckl.o: ../../src/xrc\xh_chckl.cpp
165 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
166
167$(OBJS)\xrcdll_xh_choic.o: ../../src/xrc\xh_choic.cpp
168 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
169
170$(OBJS)\xrcdll_xh_combo.o: ../../src/xrc\xh_combo.cpp
171 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
172
173$(OBJS)\xrcdll_xh_dlg.o: ../../src/xrc\xh_dlg.cpp
174 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
175
176$(OBJS)\xrcdll_xh_frame.o: ../../src/xrc\xh_frame.cpp
177 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
178
179$(OBJS)\xrcdll_xh_gauge.o: ../../src/xrc\xh_gauge.cpp
180 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
181
182$(OBJS)\xrcdll_xh_gdctl.o: ../../src/xrc\xh_gdctl.cpp
183 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
184
185$(OBJS)\xrcdll_xh_html.o: ../../src/xrc\xh_html.cpp
186 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
187
188$(OBJS)\xrcdll_xh_listb.o: ../../src/xrc\xh_listb.cpp
189 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
190
191$(OBJS)\xrcdll_xh_listc.o: ../../src/xrc\xh_listc.cpp
192 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
193
194$(OBJS)\xrcdll_xh_menu.o: ../../src/xrc\xh_menu.cpp
195 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
196
197$(OBJS)\xrcdll_xh_notbk.o: ../../src/xrc\xh_notbk.cpp
198 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
199
200$(OBJS)\xrcdll_xh_panel.o: ../../src/xrc\xh_panel.cpp
201 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
202
203$(OBJS)\xrcdll_xh_radbt.o: ../../src/xrc\xh_radbt.cpp
204 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
205
206$(OBJS)\xrcdll_xh_radbx.o: ../../src/xrc\xh_radbx.cpp
207 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
208
209$(OBJS)\xrcdll_xh_scrol.o: ../../src/xrc\xh_scrol.cpp
210 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
211
212$(OBJS)\xrcdll_xh_scwin.o: ../../src/xrc\xh_scwin.cpp
213 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
214
215$(OBJS)\xrcdll_xh_sizer.o: ../../src/xrc\xh_sizer.cpp
216 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
217
218$(OBJS)\xrcdll_xh_slidr.o: ../../src/xrc\xh_slidr.cpp
219 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
220
221$(OBJS)\xrcdll_xh_spin.o: ../../src/xrc\xh_spin.cpp
222 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
223
224$(OBJS)\xrcdll_xh_split.o: ../../src/xrc\xh_split.cpp
225 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
226
227$(OBJS)\xrcdll_xh_stbmp.o: ../../src/xrc\xh_stbmp.cpp
228 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
229
230$(OBJS)\xrcdll_xh_stbox.o: ../../src/xrc\xh_stbox.cpp
231 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
232
233$(OBJS)\xrcdll_xh_stlin.o: ../../src/xrc\xh_stlin.cpp
234 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
235
236$(OBJS)\xrcdll_xh_sttxt.o: ../../src/xrc\xh_sttxt.cpp
237 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
238
239$(OBJS)\xrcdll_xh_text.o: ../../src/xrc\xh_text.cpp
240 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
241
242$(OBJS)\xrcdll_xh_toolb.o: ../../src/xrc\xh_toolb.cpp
243 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
244
245$(OBJS)\xrcdll_xh_tree.o: ../../src/xrc\xh_tree.cpp
246 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
247
248$(OBJS)\xrcdll_xh_unkwn.o: ../../src/xrc\xh_unkwn.cpp
249 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
250
251$(OBJS)\xrcdll_xh_wizrd.o: ../../src/xrc\xh_wizrd.cpp
252 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
253
254$(OBJS)\xrcdll_xml.o: ../../src/xrc\xml.cpp
255 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
256
257$(OBJS)\xrcdll_xmlparse.o: ../../src/xrc\expat\xmlparse\xmlparse.c
258 $(CC) -c -o $@ $(XRCDLL_CFLAGS) $<
259
260$(OBJS)\xrcdll_xmlres.o: ../../src/xrc\xmlres.cpp
261 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
262
263$(OBJS)\xrcdll_xmlrole.o: ../../src/xrc\expat\xmltok\xmlrole.c
264 $(CC) -c -o $@ $(XRCDLL_CFLAGS) $<
265
266$(OBJS)\xrcdll_xmlrsall.o: ../../src/xrc\xmlrsall.cpp
267 $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $<
268
269$(OBJS)\xrcdll_xmltok.o: ../../src/xrc\expat\xmltok\xmltok.c
270 $(CC) -c -o $@ $(XRCDLL_CFLAGS) $<
271
272$(OBJS)\xrclib_dummy.o: ../../src/xrc\..\..\..\src\msw\dummy.cpp
273 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
274
275$(OBJS)\xrclib_xh_bmp.o: ../../src/xrc\xh_bmp.cpp
276 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
277
278$(OBJS)\xrclib_xh_bmpbt.o: ../../src/xrc\xh_bmpbt.cpp
279 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
280
281$(OBJS)\xrclib_xh_bttn.o: ../../src/xrc\xh_bttn.cpp
282 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
283
284$(OBJS)\xrclib_xh_cald.o: ../../src/xrc\xh_cald.cpp
285 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
286
287$(OBJS)\xrclib_xh_chckb.o: ../../src/xrc\xh_chckb.cpp
288 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
289
290$(OBJS)\xrclib_xh_chckl.o: ../../src/xrc\xh_chckl.cpp
291 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
292
293$(OBJS)\xrclib_xh_choic.o: ../../src/xrc\xh_choic.cpp
294 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
295
296$(OBJS)\xrclib_xh_combo.o: ../../src/xrc\xh_combo.cpp
297 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
298
299$(OBJS)\xrclib_xh_dlg.o: ../../src/xrc\xh_dlg.cpp
300 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
301
302$(OBJS)\xrclib_xh_frame.o: ../../src/xrc\xh_frame.cpp
303 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
304
305$(OBJS)\xrclib_xh_gauge.o: ../../src/xrc\xh_gauge.cpp
306 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
307
308$(OBJS)\xrclib_xh_gdctl.o: ../../src/xrc\xh_gdctl.cpp
309 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
310
311$(OBJS)\xrclib_xh_html.o: ../../src/xrc\xh_html.cpp
312 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
313
314$(OBJS)\xrclib_xh_listb.o: ../../src/xrc\xh_listb.cpp
315 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
316
317$(OBJS)\xrclib_xh_listc.o: ../../src/xrc\xh_listc.cpp
318 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
319
320$(OBJS)\xrclib_xh_menu.o: ../../src/xrc\xh_menu.cpp
321 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
322
323$(OBJS)\xrclib_xh_notbk.o: ../../src/xrc\xh_notbk.cpp
324 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
325
326$(OBJS)\xrclib_xh_panel.o: ../../src/xrc\xh_panel.cpp
327 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
328
329$(OBJS)\xrclib_xh_radbt.o: ../../src/xrc\xh_radbt.cpp
330 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
331
332$(OBJS)\xrclib_xh_radbx.o: ../../src/xrc\xh_radbx.cpp
333 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
334
335$(OBJS)\xrclib_xh_scrol.o: ../../src/xrc\xh_scrol.cpp
336 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
337
338$(OBJS)\xrclib_xh_scwin.o: ../../src/xrc\xh_scwin.cpp
339 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
340
341$(OBJS)\xrclib_xh_sizer.o: ../../src/xrc\xh_sizer.cpp
342 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
343
344$(OBJS)\xrclib_xh_slidr.o: ../../src/xrc\xh_slidr.cpp
345 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
346
347$(OBJS)\xrclib_xh_spin.o: ../../src/xrc\xh_spin.cpp
348 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
349
350$(OBJS)\xrclib_xh_split.o: ../../src/xrc\xh_split.cpp
351 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
352
353$(OBJS)\xrclib_xh_stbmp.o: ../../src/xrc\xh_stbmp.cpp
354 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
355
356$(OBJS)\xrclib_xh_stbox.o: ../../src/xrc\xh_stbox.cpp
357 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
358
359$(OBJS)\xrclib_xh_stlin.o: ../../src/xrc\xh_stlin.cpp
360 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
361
362$(OBJS)\xrclib_xh_sttxt.o: ../../src/xrc\xh_sttxt.cpp
363 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
364
365$(OBJS)\xrclib_xh_text.o: ../../src/xrc\xh_text.cpp
366 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
367
368$(OBJS)\xrclib_xh_toolb.o: ../../src/xrc\xh_toolb.cpp
369 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
370
371$(OBJS)\xrclib_xh_tree.o: ../../src/xrc\xh_tree.cpp
372 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
373
374$(OBJS)\xrclib_xh_unkwn.o: ../../src/xrc\xh_unkwn.cpp
375 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
376
377$(OBJS)\xrclib_xh_wizrd.o: ../../src/xrc\xh_wizrd.cpp
378 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
379
380$(OBJS)\xrclib_xml.o: ../../src/xrc\xml.cpp
381 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
382
383$(OBJS)\xrclib_xmlparse.o: ../../src/xrc\expat\xmlparse\xmlparse.c
384 $(CC) -c -o $@ $(XRCLIB_CFLAGS) $<
385
386$(OBJS)\xrclib_xmlres.o: ../../src/xrc\xmlres.cpp
387 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
388
389$(OBJS)\xrclib_xmlrole.o: ../../src/xrc\expat\xmltok\xmlrole.c
390 $(CC) -c -o $@ $(XRCLIB_CFLAGS) $<
391
392$(OBJS)\xrclib_xmlrsall.o: ../../src/xrc\xmlrsall.cpp
393 $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $<
394
395$(OBJS)\xrclib_xmltok.o: ../../src/xrc\expat\xmltok\xmltok.c
396 $(CC) -c -o $@ $(XRCLIB_CFLAGS) $<
397
398clean:
399 -if exist $(OBJS)\*.o del $(OBJS)\*.o
400 -if exist ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll del ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll
401 -if exist ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a del ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a
402 -if exist ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a del ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a
403
404install: all $(__install_xrcdll___depname) $(__install_xrclib___depname)
405
406ifeq ($(SHARED),1)
407install_xrcdll:
408 mkdir /usr/local/lib
409 copy /Y ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a /usr/local/lib
410 copy /Y ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll /usr/local/lib
411endif
412
413ifeq ($(SHARED),0)
414install_xrclib:
415 mkdir /usr/local/lib
416 copy /Y ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a /usr/local/lib
417endif
418
419uninstall:
420
421ifeq ($(SHARED),1)
422..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc_gcc$(VENDORTAG).dll: $(OBJS)\xrcdll_dummy.o $(OBJS)\xrcdll_xmlparse.o $(OBJS)\xrcdll_xmltok.o $(OBJS)\xrcdll_xmlrole.o $(OBJS)\xrcdll_xml.o $(OBJS)\xrcdll_xmlres.o $(OBJS)\xrcdll_xh_bmp.o $(OBJS)\xrcdll_xh_bmpbt.o $(OBJS)\xrcdll_xh_bttn.o $(OBJS)\xrcdll_xh_cald.o $(OBJS)\xrcdll_xh_chckb.o $(OBJS)\xrcdll_xh_chckl.o $(OBJS)\xrcdll_xh_choic.o $(OBJS)\xrcdll_xh_combo.o $(OBJS)\xrcdll_xh_dlg.o $(OBJS)\xrcdll_xh_frame.o $(OBJS)\xrcdll_xh_gauge.o $(OBJS)\xrcdll_xh_gdctl.o $(OBJS)\xrcdll_xh_html.o $(OBJS)\xrcdll_xh_listb.o $(OBJS)\xrcdll_xh_listc.o $(OBJS)\xrcdll_xh_menu.o $(OBJS)\xrcdll_xh_notbk.o $(OBJS)\xrcdll_xh_panel.o $(OBJS)\xrcdll_xh_radbt.o $(OBJS)\xrcdll_xh_radbx.o $(OBJS)\xrcdll_xh_scrol.o $(OBJS)\xrcdll_xh_scwin.o $(OBJS)\xrcdll_xh_sizer.o $(OBJS)\xrcdll_xh_slidr.o $(OBJS)\xrcdll_xh_spin.o $(OBJS)\xrcdll_xh_split.o $(OBJS)\xrcdll_xh_stbmp.o $(OBJS)\xrcdll_xh_stbox.o $(OBJS)\xrcdll_xh_stlin.o $(OBJS)\xrcdll_xh_sttxt.o $(OBJS)\xrcdll_xh_text.o $(OBJS)\xrcdll_xh_toolb.o $(OBJS)\xrcdll_xh_tree.o $(OBJS)\xrcdll_xh_unkwn.o $(OBJS)\xrcdll_xh_wizrd.o $(OBJS)\xrcdll_xmlrsall.o
0ca0570d 423 $(CXX) -shared -o $@ $(OBJS)\xrcdll_dummy.o $(OBJS)\xrcdll_xmlparse.o $(OBJS)\xrcdll_xmltok.o $(OBJS)\xrcdll_xmlrole.o $(OBJS)\xrcdll_xml.o $(OBJS)\xrcdll_xmlres.o $(OBJS)\xrcdll_xh_bmp.o $(OBJS)\xrcdll_xh_bmpbt.o $(OBJS)\xrcdll_xh_bttn.o $(OBJS)\xrcdll_xh_cald.o $(OBJS)\xrcdll_xh_chckb.o $(OBJS)\xrcdll_xh_chckl.o $(OBJS)\xrcdll_xh_choic.o $(OBJS)\xrcdll_xh_combo.o $(OBJS)\xrcdll_xh_dlg.o $(OBJS)\xrcdll_xh_frame.o $(OBJS)\xrcdll_xh_gauge.o $(OBJS)\xrcdll_xh_gdctl.o $(OBJS)\xrcdll_xh_html.o $(OBJS)\xrcdll_xh_listb.o $(OBJS)\xrcdll_xh_listc.o $(OBJS)\xrcdll_xh_menu.o $(OBJS)\xrcdll_xh_notbk.o $(OBJS)\xrcdll_xh_panel.o $(OBJS)\xrcdll_xh_radbt.o $(OBJS)\xrcdll_xh_radbx.o $(OBJS)\xrcdll_xh_scrol.o $(OBJS)\xrcdll_xh_scwin.o $(OBJS)\xrcdll_xh_sizer.o $(OBJS)\xrcdll_xh_slidr.o $(OBJS)\xrcdll_xh_spin.o $(OBJS)\xrcdll_xh_split.o $(OBJS)\xrcdll_xh_stbmp.o $(OBJS)\xrcdll_xh_stbox.o $(OBJS)\xrcdll_xh_stlin.o $(OBJS)\xrcdll_xh_sttxt.o $(OBJS)\xrcdll_xh_text.o $(OBJS)\xrcdll_xh_toolb.o $(OBJS)\xrcdll_xh_tree.o $(OBJS)\xrcdll_xh_unkwn.o $(OBJS)\xrcdll_xh_wizrd.o $(OBJS)\xrcdll_xmlrsall.o $(LDFLAGS) -Wl,--out-implib,$(OBJS)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a $(__DEBUGFLAG) -mthreads -L..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--out-implib,..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(LIBPREFIX)wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a $(__WXLIB_MONO_p) -lwxtiff$(WXDEBUGFLAG) -lwxjpeg$(WXDEBUGFLAG) -lwxpng$(WXDEBUGFLAG) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
2621ddf3
VS
424endif
425
426ifeq ($(SHARED),0)
427..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a: $(OBJS)\xrclib_dummy.o $(OBJS)\xrclib_xmlparse.o $(OBJS)\xrclib_xmltok.o $(OBJS)\xrclib_xmlrole.o $(OBJS)\xrclib_xml.o $(OBJS)\xrclib_xmlres.o $(OBJS)\xrclib_xh_bmp.o $(OBJS)\xrclib_xh_bmpbt.o $(OBJS)\xrclib_xh_bttn.o $(OBJS)\xrclib_xh_cald.o $(OBJS)\xrclib_xh_chckb.o $(OBJS)\xrclib_xh_chckl.o $(OBJS)\xrclib_xh_choic.o $(OBJS)\xrclib_xh_combo.o $(OBJS)\xrclib_xh_dlg.o $(OBJS)\xrclib_xh_frame.o $(OBJS)\xrclib_xh_gauge.o $(OBJS)\xrclib_xh_gdctl.o $(OBJS)\xrclib_xh_html.o $(OBJS)\xrclib_xh_listb.o $(OBJS)\xrclib_xh_listc.o $(OBJS)\xrclib_xh_menu.o $(OBJS)\xrclib_xh_notbk.o $(OBJS)\xrclib_xh_panel.o $(OBJS)\xrclib_xh_radbt.o $(OBJS)\xrclib_xh_radbx.o $(OBJS)\xrclib_xh_scrol.o $(OBJS)\xrclib_xh_scwin.o $(OBJS)\xrclib_xh_sizer.o $(OBJS)\xrclib_xh_slidr.o $(OBJS)\xrclib_xh_spin.o $(OBJS)\xrclib_xh_split.o $(OBJS)\xrclib_xh_stbmp.o $(OBJS)\xrclib_xh_stbox.o $(OBJS)\xrclib_xh_stlin.o $(OBJS)\xrclib_xh_sttxt.o $(OBJS)\xrclib_xh_text.o $(OBJS)\xrclib_xh_toolb.o $(OBJS)\xrclib_xh_tree.o $(OBJS)\xrclib_xh_unkwn.o $(OBJS)\xrclib_xh_wizrd.o $(OBJS)\xrclib_xmlrsall.o
428 if exist $@ del $@
429 ar rcu $@ $(OBJS)\xrclib_dummy.o $(OBJS)\xrclib_xmlparse.o $(OBJS)\xrclib_xmltok.o $(OBJS)\xrclib_xmlrole.o $(OBJS)\xrclib_xml.o $(OBJS)\xrclib_xmlres.o $(OBJS)\xrclib_xh_bmp.o $(OBJS)\xrclib_xh_bmpbt.o $(OBJS)\xrclib_xh_bttn.o $(OBJS)\xrclib_xh_cald.o $(OBJS)\xrclib_xh_chckb.o $(OBJS)\xrclib_xh_chckl.o $(OBJS)\xrclib_xh_choic.o $(OBJS)\xrclib_xh_combo.o $(OBJS)\xrclib_xh_dlg.o $(OBJS)\xrclib_xh_frame.o $(OBJS)\xrclib_xh_gauge.o $(OBJS)\xrclib_xh_gdctl.o $(OBJS)\xrclib_xh_html.o $(OBJS)\xrclib_xh_listb.o $(OBJS)\xrclib_xh_listc.o $(OBJS)\xrclib_xh_menu.o $(OBJS)\xrclib_xh_notbk.o $(OBJS)\xrclib_xh_panel.o $(OBJS)\xrclib_xh_radbt.o $(OBJS)\xrclib_xh_radbx.o $(OBJS)\xrclib_xh_scrol.o $(OBJS)\xrclib_xh_scwin.o $(OBJS)\xrclib_xh_sizer.o $(OBJS)\xrclib_xh_slidr.o $(OBJS)\xrclib_xh_spin.o $(OBJS)\xrclib_xh_split.o $(OBJS)\xrclib_xh_stbmp.o $(OBJS)\xrclib_xh_stbox.o $(OBJS)\xrclib_xh_stlin.o $(OBJS)\xrclib_xh_sttxt.o $(OBJS)\xrclib_xh_text.o $(OBJS)\xrclib_xh_toolb.o $(OBJS)\xrclib_xh_tree.o $(OBJS)\xrclib_xh_unkwn.o $(OBJS)\xrclib_xh_wizrd.o $(OBJS)\xrclib_xmlrsall.o
430 ranlib $@
431endif
432
0ca0570d 433.PHONY: all clean install install_xrcdll install_xrclib uninstall