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