]> git.saurik.com Git - wxWidgets.git/blob - tests/makefile.vc
set the PATH to contain ../lib/*_dll directories before running the tests
[wxWidgets.git] / tests / makefile.vc
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.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 29
16 COMPILER_PREFIX = vc
17 OBJS = \
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 LIBDIRNAME = \
20 .\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 TEST_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 $(__DEBUGINFO) \
24 /Fd$(OBJS)\test.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
25 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
26 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
27 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \
28 /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 \
29 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"testprec.h" \
30 /Fp"$(OBJS)\testprec_test.pch" $(CPPFLAGS) $(CXXFLAGS)
31 TEST_OBJECTS = \
32 $(OBJS)\test_dummy.obj \
33 $(OBJS)\test_test.obj \
34 $(OBJS)\test_archivetest.obj \
35 $(OBJS)\test_ziptest.obj \
36 $(OBJS)\test_tartest.obj \
37 $(OBJS)\test_arrays.obj \
38 $(OBJS)\test_base64.obj \
39 $(OBJS)\test_cmdlinetest.obj \
40 $(OBJS)\test_fileconf.obj \
41 $(OBJS)\test_datetimetest.obj \
42 $(OBJS)\test_evthandler.obj \
43 $(OBJS)\test_timertest.obj \
44 $(OBJS)\test_filekind.obj \
45 $(OBJS)\test_filenametest.obj \
46 $(OBJS)\test_filesystest.obj \
47 $(OBJS)\test_fontmaptest.obj \
48 $(OBJS)\test_formatconvertertest.obj \
49 $(OBJS)\test_hashes.obj \
50 $(OBJS)\test_intltest.obj \
51 $(OBJS)\test_lists.obj \
52 $(OBJS)\test_longlongtest.obj \
53 $(OBJS)\test_convautotest.obj \
54 $(OBJS)\test_mbconvtest.obj \
55 $(OBJS)\test_misctests.obj \
56 $(OBJS)\test_ipc.obj \
57 $(OBJS)\test_socket.obj \
58 $(OBJS)\test_regextest.obj \
59 $(OBJS)\test_wxregextest.obj \
60 $(OBJS)\test_scopeguardtest.obj \
61 $(OBJS)\test_iostream.obj \
62 $(OBJS)\test_strings.obj \
63 $(OBJS)\test_stdstrings.obj \
64 $(OBJS)\test_tokenizer.obj \
65 $(OBJS)\test_unichar.obj \
66 $(OBJS)\test_unicode.obj \
67 $(OBJS)\test_vararg.obj \
68 $(OBJS)\test_crt.obj \
69 $(OBJS)\test_vsnprintf.obj \
70 $(OBJS)\test_bstream.obj \
71 $(OBJS)\test_datastreamtest.obj \
72 $(OBJS)\test_ffilestream.obj \
73 $(OBJS)\test_fileback.obj \
74 $(OBJS)\test_filestream.obj \
75 $(OBJS)\test_iostreams.obj \
76 $(OBJS)\test_largefile.obj \
77 $(OBJS)\test_memstream.obj \
78 $(OBJS)\test_socketstream.obj \
79 $(OBJS)\test_sstream.obj \
80 $(OBJS)\test_tempfile.obj \
81 $(OBJS)\test_textstreamtest.obj \
82 $(OBJS)\test_zlibstream.obj \
83 $(OBJS)\test_textfiletest.obj \
84 $(OBJS)\test_atomic.obj \
85 $(OBJS)\test_queue.obj \
86 $(OBJS)\test_tls.obj \
87 $(OBJS)\test_uris.obj \
88 $(OBJS)\test_vectors.obj \
89 $(OBJS)\test_evtconnection.obj \
90 $(OBJS)\test_weakref.obj \
91 $(OBJS)\test_xlocale.obj \
92 $(OBJS)\test_xmltest.obj
93 TEST_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \
94 $(__DEBUGINFO) /Fd$(OBJS)\test_gui.pdb $(____DEBUGRUNTIME) \
95 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
96 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
97 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
98 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) \
99 /I.\..\samples /DNOPCH $(CPPUNIT_CFLAGS) /D_CONSOLE $(__RTTIFLAG) \
100 $(__EXCEPTIONSFLAG) /Yu"testprec.h" /Fp"$(OBJS)\testprec_test_gui.pch" \
101 $(CPPFLAGS) $(CXXFLAGS)
102 TEST_GUI_OBJECTS = \
103 $(OBJS)\test_gui_dummy.obj \
104 $(OBJS)\test_gui_sample.res \
105 $(OBJS)\test_gui_test.obj \
106 $(OBJS)\test_gui_rect.obj \
107 $(OBJS)\test_gui_size.obj \
108 $(OBJS)\test_gui_point.obj \
109 $(OBJS)\test_gui_config.obj \
110 $(OBJS)\test_gui_comboboxtest.obj \
111 $(OBJS)\test_gui_headerctrltest.obj \
112 $(OBJS)\test_gui_listctrltest.obj \
113 $(OBJS)\test_gui_textctrltest.obj \
114 $(OBJS)\test_gui_textentrytest.obj \
115 $(OBJS)\test_gui_treectrltest.obj \
116 $(OBJS)\test_gui_propagation.obj \
117 $(OBJS)\test_gui_fonttest.obj \
118 $(OBJS)\test_gui_rawbmp.obj \
119 $(OBJS)\test_gui_htmlwindow.obj \
120 $(OBJS)\test_gui_guifuncs.obj \
121 $(OBJS)\test_gui_selstoretest.obj \
122 $(OBJS)\test_gui_garbage.obj \
123 $(OBJS)\test_gui_socket.obj \
124 $(OBJS)\test_gui_clientsize.obj \
125 $(OBJS)\test_gui_setsize.obj
126 PRINTFBENCH_CXXFLAGS = /M$(__RUNTIME_LIBS_38)$(__DEBUGRUNTIME) /DWIN32 \
127 $(__DEBUGINFO) /Fd$(OBJS)\printfbench.pdb $(____DEBUGRUNTIME) \
128 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
129 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
130 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
131 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) \
132 /D_CONSOLE /DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
133 /Yu"testprec.h" /Fp"$(OBJS)\testprec_printfbench.pch" $(CPPFLAGS) \
134 $(CXXFLAGS)
135 PRINTFBENCH_OBJECTS = \
136 $(OBJS)\printfbench_dummy.obj \
137 $(OBJS)\printfbench_printfbench.obj
138
139 ### Conditionally set variables: ###
140
141 !if "$(USE_GUI)" == "0"
142 PORTNAME = base
143 !endif
144 !if "$(USE_GUI)" == "1"
145 PORTNAME = msw
146 !endif
147 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
148 WXDEBUGFLAG = d
149 !endif
150 !if "$(DEBUG_FLAG)" == "1"
151 WXDEBUGFLAG = d
152 !endif
153 !if "$(UNICODE)" == "1"
154 WXUNICODEFLAG = u
155 !endif
156 !if "$(WXUNIV)" == "1"
157 WXUNIVNAME = univ
158 !endif
159 !if "$(TARGET_CPU)" == "AMD64"
160 DIR_SUFFIX_CPU = _amd64
161 !endif
162 !if "$(TARGET_CPU)" == "IA64"
163 DIR_SUFFIX_CPU = _ia64
164 !endif
165 !if "$(TARGET_CPU)" == "amd64"
166 DIR_SUFFIX_CPU = _amd64
167 !endif
168 !if "$(TARGET_CPU)" == "ia64"
169 DIR_SUFFIX_CPU = _ia64
170 !endif
171 !if "$(SHARED)" == "1"
172 WXDLLFLAG = dll
173 !endif
174 !if "$(SHARED)" == "0"
175 LIBTYPE_SUFFIX = lib
176 !endif
177 !if "$(SHARED)" == "1"
178 LIBTYPE_SUFFIX = dll
179 !endif
180 !if "$(TARGET_CPU)" == "AMD64"
181 LINK_TARGET_CPU = /MACHINE:AMD64
182 !endif
183 !if "$(TARGET_CPU)" == "IA64"
184 LINK_TARGET_CPU = /MACHINE:IA64
185 !endif
186 !if "$(TARGET_CPU)" == "amd64"
187 LINK_TARGET_CPU = /MACHINE:AMD64
188 !endif
189 !if "$(TARGET_CPU)" == "ia64"
190 LINK_TARGET_CPU = /MACHINE:IA64
191 !endif
192 !if "$(MONOLITHIC)" == "0"
193 EXTRALIBS_FOR_BASE =
194 !endif
195 !if "$(MONOLITHIC)" == "1"
196 EXTRALIBS_FOR_BASE =
197 !endif
198 !if "$(RUNTIME_LIBS)" == "dynamic"
199 __RUNTIME_LIBS_8 = D
200 !endif
201 !if "$(RUNTIME_LIBS)" == "static"
202 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
203 !endif
204 !if "$(USE_GUI)" == "1"
205 __test_gui___depname = $(OBJS)\test_gui.exe
206 !endif
207 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
208 ____DEBUGRUNTIME_17_p_1 = /d _DEBUG
209 !endif
210 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
211 ____DEBUGRUNTIME_17_p_1 =
212 !endif
213 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
214 ____DEBUGRUNTIME_17_p_1 =
215 !endif
216 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
217 ____DEBUGRUNTIME_17_p_1 = /d _DEBUG
218 !endif
219 !if "$(RUNTIME_LIBS)" == "dynamic"
220 __RUNTIME_LIBS_23 = D
221 !endif
222 !if "$(RUNTIME_LIBS)" == "static"
223 __RUNTIME_LIBS_23 = $(__THREADSFLAG)
224 !endif
225 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
226 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
227 !endif
228 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
229 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
230 !endif
231 !if "$(WXUNIV)" == "1"
232 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
233 !endif
234 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
235 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
236 !endif
237 !if "$(DEBUG_FLAG)" == "1"
238 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
239 !endif
240 !if "$(USE_EXCEPTIONS)" == "0"
241 __EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS
242 !endif
243 !if "$(USE_RTTI)" == "0"
244 __RTTI_DEFINE_p_3 = /d wxNO_RTTI
245 !endif
246 !if "$(USE_THREADS)" == "0"
247 __THREAD_DEFINE_p_3 = /d wxNO_THREADS
248 !endif
249 !if "$(UNICODE)" == "0"
250 __UNICODE_DEFINE_p_3 = /d wxUSE_UNICODE=0
251 !endif
252 !if "$(UNICODE)" == "1"
253 __UNICODE_DEFINE_p_3 = /d _UNICODE
254 !endif
255 !if "$(MSLU)" == "1"
256 __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1
257 !endif
258 !if "$(USE_GDIPLUS)" == "1"
259 __GFXCTX_DEFINE_p_3 = /d wxUSE_GRAPHICS_CONTEXT=1
260 !endif
261 !if "$(SHARED)" == "1"
262 __DLLFLAG_p_3 = /d WXUSINGDLL
263 !endif
264 !if "$(MONOLITHIC)" == "0" && "$(USE_MEDIA)" == "1"
265 __WXLIB_MEDIA_p = \
266 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media.lib
267 !endif
268 !if "$(MONOLITHIC)" == "0"
269 __WXLIB_XRC_p = \
270 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib
271 !endif
272 !if "$(MONOLITHIC)" == "0"
273 __WXLIB_ADV_p = \
274 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
275 !endif
276 !if "$(MONOLITHIC)" == "0"
277 __WXLIB_HTML_p = \
278 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
279 !endif
280 !if "$(MONOLITHIC)" == "0"
281 __WXLIB_CORE_p = \
282 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
283 !endif
284 !if "$(USE_GUI)" == "1"
285 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
286 !endif
287 !if "$(USE_GUI)" == "1"
288 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
289 !endif
290 !if "$(USE_GUI)" == "1"
291 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
292 !endif
293 !if "$(RUNTIME_LIBS)" == "dynamic"
294 __RUNTIME_LIBS_38 = D
295 !endif
296 !if "$(RUNTIME_LIBS)" == "static"
297 __RUNTIME_LIBS_38 = $(__THREADSFLAG)
298 !endif
299 !if "$(MONOLITHIC)" == "0"
300 __WXLIB_NET_p = \
301 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
302 !endif
303 !if "$(MONOLITHIC)" == "0"
304 __WXLIB_XML_p = \
305 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
306 !endif
307 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
308 __DEBUGINFO = /Zi
309 !endif
310 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
311 __DEBUGINFO =
312 !endif
313 !if "$(DEBUG_INFO)" == "0"
314 __DEBUGINFO =
315 !endif
316 !if "$(DEBUG_INFO)" == "1"
317 __DEBUGINFO = /Zi
318 !endif
319 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
320 __DEBUGINFO_2 = /DEBUG
321 !endif
322 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
323 __DEBUGINFO_2 =
324 !endif
325 !if "$(DEBUG_INFO)" == "0"
326 __DEBUGINFO_2 =
327 !endif
328 !if "$(DEBUG_INFO)" == "1"
329 __DEBUGINFO_2 = /DEBUG
330 !endif
331 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
332 ____DEBUGRUNTIME = /D_DEBUG
333 !endif
334 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
335 ____DEBUGRUNTIME =
336 !endif
337 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
338 ____DEBUGRUNTIME =
339 !endif
340 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
341 ____DEBUGRUNTIME = /D_DEBUG
342 !endif
343 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
344 __DEBUGRUNTIME = d
345 !endif
346 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
347 __DEBUGRUNTIME =
348 !endif
349 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
350 __DEBUGRUNTIME =
351 !endif
352 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
353 __DEBUGRUNTIME = d
354 !endif
355 !if "$(BUILD)" == "debug"
356 __OPTIMIZEFLAG = /Od
357 !endif
358 !if "$(BUILD)" == "release"
359 __OPTIMIZEFLAG = /O2
360 !endif
361 !if "$(USE_THREADS)" == "0"
362 __THREADSFLAG = L
363 !endif
364 !if "$(USE_THREADS)" == "1"
365 __THREADSFLAG = T
366 !endif
367 !if "$(USE_RTTI)" == "0"
368 __RTTIFLAG =
369 !endif
370 !if "$(USE_RTTI)" == "1"
371 __RTTIFLAG = /GR
372 !endif
373 !if "$(USE_EXCEPTIONS)" == "0"
374 __EXCEPTIONSFLAG =
375 !endif
376 !if "$(USE_EXCEPTIONS)" == "1"
377 __EXCEPTIONSFLAG = /EHsc
378 !endif
379 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
380 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
381 !endif
382 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
383 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
384 !endif
385 !if "$(WXUNIV)" == "1"
386 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
387 !endif
388 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
389 __DEBUG_DEFINE_p = /D__WXDEBUG__
390 !endif
391 !if "$(DEBUG_FLAG)" == "1"
392 __DEBUG_DEFINE_p = /D__WXDEBUG__
393 !endif
394 !if "$(USE_EXCEPTIONS)" == "0"
395 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
396 !endif
397 !if "$(USE_RTTI)" == "0"
398 __RTTI_DEFINE_p = /DwxNO_RTTI
399 !endif
400 !if "$(USE_THREADS)" == "0"
401 __THREAD_DEFINE_p = /DwxNO_THREADS
402 !endif
403 !if "$(UNICODE)" == "0"
404 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
405 !endif
406 !if "$(UNICODE)" == "1"
407 __UNICODE_DEFINE_p = /D_UNICODE
408 !endif
409 !if "$(MSLU)" == "1"
410 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
411 !endif
412 !if "$(USE_GDIPLUS)" == "1"
413 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
414 !endif
415 !if "$(SHARED)" == "1"
416 __DLLFLAG_p = /DWXUSINGDLL
417 !endif
418 !if "$(MONOLITHIC)" == "0"
419 __WXLIB_BASE_p = \
420 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
421 !endif
422 !if "$(MONOLITHIC)" == "1"
423 __WXLIB_MONO_p = \
424 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
425 !endif
426 !if "$(MSLU)" == "1"
427 __UNICOWS_LIB_p = unicows.lib
428 !endif
429 !if "$(USE_GDIPLUS)" == "1"
430 __GDIPLUS_LIB_p = gdiplus.lib
431 !endif
432
433
434 all: $(OBJS)
435 $(OBJS):
436 -if not exist $(OBJS) mkdir $(OBJS)
437
438 ### Targets: ###
439
440 all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
441
442 clean:
443 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
444 -if exist $(OBJS)\*.res del $(OBJS)\*.res
445 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
446 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
447 -if exist $(OBJS)\test.ilk del $(OBJS)\test.ilk
448 -if exist $(OBJS)\test.pdb del $(OBJS)\test.pdb
449 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
450 -if exist $(OBJS)\test_gui.ilk del $(OBJS)\test_gui.ilk
451 -if exist $(OBJS)\test_gui.pdb del $(OBJS)\test_gui.pdb
452 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
453 -if exist $(OBJS)\printfbench.ilk del $(OBJS)\printfbench.ilk
454 -if exist $(OBJS)\printfbench.pdb del $(OBJS)\printfbench.pdb
455
456 $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS)
457 link /NOLOGO /OUT:$@ $(__DEBUGINFO_2) /pdb:"$(OBJS)\test.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) $(LDFLAGS) @<<
458 $(TEST_OBJECTS) $(__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) $(__UNICOWS_LIB_p) $(__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 wininet.lib
459 <<
460
461 !if "$(USE_GUI)" == "1"
462 $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
463 link /NOLOGO /OUT:$@ $(__DEBUGINFO_2) /pdb:"$(OBJS)\test_gui.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(CPPUNIT_LIBS) /SUBSYSTEM:CONSOLE $(LDFLAGS) @<<
464 $(TEST_GUI_OBJECTS) $(__WXLIB_MEDIA_p) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__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) $(__UNICOWS_LIB_p) $(__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 wininet.lib
465 <<
466 !endif
467
468 data:
469 if not exist $(OBJS) mkdir $(OBJS)
470 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
471
472 fr:
473 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
474 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr
475
476 $(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS)
477 link /NOLOGO /OUT:$@ $(__DEBUGINFO_2) /pdb:"$(OBJS)\printfbench.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) $(LDFLAGS) @<<
478 $(PRINTFBENCH_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__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 wininet.lib
479 <<
480
481 $(OBJS)\test_dummy.obj: .\dummy.cpp
482 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) /Yctestprec.h .\dummy.cpp
483
484 $(OBJS)\test_test.obj: .\test.cpp
485 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\test.cpp
486
487 $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp
488 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp
489
490 $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp
491 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp
492
493 $(OBJS)\test_tartest.obj: .\archive\tartest.cpp
494 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp
495
496 $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp
497 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp
498
499 $(OBJS)\test_base64.obj: .\base64\base64.cpp
500 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\base64\base64.cpp
501
502 $(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp
503 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp
504
505 $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp
506 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp
507
508 $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp
509 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp
510
511 $(OBJS)\test_evthandler.obj: .\events\evthandler.cpp
512 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\events\evthandler.cpp
513
514 $(OBJS)\test_timertest.obj: .\events\timertest.cpp
515 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\events\timertest.cpp
516
517 $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp
518 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp
519
520 $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp
521 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp
522
523 $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp
524 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp
525
526 $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
527 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp
528
529 $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp
530 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp
531
532 $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
533 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp
534
535 $(OBJS)\test_intltest.obj: .\intl\intltest.cpp
536 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp
537
538 $(OBJS)\test_lists.obj: .\lists\lists.cpp
539 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\lists\lists.cpp
540
541 $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp
542 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp
543
544 $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp
545 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp
546
547 $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
548 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp
549
550 $(OBJS)\test_misctests.obj: .\misc\misctests.cpp
551 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\misc\misctests.cpp
552
553 $(OBJS)\test_ipc.obj: .\net\ipc.cpp
554 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\net\ipc.cpp
555
556 $(OBJS)\test_socket.obj: .\net\socket.cpp
557 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\net\socket.cpp
558
559 $(OBJS)\test_regextest.obj: .\regex\regextest.cpp
560 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp
561
562 $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp
563 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp
564
565 $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp
566 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp
567
568 $(OBJS)\test_iostream.obj: .\strings\iostream.cpp
569 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp
570
571 $(OBJS)\test_strings.obj: .\strings\strings.cpp
572 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\strings.cpp
573
574 $(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp
575 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp
576
577 $(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp
578 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp
579
580 $(OBJS)\test_unichar.obj: .\strings\unichar.cpp
581 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\unichar.cpp
582
583 $(OBJS)\test_unicode.obj: .\strings\unicode.cpp
584 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp
585
586 $(OBJS)\test_vararg.obj: .\strings\vararg.cpp
587 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\vararg.cpp
588
589 $(OBJS)\test_crt.obj: .\strings\crt.cpp
590 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\crt.cpp
591
592 $(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp
593 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp
594
595 $(OBJS)\test_bstream.obj: .\streams\bstream.cpp
596 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp
597
598 $(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp
599 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp
600
601 $(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp
602 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp
603
604 $(OBJS)\test_fileback.obj: .\streams\fileback.cpp
605 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp
606
607 $(OBJS)\test_filestream.obj: .\streams\filestream.cpp
608 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp
609
610 $(OBJS)\test_iostreams.obj: .\streams\iostreams.cpp
611 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\iostreams.cpp
612
613 $(OBJS)\test_largefile.obj: .\streams\largefile.cpp
614 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp
615
616 $(OBJS)\test_memstream.obj: .\streams\memstream.cpp
617 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp
618
619 $(OBJS)\test_socketstream.obj: .\streams\socketstream.cpp
620 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\socketstream.cpp
621
622 $(OBJS)\test_sstream.obj: .\streams\sstream.cpp
623 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp
624
625 $(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp
626 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp
627
628 $(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp
629 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp
630
631 $(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp
632 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp
633
634 $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp
635 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp
636
637 $(OBJS)\test_atomic.obj: .\thread\atomic.cpp
638 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp
639
640 $(OBJS)\test_queue.obj: .\thread\queue.cpp
641 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\queue.cpp
642
643 $(OBJS)\test_tls.obj: .\thread\tls.cpp
644 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\tls.cpp
645
646 $(OBJS)\test_uris.obj: .\uris\uris.cpp
647 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\uris\uris.cpp
648
649 $(OBJS)\test_vectors.obj: .\vectors\vectors.cpp
650 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\vectors\vectors.cpp
651
652 $(OBJS)\test_evtconnection.obj: .\weakref\evtconnection.cpp
653 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\weakref\evtconnection.cpp
654
655 $(OBJS)\test_weakref.obj: .\weakref\weakref.cpp
656 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\weakref\weakref.cpp
657
658 $(OBJS)\test_xlocale.obj: .\xlocale\xlocale.cpp
659 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\xlocale\xlocale.cpp
660
661 $(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp
662 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp
663
664 $(OBJS)\test_gui_dummy.obj: .\dummy.cpp
665 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) /Yctestprec.h .\dummy.cpp
666
667 $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc
668 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_17_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) /i $(SETUPHDIR) /i .\..\include /i . $(__DLLFLAG_p_3) /i .\..\samples /d NOPCH /d _CONSOLE .\..\samples\sample.rc
669
670 $(OBJS)\test_gui_test.obj: .\test.cpp
671 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\test.cpp
672
673 $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp
674 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp
675
676 $(OBJS)\test_gui_size.obj: .\geometry\size.cpp
677 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp
678
679 $(OBJS)\test_gui_point.obj: .\geometry\point.cpp
680 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp
681
682 $(OBJS)\test_gui_config.obj: .\config\config.cpp
683 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp
684
685 $(OBJS)\test_gui_comboboxtest.obj: .\controls\comboboxtest.cpp
686 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\comboboxtest.cpp
687
688 $(OBJS)\test_gui_headerctrltest.obj: .\controls\headerctrltest.cpp
689 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\headerctrltest.cpp
690
691 $(OBJS)\test_gui_listctrltest.obj: .\controls\listctrltest.cpp
692 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\listctrltest.cpp
693
694 $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp
695 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp
696
697 $(OBJS)\test_gui_textentrytest.obj: .\controls\textentrytest.cpp
698 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\textentrytest.cpp
699
700 $(OBJS)\test_gui_treectrltest.obj: .\controls\treectrltest.cpp
701 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\treectrltest.cpp
702
703 $(OBJS)\test_gui_propagation.obj: .\events\propagation.cpp
704 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\events\propagation.cpp
705
706 $(OBJS)\test_gui_fonttest.obj: .\font\fonttest.cpp
707 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\font\fonttest.cpp
708
709 $(OBJS)\test_gui_rawbmp.obj: .\image\rawbmp.cpp
710 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\image\rawbmp.cpp
711
712 $(OBJS)\test_gui_htmlwindow.obj: .\html\htmlwindow.cpp
713 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\html\htmlwindow.cpp
714
715 $(OBJS)\test_gui_guifuncs.obj: .\misc\guifuncs.cpp
716 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\guifuncs.cpp
717
718 $(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp
719 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp
720
721 $(OBJS)\test_gui_garbage.obj: .\misc\garbage.cpp
722 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\garbage.cpp
723
724 $(OBJS)\test_gui_socket.obj: .\net\socket.cpp
725 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\net\socket.cpp
726
727 $(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp
728 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp
729
730 $(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp
731 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp
732
733 $(OBJS)\printfbench_dummy.obj: .\dummy.cpp
734 $(CXX) /c /nologo /TP /Fo$@ $(PRINTFBENCH_CXXFLAGS) /Yctestprec.h .\dummy.cpp
735
736 $(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp
737 $(CXX) /c /nologo /TP /Fo$@ $(PRINTFBENCH_CXXFLAGS) .\benchmarks\printfbench.cpp
738