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