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