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