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