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