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