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