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