]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.5 (http://www.bakefile.org) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | !include ../build/msw/config.wat | |
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: | |
26 | WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- | |
27 | ||
28 | ### Conditionally set variables: ### | |
29 | ||
30 | PORTNAME = | |
31 | !ifeq USE_GUI 0 | |
32 | PORTNAME = base | |
33 | !endif | |
34 | !ifeq USE_GUI 1 | |
35 | PORTNAME = msw | |
36 | !endif | |
37 | WXDEBUGFLAG = | |
38 | !ifeq BUILD debug | |
39 | !ifeq DEBUG_FLAG default | |
40 | WXDEBUGFLAG = d | |
41 | !endif | |
42 | !endif | |
43 | !ifeq DEBUG_FLAG 1 | |
44 | WXDEBUGFLAG = d | |
45 | !endif | |
46 | WXUNICODEFLAG = | |
47 | !ifeq UNICODE 1 | |
48 | WXUNICODEFLAG = u | |
49 | !endif | |
50 | WXUNIVNAME = | |
51 | !ifeq WXUNIV 1 | |
52 | WXUNIVNAME = univ | |
53 | !endif | |
54 | WXDLLFLAG = | |
55 | !ifeq SHARED 1 | |
56 | WXDLLFLAG = dll | |
57 | !endif | |
58 | LIBTYPE_SUFFIX = | |
59 | !ifeq SHARED 0 | |
60 | LIBTYPE_SUFFIX = lib | |
61 | !endif | |
62 | !ifeq SHARED 1 | |
63 | LIBTYPE_SUFFIX = dll | |
64 | !endif | |
65 | EXTRALIBS_FOR_BASE = | |
66 | !ifeq MONOLITHIC 0 | |
67 | EXTRALIBS_FOR_BASE = | |
68 | !endif | |
69 | !ifeq MONOLITHIC 1 | |
70 | EXTRALIBS_FOR_BASE = | |
71 | !endif | |
72 | __WXLIB_XML_p = | |
73 | !ifeq MONOLITHIC 0 | |
74 | __WXLIB_XML_p = & | |
75 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib | |
76 | !endif | |
77 | __test_gui___depname = | |
78 | !ifeq USE_GUI 1 | |
79 | __test_gui___depname = $(OBJS)\test_gui.exe | |
80 | !endif | |
81 | __WXLIB_HTML_p = | |
82 | !ifeq MONOLITHIC 0 | |
83 | __WXLIB_HTML_p = & | |
84 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib | |
85 | !endif | |
86 | __WXLIB_CORE_p = | |
87 | !ifeq MONOLITHIC 0 | |
88 | __WXLIB_CORE_p = & | |
89 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
90 | !endif | |
91 | __LIB_TIFF_p = | |
92 | !ifeq USE_GUI 1 | |
93 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
94 | !endif | |
95 | __LIB_JPEG_p = | |
96 | !ifeq USE_GUI 1 | |
97 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
98 | !endif | |
99 | __LIB_PNG_p = | |
100 | !ifeq USE_GUI 1 | |
101 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
102 | !endif | |
103 | __WXLIB_NET_p = | |
104 | !ifeq MONOLITHIC 0 | |
105 | __WXLIB_NET_p = & | |
106 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
107 | !endif | |
108 | __DEBUGINFO = | |
109 | !ifeq BUILD debug | |
110 | !ifeq DEBUG_INFO default | |
111 | __DEBUGINFO = -d2 | |
112 | !endif | |
113 | !endif | |
114 | !ifeq BUILD release | |
115 | !ifeq DEBUG_INFO default | |
116 | __DEBUGINFO = -d0 | |
117 | !endif | |
118 | !endif | |
119 | !ifeq DEBUG_INFO 0 | |
120 | __DEBUGINFO = -d0 | |
121 | !endif | |
122 | !ifeq DEBUG_INFO 1 | |
123 | __DEBUGINFO = -d2 | |
124 | !endif | |
125 | __DEBUGINFO_2 = | |
126 | !ifeq BUILD debug | |
127 | !ifeq DEBUG_INFO default | |
128 | __DEBUGINFO_2 = debug all | |
129 | !endif | |
130 | !endif | |
131 | !ifeq BUILD release | |
132 | !ifeq DEBUG_INFO default | |
133 | __DEBUGINFO_2 = | |
134 | !endif | |
135 | !endif | |
136 | !ifeq DEBUG_INFO 0 | |
137 | __DEBUGINFO_2 = | |
138 | !endif | |
139 | !ifeq DEBUG_INFO 1 | |
140 | __DEBUGINFO_2 = debug all | |
141 | !endif | |
142 | __OPTIMIZEFLAG = | |
143 | !ifeq BUILD debug | |
144 | __OPTIMIZEFLAG = -od | |
145 | !endif | |
146 | !ifeq BUILD release | |
147 | __OPTIMIZEFLAG = -ot -ox | |
148 | !endif | |
149 | __THREADSFLAG = | |
150 | !ifeq USE_THREADS 0 | |
151 | __THREADSFLAG = | |
152 | !endif | |
153 | !ifeq USE_THREADS 1 | |
154 | __THREADSFLAG = -bm | |
155 | !endif | |
156 | __RUNTIME_LIBS = | |
157 | !ifeq RUNTIME_LIBS dynamic | |
158 | __RUNTIME_LIBS = -br | |
159 | !endif | |
160 | !ifeq RUNTIME_LIBS static | |
161 | __RUNTIME_LIBS = | |
162 | !endif | |
163 | __RTTIFLAG = | |
164 | !ifeq USE_RTTI 0 | |
165 | __RTTIFLAG = | |
166 | !endif | |
167 | !ifeq USE_RTTI 1 | |
168 | __RTTIFLAG = -xr | |
169 | !endif | |
170 | __EXCEPTIONSFLAG = | |
171 | !ifeq USE_EXCEPTIONS 0 | |
172 | __EXCEPTIONSFLAG = | |
173 | !endif | |
174 | !ifeq USE_EXCEPTIONS 1 | |
175 | __EXCEPTIONSFLAG = -xs | |
176 | !endif | |
177 | __WXUNIV_DEFINE_p = | |
178 | !ifeq WXUNIV 1 | |
179 | __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__ | |
180 | !endif | |
181 | __DEBUG_DEFINE_p = | |
182 | !ifeq BUILD debug | |
183 | !ifeq DEBUG_FLAG default | |
184 | __DEBUG_DEFINE_p = -d__WXDEBUG__ | |
185 | !endif | |
186 | !endif | |
187 | !ifeq DEBUG_FLAG 1 | |
188 | __DEBUG_DEFINE_p = -d__WXDEBUG__ | |
189 | !endif | |
190 | __EXCEPTIONS_DEFINE_p = | |
191 | !ifeq USE_EXCEPTIONS 0 | |
192 | __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS | |
193 | !endif | |
194 | __RTTI_DEFINE_p = | |
195 | !ifeq USE_RTTI 0 | |
196 | __RTTI_DEFINE_p = -dwxNO_RTTI | |
197 | !endif | |
198 | __THREAD_DEFINE_p = | |
199 | !ifeq USE_THREADS 0 | |
200 | __THREAD_DEFINE_p = -dwxNO_THREADS | |
201 | !endif | |
202 | __UNICODE_DEFINE_p = | |
203 | !ifeq UNICODE 0 | |
204 | __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0 | |
205 | !endif | |
206 | !ifeq UNICODE 1 | |
207 | __UNICODE_DEFINE_p = -d_UNICODE | |
208 | !endif | |
209 | __GFXCTX_DEFINE_p = | |
210 | !ifeq USE_GDIPLUS 1 | |
211 | __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1 | |
212 | !endif | |
213 | __DLLFLAG_p = | |
214 | !ifeq SHARED 1 | |
215 | __DLLFLAG_p = -dWXUSINGDLL | |
216 | !endif | |
217 | __WXLIB_BASE_p = | |
218 | !ifeq MONOLITHIC 0 | |
219 | __WXLIB_BASE_p = & | |
220 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
221 | !endif | |
222 | __WXLIB_MONO_p = | |
223 | !ifeq MONOLITHIC 1 | |
224 | __WXLIB_MONO_p = & | |
225 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
226 | !endif | |
227 | __GDIPLUS_LIB_p = | |
228 | !ifeq USE_GDIPLUS 1 | |
229 | __GDIPLUS_LIB_p = gdiplus.lib | |
230 | !endif | |
231 | ||
232 | ### Variables: ### | |
233 | ||
234 | WX_RELEASE_NODOT = 29 | |
235 | COMPILER_PREFIX = wat | |
236 | OBJS = & | |
237 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
238 | LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
239 | SETUPHDIR = & | |
240 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
241 | TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & | |
242 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
243 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & | |
244 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & | |
245 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 & | |
246 | $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test.pch $(__RTTIFLAG) & | |
247 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
248 | TEST_OBJECTS = & | |
249 | $(OBJS)\test_dummy.obj & | |
250 | $(OBJS)\test_test.obj & | |
251 | $(OBJS)\test_archivetest.obj & | |
252 | $(OBJS)\test_ziptest.obj & | |
253 | $(OBJS)\test_tartest.obj & | |
254 | $(OBJS)\test_arrays.obj & | |
255 | $(OBJS)\test_base64.obj & | |
256 | $(OBJS)\test_cmdlinetest.obj & | |
257 | $(OBJS)\test_fileconf.obj & | |
258 | $(OBJS)\test_datetimetest.obj & | |
259 | $(OBJS)\test_timertest.obj & | |
260 | $(OBJS)\test_filekind.obj & | |
261 | $(OBJS)\test_filenametest.obj & | |
262 | $(OBJS)\test_filesystest.obj & | |
263 | $(OBJS)\test_fontmaptest.obj & | |
264 | $(OBJS)\test_formatconvertertest.obj & | |
265 | $(OBJS)\test_hashes.obj & | |
266 | $(OBJS)\test_intltest.obj & | |
267 | $(OBJS)\test_lists.obj & | |
268 | $(OBJS)\test_longlongtest.obj & | |
269 | $(OBJS)\test_convautotest.obj & | |
270 | $(OBJS)\test_mbconvtest.obj & | |
271 | $(OBJS)\test_misctests.obj & | |
272 | $(OBJS)\test_ipc.obj & | |
273 | $(OBJS)\test_socket.obj & | |
274 | $(OBJS)\test_regextest.obj & | |
275 | $(OBJS)\test_wxregextest.obj & | |
276 | $(OBJS)\test_scopeguardtest.obj & | |
277 | $(OBJS)\test_iostream.obj & | |
278 | $(OBJS)\test_strings.obj & | |
279 | $(OBJS)\test_stdstrings.obj & | |
280 | $(OBJS)\test_tokenizer.obj & | |
281 | $(OBJS)\test_unichar.obj & | |
282 | $(OBJS)\test_unicode.obj & | |
283 | $(OBJS)\test_vararg.obj & | |
284 | $(OBJS)\test_crt.obj & | |
285 | $(OBJS)\test_vsnprintf.obj & | |
286 | $(OBJS)\test_bstream.obj & | |
287 | $(OBJS)\test_datastreamtest.obj & | |
288 | $(OBJS)\test_ffilestream.obj & | |
289 | $(OBJS)\test_fileback.obj & | |
290 | $(OBJS)\test_filestream.obj & | |
291 | $(OBJS)\test_iostreams.obj & | |
292 | $(OBJS)\test_largefile.obj & | |
293 | $(OBJS)\test_memstream.obj & | |
294 | $(OBJS)\test_socketstream.obj & | |
295 | $(OBJS)\test_sstream.obj & | |
296 | $(OBJS)\test_tempfile.obj & | |
297 | $(OBJS)\test_textstreamtest.obj & | |
298 | $(OBJS)\test_zlibstream.obj & | |
299 | $(OBJS)\test_textfiletest.obj & | |
300 | $(OBJS)\test_atomic.obj & | |
301 | $(OBJS)\test_queue.obj & | |
302 | $(OBJS)\test_tls.obj & | |
303 | $(OBJS)\test_uris.obj & | |
304 | $(OBJS)\test_vectors.obj & | |
305 | $(OBJS)\test_evtconnection.obj & | |
306 | $(OBJS)\test_weakref.obj & | |
307 | $(OBJS)\test_xlocale.obj & | |
308 | $(OBJS)\test_xmltest.obj | |
309 | TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & | |
310 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
311 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & | |
312 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & | |
313 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\samples & | |
314 | -dNOPCH $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) & | |
315 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
316 | TEST_GUI_OBJECTS = & | |
317 | $(OBJS)\test_gui_dummy.obj & | |
318 | $(OBJS)\test_gui_test.obj & | |
319 | $(OBJS)\test_gui_rect.obj & | |
320 | $(OBJS)\test_gui_size.obj & | |
321 | $(OBJS)\test_gui_point.obj & | |
322 | $(OBJS)\test_gui_config.obj & | |
323 | $(OBJS)\test_gui_comboboxtest.obj & | |
324 | $(OBJS)\test_gui_headerctrltest.obj & | |
325 | $(OBJS)\test_gui_listctrltest.obj & | |
326 | $(OBJS)\test_gui_textctrltest.obj & | |
327 | $(OBJS)\test_gui_textentrytest.obj & | |
328 | $(OBJS)\test_gui_rawbmp.obj & | |
329 | $(OBJS)\test_gui_htmlwindow.obj & | |
330 | $(OBJS)\test_gui_guifuncs.obj & | |
331 | $(OBJS)\test_gui_selstoretest.obj & | |
332 | $(OBJS)\test_gui_socket.obj & | |
333 | $(OBJS)\test_gui_clientsize.obj & | |
334 | $(OBJS)\test_gui_setsize.obj | |
335 | PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & | |
336 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
337 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & | |
338 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & | |
339 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 & | |
340 | $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_printfbench.pch $(__RTTIFLAG) & | |
341 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
342 | PRINTFBENCH_OBJECTS = & | |
343 | $(OBJS)\printfbench_dummy.obj & | |
344 | $(OBJS)\printfbench_printfbench.obj | |
345 | ||
346 | ||
347 | all : $(OBJS) | |
348 | $(OBJS) : | |
349 | -if not exist $(OBJS) mkdir $(OBJS) | |
350 | ||
351 | ### Targets: ### | |
352 | ||
353 | all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe | |
354 | ||
355 | clean : .SYMBOLIC | |
356 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
357 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
358 | -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc | |
359 | -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk | |
360 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch | |
361 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe | |
362 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe | |
363 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe | |
364 | ||
365 | $(OBJS)\test.exe : $(TEST_OBJECTS) | |
366 | @%create $(OBJS)\test.lbc | |
367 | @%append $(OBJS)\test.lbc option quiet | |
368 | @%append $(OBJS)\test.lbc name $^@ | |
369 | @%append $(OBJS)\test.lbc option caseexact | |
370 | @%append $(OBJS)\test.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS) | |
371 | @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i | |
372 | @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_XML_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\test.lbc library %i | |
373 | @%append $(OBJS)\test.lbc | |
374 | @for %i in () do @%append $(OBJS)\test.lbc option stack=%i | |
375 | wlink @$(OBJS)\test.lbc | |
376 | ||
377 | !ifeq USE_GUI 1 | |
378 | $(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
379 | @%create $(OBJS)\test_gui.lbc | |
380 | @%append $(OBJS)\test_gui.lbc option quiet | |
381 | @%append $(OBJS)\test_gui.lbc name $^@ | |
382 | @%append $(OBJS)\test_gui.lbc option caseexact | |
383 | @%append $(OBJS)\test_gui.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_' $(LDFLAGS) | |
384 | @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i | |
385 | @for %i in ( $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\test_gui.lbc library %i | |
386 | @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res | |
387 | @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i | |
388 | wlink @$(OBJS)\test_gui.lbc | |
389 | !endif | |
390 | ||
391 | data : .SYMBOLIC | |
392 | if not exist $(OBJS) mkdir $(OBJS) | |
393 | for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
394 | ||
395 | fr : .SYMBOLIC | |
396 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
397 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr | |
398 | ||
399 | $(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS) | |
400 | @%create $(OBJS)\printfbench.lbc | |
401 | @%append $(OBJS)\printfbench.lbc option quiet | |
402 | @%append $(OBJS)\printfbench.lbc name $^@ | |
403 | @%append $(OBJS)\printfbench.lbc option caseexact | |
404 | @%append $(OBJS)\printfbench.lbc $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS) | |
405 | @for %i in ($(PRINTFBENCH_OBJECTS)) do @%append $(OBJS)\printfbench.lbc file %i | |
406 | @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\printfbench.lbc library %i | |
407 | @%append $(OBJS)\printfbench.lbc | |
408 | @for %i in () do @%append $(OBJS)\printfbench.lbc option stack=%i | |
409 | wlink @$(OBJS)\printfbench.lbc | |
410 | ||
411 | $(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp | |
412 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
413 | ||
414 | $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp | |
415 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
416 | ||
417 | $(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp | |
418 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
419 | ||
420 | $(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp | |
421 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
422 | ||
423 | $(OBJS)\test_tartest.obj : .AUTODEPEND .\archive\tartest.cpp | |
424 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
425 | ||
426 | $(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp | |
427 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
428 | ||
429 | $(OBJS)\test_base64.obj : .AUTODEPEND .\base64\base64.cpp | |
430 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
431 | ||
432 | $(OBJS)\test_cmdlinetest.obj : .AUTODEPEND .\cmdline\cmdlinetest.cpp | |
433 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
434 | ||
435 | $(OBJS)\test_fileconf.obj : .AUTODEPEND .\config\fileconf.cpp | |
436 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
437 | ||
438 | $(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp | |
439 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
440 | ||
441 | $(OBJS)\test_timertest.obj : .AUTODEPEND .\events\timertest.cpp | |
442 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
443 | ||
444 | $(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp | |
445 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
446 | ||
447 | $(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp | |
448 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
449 | ||
450 | $(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp | |
451 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
452 | ||
453 | $(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp | |
454 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
455 | ||
456 | $(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp | |
457 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
458 | ||
459 | $(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp | |
460 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
461 | ||
462 | $(OBJS)\test_intltest.obj : .AUTODEPEND .\intl\intltest.cpp | |
463 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
464 | ||
465 | $(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp | |
466 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
467 | ||
468 | $(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp | |
469 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
470 | ||
471 | $(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp | |
472 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
473 | ||
474 | $(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp | |
475 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
476 | ||
477 | $(OBJS)\test_misctests.obj : .AUTODEPEND .\misc\misctests.cpp | |
478 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
479 | ||
480 | $(OBJS)\test_ipc.obj : .AUTODEPEND .\net\ipc.cpp | |
481 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
482 | ||
483 | $(OBJS)\test_socket.obj : .AUTODEPEND .\net\socket.cpp | |
484 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
485 | ||
486 | $(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp | |
487 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
488 | ||
489 | $(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp | |
490 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
491 | ||
492 | $(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp | |
493 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
494 | ||
495 | $(OBJS)\test_iostream.obj : .AUTODEPEND .\strings\iostream.cpp | |
496 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
497 | ||
498 | $(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp | |
499 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
500 | ||
501 | $(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp | |
502 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
503 | ||
504 | $(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp | |
505 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
506 | ||
507 | $(OBJS)\test_unichar.obj : .AUTODEPEND .\strings\unichar.cpp | |
508 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
509 | ||
510 | $(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp | |
511 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
512 | ||
513 | $(OBJS)\test_vararg.obj : .AUTODEPEND .\strings\vararg.cpp | |
514 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
515 | ||
516 | $(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp | |
517 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
518 | ||
519 | $(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp | |
520 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
521 | ||
522 | $(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp | |
523 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
524 | ||
525 | $(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp | |
526 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
527 | ||
528 | $(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp | |
529 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
530 | ||
531 | $(OBJS)\test_fileback.obj : .AUTODEPEND .\streams\fileback.cpp | |
532 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
533 | ||
534 | $(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp | |
535 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
536 | ||
537 | $(OBJS)\test_iostreams.obj : .AUTODEPEND .\streams\iostreams.cpp | |
538 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
539 | ||
540 | $(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp | |
541 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
542 | ||
543 | $(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp | |
544 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
545 | ||
546 | $(OBJS)\test_socketstream.obj : .AUTODEPEND .\streams\socketstream.cpp | |
547 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
548 | ||
549 | $(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp | |
550 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
551 | ||
552 | $(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp | |
553 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
554 | ||
555 | $(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp | |
556 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
557 | ||
558 | $(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp | |
559 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
560 | ||
561 | $(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp | |
562 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
563 | ||
564 | $(OBJS)\test_atomic.obj : .AUTODEPEND .\thread\atomic.cpp | |
565 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
566 | ||
567 | $(OBJS)\test_queue.obj : .AUTODEPEND .\thread\queue.cpp | |
568 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
569 | ||
570 | $(OBJS)\test_tls.obj : .AUTODEPEND .\thread\tls.cpp | |
571 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
572 | ||
573 | $(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp | |
574 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
575 | ||
576 | $(OBJS)\test_vectors.obj : .AUTODEPEND .\vectors\vectors.cpp | |
577 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
578 | ||
579 | $(OBJS)\test_evtconnection.obj : .AUTODEPEND .\weakref\evtconnection.cpp | |
580 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
581 | ||
582 | $(OBJS)\test_weakref.obj : .AUTODEPEND .\weakref\weakref.cpp | |
583 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
584 | ||
585 | $(OBJS)\test_xlocale.obj : .AUTODEPEND .\xlocale\xlocale.cpp | |
586 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
587 | ||
588 | $(OBJS)\test_xmltest.obj : .AUTODEPEND .\xml\xmltest.cpp | |
589 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
590 | ||
591 | $(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc | |
592 | wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include -i=. $(__DLLFLAG_p) -i=.\..\samples -dNOPCH $< | |
593 | ||
594 | $(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp | |
595 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
596 | ||
597 | $(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp | |
598 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
599 | ||
600 | $(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp | |
601 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
602 | ||
603 | $(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp | |
604 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
605 | ||
606 | $(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp | |
607 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
608 | ||
609 | $(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp | |
610 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
611 | ||
612 | $(OBJS)\test_gui_comboboxtest.obj : .AUTODEPEND .\controls\comboboxtest.cpp | |
613 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
614 | ||
615 | $(OBJS)\test_gui_headerctrltest.obj : .AUTODEPEND .\controls\headerctrltest.cpp | |
616 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
617 | ||
618 | $(OBJS)\test_gui_listctrltest.obj : .AUTODEPEND .\controls\listctrltest.cpp | |
619 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
620 | ||
621 | $(OBJS)\test_gui_textctrltest.obj : .AUTODEPEND .\controls\textctrltest.cpp | |
622 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
623 | ||
624 | $(OBJS)\test_gui_textentrytest.obj : .AUTODEPEND .\controls\textentrytest.cpp | |
625 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
626 | ||
627 | $(OBJS)\test_gui_rawbmp.obj : .AUTODEPEND .\image\rawbmp.cpp | |
628 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
629 | ||
630 | $(OBJS)\test_gui_htmlwindow.obj : .AUTODEPEND .\html\htmlwindow.cpp | |
631 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
632 | ||
633 | $(OBJS)\test_gui_guifuncs.obj : .AUTODEPEND .\misc\guifuncs.cpp | |
634 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
635 | ||
636 | $(OBJS)\test_gui_selstoretest.obj : .AUTODEPEND .\misc\selstoretest.cpp | |
637 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
638 | ||
639 | $(OBJS)\test_gui_socket.obj : .AUTODEPEND .\net\socket.cpp | |
640 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
641 | ||
642 | $(OBJS)\test_gui_clientsize.obj : .AUTODEPEND .\window\clientsize.cpp | |
643 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
644 | ||
645 | $(OBJS)\test_gui_setsize.obj : .AUTODEPEND .\window\setsize.cpp | |
646 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
647 | ||
648 | $(OBJS)\printfbench_dummy.obj : .AUTODEPEND .\dummy.cpp | |
649 | $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $< | |
650 | ||
651 | $(OBJS)\printfbench_printfbench.obj : .AUTODEPEND .\benchmarks\printfbench.cpp | |
652 | $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $< | |
653 |