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