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