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