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