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