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