]>
Commit | Line | Data |
---|---|---|
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] | |
14 | BUILD = release | |
15 | # C compiler | |
16 | CC = 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. | |
20 | CFG = | |
21 | # Standard flags for CC | |
22 | CFLAGS = | |
23 | # Standard preprocessor flags (common for CC and CXX) | |
24 | CPPFLAGS = | |
25 | # C++ compiler | |
26 | CXX = g++ | |
27 | # Standard flags for C++ | |
28 | CXXFLAGS = | |
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] | |
32 | GCC_VERSION = 3 | |
33 | # Standard linker flags | |
34 | LDFLAGS = | |
35 | # Multiple libraries or single huge monolithic one? [0,1] | |
36 | MONOLITHIC = 1 | |
37 | # Is this official build by wxWindows developers? [0,1] | |
38 | OFFICIAL_BUILD = 0 | |
39 | # What type of library to build? [0,1] | |
40 | SHARED = 1 | |
41 | # Compile Unicode build of wxWindows? [0,1] | |
42 | UNICODE = 0 | |
43 | # Build GUI libraries? [0,1] | |
44 | USE_GUI = 1 | |
45 | # Use this to name your customized DLLs differently | |
46 | VENDOR = custom | |
47 | # Build wxUniversal instead of native port? [0,1] | |
48 | WXUNIV = 0 | |
49 | ||
50 | # ------------------------------------------------------------------------- | |
51 | # Do not modify the rest of this file! | |
52 | # ------------------------------------------------------------------------- | |
53 | ||
54 | ### Variables: ### | |
55 | ||
56 | XRCDLL_CXXFLAGS = $(CPPFLAGS) -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 $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -DWINVER=0x0400 -D_WIN32_IE=0x0400 -DSTRICT $(GCCFLAGS) -DHAVE_W32API_H -I../../src/xrc/../../include -DWXUSINGDLL -DWXMAKINGDLL_XRC -I../../src/xrc/expat/xmlparse -I../../src/xrc/expat/xmltok $(CXXFLAGS) | |
57 | OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
58 | XRCDLL_CFLAGS = $(CPPFLAGS) -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 $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -DWINVER=0x0400 -D_WIN32_IE=0x0400 -DSTRICT $(GCCFLAGS) -DHAVE_W32API_H -I../../src/xrc/../../include -DWXUSINGDLL -DWXMAKINGDLL_XRC -I../../src/xrc/expat/xmlparse -I../../src/xrc/expat/xmltok $(CFLAGS) | |
59 | XRCLIB_CFLAGS = $(CPPFLAGS) -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 $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -DWINVER=0x0400 -D_WIN32_IE=0x0400 -DSTRICT $(GCCFLAGS) -DHAVE_W32API_H -I../../src/xrc/../../include -I../../src/xrc/expat/xmlparse -I../../src/xrc/expat/xmltok $(CFLAGS) | |
60 | XRCLIB_CXXFLAGS = $(CPPFLAGS) -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 $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -DWINVER=0x0400 -D_WIN32_IE=0x0400 -DSTRICT $(GCCFLAGS) -DHAVE_W32API_H -I../../src/xrc/../../include -I../../src/xrc/expat/xmlparse -I../../src/xrc/expat/xmltok $(CXXFLAGS) | |
61 | ||
62 | ### Conditionally set variables: ### | |
63 | ||
64 | ifeq ($(GCC_VERSION),2.95) | |
65 | GCCFLAGS = -fvtable-thunks | |
66 | endif | |
67 | ifeq ($(USE_GUI),0) | |
68 | PORTNAME = base | |
69 | endif | |
70 | ifeq ($(USE_GUI),1) | |
71 | PORTNAME = msw | |
72 | endif | |
73 | ifeq ($(OFFICIAL_BUILD),0) | |
74 | VENDORTAG = _$(VENDOR) | |
75 | endif | |
76 | ifeq ($(OFFICIAL_BUILD),1) | |
77 | VENDORTAG = | |
78 | endif | |
79 | ifeq ($(BUILD),debug) | |
80 | WXDEBUGFLAG = d | |
81 | endif | |
82 | ifeq ($(SHARED),1) | |
83 | WXDLLFLAG = dll | |
84 | endif | |
85 | ifeq ($(UNICODE),1) | |
86 | WXUNICODEFLAG = u | |
87 | endif | |
88 | ifeq ($(WXUNIV),1) | |
89 | WXUNIVNAME = univ | |
90 | endif | |
91 | ifeq ($(BUILD),debug) | |
92 | __DEBUGFLAG = -g | |
93 | endif | |
94 | ifeq ($(BUILD),release) | |
95 | __DEBUGFLAG = | |
96 | endif | |
97 | ifeq ($(BUILD),debug) | |
98 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
99 | endif | |
100 | ifeq ($(BUILD),debug) | |
101 | __OPTIMIZEFLAG = -O0 | |
102 | endif | |
103 | ifeq ($(BUILD),release) | |
104 | __OPTIMIZEFLAG = -O2 | |
105 | endif | |
106 | ifeq ($(UNICODE),1) | |
107 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 | |
108 | endif | |
109 | ifeq ($(MONOLITHIC),0) | |
110 | __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
111 | endif | |
112 | ifeq ($(MONOLITHIC),0) | |
113 | __WXLIB_CORE_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core | |
114 | endif | |
115 | ifeq ($(MONOLITHIC),0) | |
116 | __WXLIB_HTML_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html | |
117 | endif | |
118 | ifeq ($(MONOLITHIC),1) | |
119 | __WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
120 | endif | |
121 | ifeq ($(WXUNIV),1) | |
122 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
123 | endif | |
124 | ifeq ($(SHARED),1) | |
125 | __install_xrcdll___depname = install_xrcdll | |
126 | endif | |
127 | ifeq ($(SHARED),0) | |
128 | __install_xrclib___depname = install_xrclib | |
129 | endif | |
130 | ifeq ($(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 | |
132 | endif | |
133 | ifeq ($(SHARED),0) | |
134 | __xrclib___depname = ..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.a | |
135 | endif | |
136 | ||
137 | ||
138 | all: $(OBJS) | |
139 | $(OBJS): | |
140 | -if not exist $(OBJS) mkdir $(OBJS) | |
141 | ||
142 | ### Targets: ### | |
143 | ||
144 | all: $(__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 | ||
398 | clean: | |
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 | ||
404 | install: all $(__install_xrcdll___depname) $(__install_xrclib___depname) | |
405 | ||
406 | ifeq ($(SHARED),1) | |
407 | install_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 | |
411 | endif | |
412 | ||
413 | ifeq ($(SHARED),0) | |
414 | install_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 | |
417 | endif | |
418 | ||
419 | uninstall: | |
420 | ||
421 | ifeq ($(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 | |
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 -L..\..\src\xrc\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) $(__DEBUGFLAG) -mthreads -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) | |
424 | endif | |
425 | ||
426 | ifeq ($(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 $@ | |
431 | endif | |
432 | ||
433 | .PHONY: all |