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