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