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