]> git.saurik.com Git - wxWidgets.git/blame - tests/makefile.bcc
use wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup()
[wxWidgets.git] / tests / makefile.bcc
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.autodepend
8
9!ifndef BCCDIR
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
13BCCDIR = $(MAKEDIR)\..
14!endif
15
16!include ../build/msw/config.bcc
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
22### Variables: ###
23
ae4ccf12 24WX_RELEASE_NODOT = 29
173f3c03 25COMPILER_PREFIX = bcc
670ec357 26OBJS = \
173f3c03
VZ
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
670ec357
VS
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
a0744a6b 31TEST_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
c2c04edc 32 $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91 33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \
36 -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test.csm $(CPPFLAGS) \
37 $(CXXFLAGS)
670ec357 38TEST_OBJECTS = \
8899b155 39 $(OBJS)\test_dummy.obj \
670ec357 40 $(OBJS)\test_test.obj \
8899b155 41 $(OBJS)\test_archivetest.obj \
e6477b92 42 $(OBJS)\test_ziptest.obj \
cdd7933f 43 $(OBJS)\test_tartest.obj \
dd65d8c8 44 $(OBJS)\test_arrays.obj \
9222c613 45 $(OBJS)\test_base64.obj \
5769cf0f 46 $(OBJS)\test_cmdlinetest.obj \
9222c613 47 $(OBJS)\test_fileconf.obj \
113e181a 48 $(OBJS)\test_datetimetest.obj \
0912690b 49 $(OBJS)\test_filekind.obj \
113e181a
RN
50 $(OBJS)\test_filenametest.obj \
51 $(OBJS)\test_filesystest.obj \
52 $(OBJS)\test_fontmaptest.obj \
53 $(OBJS)\test_formatconvertertest.obj \
f9c3d39b 54 $(OBJS)\test_hashes.obj \
02f935fb 55 $(OBJS)\test_intltest.obj \
7d9cfc54 56 $(OBJS)\test_lists.obj \
113e181a 57 $(OBJS)\test_longlongtest.obj \
d31a29b5 58 $(OBJS)\test_convautotest.obj \
113e181a
RN
59 $(OBJS)\test_mbconvtest.obj \
60 $(OBJS)\test_regextest.obj \
61 $(OBJS)\test_wxregextest.obj \
0d90d6ea 62 $(OBJS)\test_scopeguardtest.obj \
99d8bc65 63 $(OBJS)\test_iostream.obj \
1cd53e88 64 $(OBJS)\test_strings.obj \
405b7d91 65 $(OBJS)\test_stdstrings.obj \
20a34d96 66 $(OBJS)\test_tokenizer.obj \
c9f78968 67 $(OBJS)\test_unichar.obj \
387f829e 68 $(OBJS)\test_unicode.obj \
c9f78968 69 $(OBJS)\test_vararg.obj \
cf8ee08b 70 $(OBJS)\test_crt.obj \
3b2cb431 71 $(OBJS)\test_vsnprintf.obj \
7735998c 72 $(OBJS)\test_bstream.obj \
7d9cfc54 73 $(OBJS)\test_datastreamtest.obj \
7735998c 74 $(OBJS)\test_ffilestream.obj \
e2255c89 75 $(OBJS)\test_fileback.obj \
7735998c 76 $(OBJS)\test_filestream.obj \
f9caf1af 77 $(OBJS)\test_iostreams.obj \
cb327439 78 $(OBJS)\test_largefile.obj \
7735998c 79 $(OBJS)\test_memstream.obj \
f9caf1af 80 $(OBJS)\test_socketstream.obj \
c33fae85 81 $(OBJS)\test_sstream.obj \
e1265174 82 $(OBJS)\test_tempfile.obj \
8899b155 83 $(OBJS)\test_textstreamtest.obj \
816b59de 84 $(OBJS)\test_zlibstream.obj \
d31a29b5 85 $(OBJS)\test_textfiletest.obj \
173f3c03 86 $(OBJS)\test_atomic.obj \
6aaee6af 87 $(OBJS)\test_queue.obj \
e966f815 88 $(OBJS)\test_uris.obj \
6490a288
VZ
89 $(OBJS)\test_vectors.obj \
90 $(OBJS)\test_evtconnection.obj \
6e4ae332 91 $(OBJS)\test_weakref.obj \
5e05df3c
VS
92 $(OBJS)\test_xlocale.obj \
93 $(OBJS)\test_xmltest.obj
a0744a6b 94TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
c2c04edc 95 $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91 96 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 97 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
98 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \
99 -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) -Hu \
100 -H=$(OBJS)\testprec_test_gui.csm $(CPPFLAGS) $(CXXFLAGS)
a0744a6b
VS
101TEST_GUI_OBJECTS = \
102 $(OBJS)\test_gui_dummy.obj \
98a50e20 103 $(OBJS)\test_gui_test.obj \
cb327439
MW
104 $(OBJS)\test_gui_rect.obj \
105 $(OBJS)\test_gui_size.obj \
9222c613 106 $(OBJS)\test_gui_point.obj \
c0d9b217 107 $(OBJS)\test_gui_config.obj \
c8f80d27 108 $(OBJS)\test_gui_textctrltest.obj \
3e50a139 109 $(OBJS)\test_gui_rawbmp.obj \
1a86d2e5 110 $(OBJS)\test_gui_selstoretest.obj \
5af86f4d
VZ
111 $(OBJS)\test_gui_clientsize.obj \
112 $(OBJS)\test_gui_setsize.obj
c2c04edc
KO
113PRINTFBENCH_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
114 $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
115 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
116 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
117 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \
118 -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_printfbench.csm \
119 $(CPPFLAGS) $(CXXFLAGS)
c2c04edc
KO
120PRINTFBENCH_OBJECTS = \
121 $(OBJS)\printfbench_dummy.obj \
122 $(OBJS)\printfbench_printfbench.obj
670ec357
VS
123
124### Conditionally set variables: ###
125
126!if "$(USE_GUI)" == "0"
127PORTNAME = base
128!endif
129!if "$(USE_GUI)" == "1"
130PORTNAME = msw
131!endif
132!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
133WXDEBUGFLAG = d
134!endif
135!if "$(DEBUG_FLAG)" == "1"
136WXDEBUGFLAG = d
137!endif
138!if "$(UNICODE)" == "1"
139WXUNICODEFLAG = u
140!endif
141!if "$(WXUNIV)" == "1"
142WXUNIVNAME = univ
143!endif
144!if "$(SHARED)" == "1"
145WXDLLFLAG = dll
146!endif
cb327439
MW
147!if "$(SHARED)" == "0"
148LIBTYPE_SUFFIX = lib
149!endif
150!if "$(SHARED)" == "1"
151LIBTYPE_SUFFIX = dll
152!endif
dd65d8c8
RN
153!if "$(MONOLITHIC)" == "0"
154EXTRALIBS_FOR_BASE =
155!endif
156!if "$(MONOLITHIC)" == "1"
157EXTRALIBS_FOR_BASE =
158!endif
a0744a6b
VS
159!if "$(MONOLITHIC)" == "0"
160__WXLIB_NET_p = \
161 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
162!endif
5e05df3c
VS
163!if "$(MONOLITHIC)" == "0"
164__WXLIB_XML_p = \
165 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
166!endif
a0744a6b
VS
167!if "$(USE_GUI)" == "1"
168__test_gui___depname = $(OBJS)\test_gui.exe
169!endif
170!if "$(WXUNIV)" == "1"
171__WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
172!endif
173!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
174__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
175!endif
176!if "$(DEBUG_FLAG)" == "1"
177__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
178!endif
8c9f8f91
JS
179!if "$(USE_EXCEPTIONS)" == "0"
180__EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS
181!endif
182!if "$(USE_RTTI)" == "0"
183__RTTI_DEFINE_p_3 = -dwxNO_RTTI
184!endif
185!if "$(USE_THREADS)" == "0"
186__THREAD_DEFINE_p_3 = -dwxNO_THREADS
187!endif
7379e476
VZ
188!if "$(UNICODE)" == "0"
189__UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=0
190!endif
a0744a6b
VS
191!if "$(UNICODE)" == "1"
192__UNICODE_DEFINE_p_3 = -d_UNICODE
193!endif
2113bc77
MW
194!if "$(MSLU)" == "1"
195__MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1
196!endif
3abcf424
RD
197!if "$(USE_GDIPLUS)" == "1"
198__GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1
199!endif
a0744a6b
VS
200!if "$(SHARED)" == "1"
201__DLLFLAG_p_3 = -dWXUSINGDLL
202!endif
203!if "$(MONOLITHIC)" == "0"
204__WXLIB_CORE_p = \
205 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
206!endif
3b2cb431
JS
207!if "$(USE_GUI)" == "1"
208__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
209!endif
210!if "$(USE_GUI)" == "1"
211__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
212!endif
213!if "$(USE_GUI)" == "1"
214__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
215!endif
670ec357 216!if "$(BUILD)" == "debug"
a0744a6b 217__OPTIMIZEFLAG = -Od
670ec357
VS
218!endif
219!if "$(BUILD)" == "release"
a0744a6b 220__OPTIMIZEFLAG = -O2
670ec357 221!endif
e1265174
MW
222!if "$(USE_THREADS)" == "0"
223__THREADSFLAG =
224!endif
225!if "$(USE_THREADS)" == "1"
226__THREADSFLAG = mt
227!endif
228!if "$(USE_THREADS)" == "0"
c2c04edc 229__THREADSFLAG_1 =
e1265174
MW
230!endif
231!if "$(USE_THREADS)" == "1"
c2c04edc 232__THREADSFLAG_1 = -tWM
e1265174 233!endif
670ec357 234!if "$(RUNTIME_LIBS)" == "dynamic"
a0744a6b 235__RUNTIME_LIBS = -tWR
670ec357
VS
236!endif
237!if "$(RUNTIME_LIBS)" == "static"
a0744a6b 238__RUNTIME_LIBS =
670ec357
VS
239!endif
240!if "$(RUNTIME_LIBS)" == "dynamic"
c2c04edc 241__RUNTIME_LIBS_1 = i
670ec357
VS
242!endif
243!if "$(RUNTIME_LIBS)" == "static"
c2c04edc 244__RUNTIME_LIBS_1 =
670ec357
VS
245!endif
246!if "$(WXUNIV)" == "1"
247__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
248!endif
249!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
250__DEBUG_DEFINE_p = -D__WXDEBUG__
251!endif
252!if "$(DEBUG_FLAG)" == "1"
253__DEBUG_DEFINE_p = -D__WXDEBUG__
254!endif
8c9f8f91
JS
255!if "$(USE_EXCEPTIONS)" == "0"
256__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
257!endif
258!if "$(USE_RTTI)" == "0"
259__RTTI_DEFINE_p = -DwxNO_RTTI
260!endif
261!if "$(USE_THREADS)" == "0"
262__THREAD_DEFINE_p = -DwxNO_THREADS
263!endif
7379e476
VZ
264!if "$(UNICODE)" == "0"
265__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
266!endif
670ec357
VS
267!if "$(UNICODE)" == "1"
268__UNICODE_DEFINE_p = -D_UNICODE
269!endif
2113bc77
MW
270!if "$(MSLU)" == "1"
271__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
272!endif
3abcf424
RD
273!if "$(USE_GDIPLUS)" == "1"
274__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
275!endif
a0744a6b
VS
276!if "$(SHARED)" == "1"
277__DLLFLAG_p = -DWXUSINGDLL
113e181a
RN
278!endif
279!if "$(MONOLITHIC)" == "0"
c33fae85
RN
280__WXLIB_BASE_p = \
281 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
670ec357
VS
282!endif
283!if "$(MONOLITHIC)" == "1"
284__WXLIB_MONO_p = \
c33fae85 285 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
670ec357 286!endif
670ec357
VS
287!if "$(MSLU)" == "1"
288__UNICOWS_LIB_p = unicows.lib
289!endif
3abcf424
RD
290!if "$(USE_GDIPLUS)" == "1"
291__GDIPLUS_LIB_p = gdiplus.lib
292!endif
670ec357
VS
293!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
294__DEBUGINFO = -v
295!endif
296!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
297__DEBUGINFO = -v-
298!endif
299!if "$(DEBUG_INFO)" == "0"
300__DEBUGINFO = -v-
301!endif
302!if "$(DEBUG_INFO)" == "1"
303__DEBUGINFO = -v
304!endif
305
306
307all: $(OBJS)
308$(OBJS):
309 -if not exist $(OBJS) mkdir $(OBJS)
310
311### Targets: ###
312
02f935fb 313all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe
670ec357
VS
314
315clean:
316 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
317 -if exist $(OBJS)\*.res del $(OBJS)\*.res
cb327439 318 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
670ec357
VS
319 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
320 -if exist $(OBJS)\test.tds del $(OBJS)\test.tds
321 -if exist $(OBJS)\test.ilc del $(OBJS)\test.ilc
322 -if exist $(OBJS)\test.ild del $(OBJS)\test.ild
323 -if exist $(OBJS)\test.ilf del $(OBJS)\test.ilf
324 -if exist $(OBJS)\test.ils del $(OBJS)\test.ils
a0744a6b
VS
325 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
326 -if exist $(OBJS)\test_gui.tds del $(OBJS)\test_gui.tds
327 -if exist $(OBJS)\test_gui.ilc del $(OBJS)\test_gui.ilc
328 -if exist $(OBJS)\test_gui.ild del $(OBJS)\test_gui.ild
329 -if exist $(OBJS)\test_gui.ilf del $(OBJS)\test_gui.ilf
330 -if exist $(OBJS)\test_gui.ils del $(OBJS)\test_gui.ils
c2c04edc
KO
331 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
332 -if exist $(OBJS)\printfbench.tds del $(OBJS)\printfbench.tds
333 -if exist $(OBJS)\printfbench.ilc del $(OBJS)\printfbench.ilc
334 -if exist $(OBJS)\printfbench.ild del $(OBJS)\printfbench.ild
335 -if exist $(OBJS)\printfbench.ilf del $(OBJS)\printfbench.ilf
336 -if exist $(OBJS)\printfbench.ils del $(OBJS)\printfbench.ils
670ec357 337
8899b155 338$(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS)
670ec357 339 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&|
5e05df3c 340 c0x32.obj $(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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,,
a0744a6b
VS
341|
342
343!if "$(USE_GUI)" == "1"
344$(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
98a50e20 345 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap @&&|
6aaee6af 346 c0x32.obj $(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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, $(OBJS)\test_gui_sample.res
670ec357 347|
a0744a6b 348!endif
670ec357 349
387f829e
VS
350data:
351 if not exist $(OBJS) mkdir $(OBJS)
352 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
353
02f935fb
VS
354fr:
355 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
356 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr
357
c2c04edc
KO
358$(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS)
359 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&|
6aaee6af 360 c0x32.obj $(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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,,
c2c04edc
KO
361|
362
8899b155 363$(OBJS)\test_dummy.obj: .\dummy.cpp
6e0fbb3d 364 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) -H .\dummy.cpp
8899b155 365
670ec357 366$(OBJS)\test_test.obj: .\test.cpp
6e0fbb3d 367 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\test.cpp
670ec357 368
8899b155 369$(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp
6e0fbb3d 370 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp
8899b155 371
e6477b92 372$(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp
6e0fbb3d 373 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp
e6477b92 374
cdd7933f 375$(OBJS)\test_tartest.obj: .\archive\tartest.cpp
6e0fbb3d 376 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp
cdd7933f 377
dd65d8c8 378$(OBJS)\test_arrays.obj: .\arrays\arrays.cpp
6e0fbb3d 379 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp
4827cbd9 380
9222c613 381$(OBJS)\test_base64.obj: .\base64\base64.cpp
6e0fbb3d 382 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\base64\base64.cpp
9222c613 383
5769cf0f
VZ
384$(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp
385 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp
386
9222c613 387$(OBJS)\test_fileconf.obj: .\config\fileconf.cpp
6e0fbb3d 388 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp
bc10103e 389
9222c613 390$(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp
6e0fbb3d 391 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp
ab921f5f 392
0912690b 393$(OBJS)\test_filekind.obj: .\filekind\filekind.cpp
6e0fbb3d 394 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp
3fa86423 395
0912690b 396$(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp
6e0fbb3d 397 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp
cf1014a2 398
0912690b 399$(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp
6e0fbb3d 400 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp
3c70014d 401
113e181a 402$(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
6e0fbb3d 403 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp
dd65d8c8 404
113e181a 405$(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp
6e0fbb3d 406 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp
1b035b8c 407
f9c3d39b 408$(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
6e0fbb3d 409 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp
f9c3d39b 410
02f935fb 411$(OBJS)\test_intltest.obj: .\intl\intltest.cpp
6e0fbb3d 412 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp
02f935fb 413
7d9cfc54 414$(OBJS)\test_lists.obj: .\lists\lists.cpp
6e0fbb3d 415 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\lists\lists.cpp
7d9cfc54 416
113e181a 417$(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp
6e0fbb3d 418 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp
7735998c 419
d31a29b5 420$(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp
6e0fbb3d 421 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp
d31a29b5 422
113e181a 423$(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
6e0fbb3d 424 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp
dd65d8c8 425
113e181a 426$(OBJS)\test_regextest.obj: .\regex\regextest.cpp
6e0fbb3d 427 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp
dd65d8c8 428
113e181a 429$(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp
6e0fbb3d 430 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp
dd65d8c8 431
0d90d6ea 432$(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp
6e0fbb3d 433 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp
0d90d6ea 434
f9caf1af
VZ
435$(OBJS)\test_iostream.obj: .\strings\iostream.cpp
436 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp
437
1cd53e88 438$(OBJS)\test_strings.obj: .\strings\strings.cpp
6e0fbb3d 439 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\strings.cpp
1cd53e88 440
405b7d91 441$(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp
6e0fbb3d 442 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp
405b7d91 443
20a34d96 444$(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp
6e0fbb3d 445 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp
20a34d96 446
c9f78968 447$(OBJS)\test_unichar.obj: .\strings\unichar.cpp
6e0fbb3d 448 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unichar.cpp
c9f78968 449
387f829e 450$(OBJS)\test_unicode.obj: .\strings\unicode.cpp
6e0fbb3d 451 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp
387f829e 452
c9f78968 453$(OBJS)\test_vararg.obj: .\strings\vararg.cpp
6e0fbb3d 454 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vararg.cpp
c9f78968 455
cf8ee08b 456$(OBJS)\test_crt.obj: .\strings\crt.cpp
6e0fbb3d 457 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\crt.cpp
cf8ee08b 458
3b2cb431 459$(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp
6e0fbb3d 460 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp
3b2cb431 461
7735998c 462$(OBJS)\test_bstream.obj: .\streams\bstream.cpp
6e0fbb3d 463 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp
7735998c 464
7d9cfc54 465$(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp
6e0fbb3d 466 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp
7d9cfc54 467
7735998c 468$(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp
6e0fbb3d 469 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp
7735998c 470
e2255c89 471$(OBJS)\test_fileback.obj: .\streams\fileback.cpp
6e0fbb3d 472 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp
e2255c89 473
7735998c 474$(OBJS)\test_filestream.obj: .\streams\filestream.cpp
6e0fbb3d 475 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp
7735998c 476
f9caf1af
VZ
477$(OBJS)\test_iostreams.obj: .\streams\iostreams.cpp
478 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\iostreams.cpp
479
cb327439 480$(OBJS)\test_largefile.obj: .\streams\largefile.cpp
6e0fbb3d 481 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp
cb327439 482
7735998c 483$(OBJS)\test_memstream.obj: .\streams\memstream.cpp
6e0fbb3d 484 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp
7735998c 485
f9caf1af
VZ
486$(OBJS)\test_socketstream.obj: .\streams\socketstream.cpp
487 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\socketstream.cpp
488
c33fae85 489$(OBJS)\test_sstream.obj: .\streams\sstream.cpp
6e0fbb3d 490 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp
e1265174
MW
491
492$(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp
6e0fbb3d 493 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp
c33fae85 494
8899b155 495$(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp
6e0fbb3d 496 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp
8899b155 497
7735998c 498$(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp
6e0fbb3d 499 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp
816b59de 500
d31a29b5 501$(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp
6e0fbb3d 502 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp
d31a29b5 503
173f3c03 504$(OBJS)\test_atomic.obj: .\thread\atomic.cpp
6e0fbb3d 505 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp
173f3c03 506
6aaee6af 507$(OBJS)\test_queue.obj: .\thread\queue.cpp
6e0fbb3d 508 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\queue.cpp
6aaee6af 509
dd65d8c8 510$(OBJS)\test_uris.obj: .\uris\uris.cpp
6e0fbb3d 511 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\uris.cpp
a0744a6b 512
e966f815 513$(OBJS)\test_vectors.obj: .\vectors\vectors.cpp
6e0fbb3d 514 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\vectors\vectors.cpp
e966f815 515
6490a288 516$(OBJS)\test_evtconnection.obj: .\weakref\evtconnection.cpp
6e0fbb3d 517 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\evtconnection.cpp
6490a288
VZ
518
519$(OBJS)\test_weakref.obj: .\weakref\weakref.cpp
6e0fbb3d 520 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\weakref.cpp
6490a288 521
6e4ae332
VZ
522$(OBJS)\test_xlocale.obj: .\xlocale\xlocale.cpp
523 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xlocale\xlocale.cpp
524
5e05df3c
VS
525$(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp
526 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp
527
a0744a6b 528$(OBJS)\test_gui_sample.res: .\..\samples\sample.rc
6e0fbb3d 529 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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 -dNOPCH .\..\samples\sample.rc
a0744a6b
VS
530
531$(OBJS)\test_gui_dummy.obj: .\dummy.cpp
6e0fbb3d 532 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H .\dummy.cpp
a0744a6b
VS
533
534$(OBJS)\test_gui_test.obj: .\test.cpp
6e0fbb3d 535 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\test.cpp
98a50e20
VS
536
537$(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp
6e0fbb3d 538 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp
cb327439
MW
539
540$(OBJS)\test_gui_size.obj: .\geometry\size.cpp
6e0fbb3d 541 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp
cb327439
MW
542
543$(OBJS)\test_gui_point.obj: .\geometry\point.cpp
6e0fbb3d 544 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp
cb327439 545
9222c613 546$(OBJS)\test_gui_config.obj: .\config\config.cpp
6e0fbb3d 547 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp
9222c613 548
c0d9b217 549$(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp
6e0fbb3d 550 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp
c0d9b217 551
3e50a139
VZ
552$(OBJS)\test_gui_rawbmp.obj: .\image\rawbmp.cpp
553 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\image\rawbmp.cpp
554
c8f80d27
VZ
555$(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp
556 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp
557
1a86d2e5
VZ
558$(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp
559 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp
560
5af86f4d
VZ
561$(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp
562 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp
563
c2c04edc 564$(OBJS)\printfbench_dummy.obj: .\dummy.cpp
6e0fbb3d 565 $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) -H .\dummy.cpp
c2c04edc
KO
566
567$(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp
6e0fbb3d 568 $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) .\benchmarks\printfbench.cpp
c2c04edc 569