]> git.saurik.com Git - wxWidgets.git/blame - tests/makefile.bcc
Compilation fix for wxUSE_STL build: another missing _str().
[wxWidgets.git] / tests / makefile.bcc
CommitLineData
a7ebaf0d
KO
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.8 (http://www.bakefile.org)\r
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7.autodepend\r
8\r
9!ifndef BCCDIR\r
10!ifndef MAKEDIR\r
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r
12!endif\r
13BCCDIR = $(MAKEDIR)\..\r
14!endif\r
15\r
16!include ../build/msw/config.bcc\r
17\r
18# -------------------------------------------------------------------------\r
19# Do not modify the rest of this file!\r
20# -------------------------------------------------------------------------\r
21\r
22### Variables: ###\r
23\r
24WX_RELEASE_NODOT = 29\r
25COMPILER_PREFIX = bcc\r
26OBJS = \\r
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r
28LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
29SETUPHDIR = \\r
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
31TEST_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
f82b7036
KO
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include \\r
36 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
37 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test.csm $(CPPFLAGS) $(CXXFLAGS)\r
a7ebaf0d
KO
38TEST_OBJECTS = \\r
39 $(OBJS)\test_dummy.obj \\r
40 $(OBJS)\test_test.obj \\r
41 $(OBJS)\test_anytest.obj \\r
42 $(OBJS)\test_archivetest.obj \\r
43 $(OBJS)\test_ziptest.obj \\r
44 $(OBJS)\test_tartest.obj \\r
45 $(OBJS)\test_arrays.obj \\r
46 $(OBJS)\test_base64.obj \\r
47 $(OBJS)\test_cmdlinetest.obj \\r
48 $(OBJS)\test_fileconf.obj \\r
49 $(OBJS)\test_datetimetest.obj \\r
50 $(OBJS)\test_evthandler.obj \\r
51 $(OBJS)\test_evtsource.obj \\r
52 $(OBJS)\test_timertest.obj \\r
53 $(OBJS)\test_exec.obj \\r
54 $(OBJS)\test_filetest.obj \\r
55 $(OBJS)\test_filekind.obj \\r
56 $(OBJS)\test_filenametest.obj \\r
57 $(OBJS)\test_filesystest.obj \\r
58 $(OBJS)\test_fontmaptest.obj \\r
59 $(OBJS)\test_formatconvertertest.obj \\r
60 $(OBJS)\test_fswatchertest.obj \\r
61 $(OBJS)\test_hashes.obj \\r
62 $(OBJS)\test_intltest.obj \\r
63 $(OBJS)\test_lists.obj \\r
64 $(OBJS)\test_logtest.obj \\r
65 $(OBJS)\test_longlongtest.obj \\r
66 $(OBJS)\test_convautotest.obj \\r
67 $(OBJS)\test_mbconvtest.obj \\r
68 $(OBJS)\test_misctests.obj \\r
69 $(OBJS)\test_ipc.obj \\r
70 $(OBJS)\test_socket.obj \\r
71 $(OBJS)\test_regextest.obj \\r
72 $(OBJS)\test_wxregextest.obj \\r
73 $(OBJS)\test_scopeguardtest.obj \\r
74 $(OBJS)\test_iostream.obj \\r
75 $(OBJS)\test_strings.obj \\r
76 $(OBJS)\test_stdstrings.obj \\r
77 $(OBJS)\test_tokenizer.obj \\r
78 $(OBJS)\test_unichar.obj \\r
79 $(OBJS)\test_unicode.obj \\r
80 $(OBJS)\test_vararg.obj \\r
81 $(OBJS)\test_crt.obj \\r
82 $(OBJS)\test_vsnprintf.obj \\r
83 $(OBJS)\test_bstream.obj \\r
84 $(OBJS)\test_datastreamtest.obj \\r
85 $(OBJS)\test_ffilestream.obj \\r
86 $(OBJS)\test_fileback.obj \\r
87 $(OBJS)\test_filestream.obj \\r
88 $(OBJS)\test_iostreams.obj \\r
89 $(OBJS)\test_largefile.obj \\r
90 $(OBJS)\test_memstream.obj \\r
91 $(OBJS)\test_socketstream.obj \\r
92 $(OBJS)\test_sstream.obj \\r
93 $(OBJS)\test_stdstream.obj \\r
94 $(OBJS)\test_tempfile.obj \\r
95 $(OBJS)\test_textstreamtest.obj \\r
96 $(OBJS)\test_zlibstream.obj \\r
97 $(OBJS)\test_textfiletest.obj \\r
98 $(OBJS)\test_atomic.obj \\r
99 $(OBJS)\test_queue.obj \\r
100 $(OBJS)\test_tls.obj \\r
101 $(OBJS)\test_uris.obj \\r
102 $(OBJS)\test_url.obj \\r
103 $(OBJS)\test_vectors.obj \\r
104 $(OBJS)\test_evtconnection.obj \\r
105 $(OBJS)\test_weakref.obj \\r
106 $(OBJS)\test_xlocale.obj \\r
107 $(OBJS)\test_xmltest.obj\r
108TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
109 $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
110 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r
111 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r
f82b7036
KO
112 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include \\r
113 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\samples -DNOPCH \\r
114 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test_gui.csm $(CPPFLAGS) \\r
115 $(CXXFLAGS)\r
a7ebaf0d
KO
116TEST_GUI_OBJECTS = \\r
117 $(OBJS)\test_gui_dummy.obj \\r
118 $(OBJS)\test_gui_test.obj \\r
119 $(OBJS)\test_gui_rect.obj \\r
120 $(OBJS)\test_gui_size.obj \\r
121 $(OBJS)\test_gui_point.obj \\r
122 $(OBJS)\test_gui_colour.obj \\r
123 $(OBJS)\test_gui_measuring.obj \\r
124 $(OBJS)\test_gui_config.obj \\r
125 $(OBJS)\test_gui_comboboxtest.obj \\r
126 $(OBJS)\test_gui_headerctrltest.obj \\r
127 $(OBJS)\test_gui_listctrltest.obj \\r
128 $(OBJS)\test_gui_textctrltest.obj \\r
129 $(OBJS)\test_gui_textentrytest.obj \\r
130 $(OBJS)\test_gui_treectrltest.obj \\r
131 $(OBJS)\test_gui_clone.obj \\r
132 $(OBJS)\test_gui_propagation.obj \\r
133 $(OBJS)\test_gui_fonttest.obj \\r
134 $(OBJS)\test_gui_image.obj \\r
135 $(OBJS)\test_gui_rawbmp.obj \\r
136 $(OBJS)\test_gui_htmlwindow.obj \\r
137 $(OBJS)\test_gui_guifuncs.obj \\r
138 $(OBJS)\test_gui_selstoretest.obj \\r
139 $(OBJS)\test_gui_garbage.obj \\r
140 $(OBJS)\test_gui_settings.obj \\r
141 $(OBJS)\test_gui_socket.obj \\r
142 $(OBJS)\test_gui_clientsize.obj \\r
143 $(OBJS)\test_gui_setsize.obj\r
144\r
145### Conditionally set variables: ###\r
146\r
147!if "$(USE_GUI)" == "0"\r
148PORTNAME = base\r
149!endif\r
150!if "$(USE_GUI)" == "1"\r
151PORTNAME = msw\r
152!endif\r
153!if "$(BUILD)" == "debug"\r
154WXDEBUGFLAG = d\r
155!endif\r
156!if "$(UNICODE)" == "1"\r
157WXUNICODEFLAG = u\r
158!endif\r
159!if "$(WXUNIV)" == "1"\r
160WXUNIVNAME = univ\r
161!endif\r
162!if "$(SHARED)" == "1"\r
163WXDLLFLAG = dll\r
164!endif\r
165!if "$(SHARED)" == "0"\r
166LIBTYPE_SUFFIX = lib\r
167!endif\r
168!if "$(SHARED)" == "1"\r
169LIBTYPE_SUFFIX = dll\r
170!endif\r
171!if "$(MONOLITHIC)" == "0"\r
172EXTRALIBS_FOR_BASE = \r
173!endif\r
174!if "$(MONOLITHIC)" == "1"\r
175EXTRALIBS_FOR_BASE = \r
176!endif\r
177!if "$(USE_GUI)" == "1"\r
178__test_gui___depname = $(OBJS)\test_gui.exe\r
179!endif\r
180!if "$(WXUNIV)" == "1"\r
181__WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__\r
182!endif\r
183!if "$(DEBUG_FLAG)" == "0"\r
184__DEBUG_DEFINE_p_3 = -dwxDEBUG_LEVEL=0\r
185!endif\r
186!if "$(USE_EXCEPTIONS)" == "0"\r
187__EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS\r
188!endif\r
189!if "$(USE_RTTI)" == "0"\r
190__RTTI_DEFINE_p_3 = -dwxNO_RTTI\r
191!endif\r
192!if "$(USE_THREADS)" == "0"\r
193__THREAD_DEFINE_p_3 = -dwxNO_THREADS\r
194!endif\r
195!if "$(UNICODE)" == "0"\r
196__UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=0\r
197!endif\r
198!if "$(UNICODE)" == "1"\r
199__UNICODE_DEFINE_p_3 = -d_UNICODE\r
200!endif\r
201!if "$(MSLU)" == "1"\r
202__MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1\r
203!endif\r
204!if "$(USE_GDIPLUS)" == "1"\r
205__GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1\r
206!endif\r
f82b7036
KO
207!if "$(USE_CAIRO)" == "1"\r
208____CAIRO_INCLUDEDIR_FILENAMES_3_p = -i$(CAIRO_ROOT)\include\cairo\r
209!endif\r
a7ebaf0d
KO
210!if "$(SHARED)" == "1"\r
211__DLLFLAG_p_3 = -dWXUSINGDLL\r
212!endif\r
213!if "$(MONOLITHIC)" == "0" && "$(USE_MEDIA)" == "1"\r
214__WXLIB_MEDIA_p = \\r
215 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media.lib\r
216!endif\r
217!if "$(MONOLITHIC)" == "0"\r
218__WXLIB_XRC_p = \\r
219 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib\r
220!endif\r
221!if "$(MONOLITHIC)" == "0"\r
222__WXLIB_ADV_p = \\r
223 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib\r
224!endif\r
225!if "$(MONOLITHIC)" == "0"\r
226__WXLIB_HTML_p = \\r
227 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib\r
228!endif\r
229!if "$(MONOLITHIC)" == "0"\r
230__WXLIB_CORE_p = \\r
231 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
232!endif\r
233!if "$(USE_GUI)" == "1"\r
234__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
235!endif\r
236!if "$(USE_GUI)" == "1"\r
237__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
238!endif\r
239!if "$(USE_GUI)" == "1"\r
240__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
241!endif\r
242!if "$(BUILD)" == "debug"\r
243__OPTIMIZEFLAG = -Od\r
244!endif\r
245!if "$(BUILD)" == "release"\r
246__OPTIMIZEFLAG = -O2\r
247!endif\r
248!if "$(USE_THREADS)" == "0"\r
249__THREADSFLAG = \r
250!endif\r
251!if "$(USE_THREADS)" == "1"\r
252__THREADSFLAG = mt\r
253!endif\r
254!if "$(USE_THREADS)" == "0"\r
255__THREADSFLAG_0 = \r
256!endif\r
257!if "$(USE_THREADS)" == "1"\r
258__THREADSFLAG_0 = -tWM\r
259!endif\r
260!if "$(RUNTIME_LIBS)" == "dynamic"\r
261__RUNTIME_LIBS = -tWR\r
262!endif\r
263!if "$(RUNTIME_LIBS)" == "static"\r
264__RUNTIME_LIBS = \r
265!endif\r
266!if "$(RUNTIME_LIBS)" == "dynamic"\r
267__RUNTIME_LIBS_0 = i\r
268!endif\r
269!if "$(RUNTIME_LIBS)" == "static"\r
270__RUNTIME_LIBS_0 = \r
271!endif\r
272!if "$(WXUNIV)" == "1"\r
273__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
274!endif\r
275!if "$(DEBUG_FLAG)" == "0"\r
276__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
277!endif\r
278!if "$(USE_EXCEPTIONS)" == "0"\r
279__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
280!endif\r
281!if "$(USE_RTTI)" == "0"\r
282__RTTI_DEFINE_p = -DwxNO_RTTI\r
283!endif\r
284!if "$(USE_THREADS)" == "0"\r
285__THREAD_DEFINE_p = -DwxNO_THREADS\r
286!endif\r
287!if "$(UNICODE)" == "0"\r
288__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
289!endif\r
290!if "$(UNICODE)" == "1"\r
291__UNICODE_DEFINE_p = -D_UNICODE\r
292!endif\r
293!if "$(MSLU)" == "1"\r
294__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
295!endif\r
296!if "$(USE_GDIPLUS)" == "1"\r
297__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1\r
298!endif\r
f82b7036
KO
299!if "$(USE_CAIRO)" == "1"\r
300____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r
301!endif\r
a7ebaf0d
KO
302!if "$(SHARED)" == "1"\r
303__DLLFLAG_p = -DWXUSINGDLL\r
304!endif\r
305!if "$(MONOLITHIC)" == "0"\r
306__WXLIB_NET_p = \\r
307 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r
308!endif\r
309!if "$(MONOLITHIC)" == "0"\r
310__WXLIB_XML_p = \\r
311 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib\r
312!endif\r
313!if "$(MONOLITHIC)" == "0"\r
314__WXLIB_BASE_p = \\r
315 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
316!endif\r
317!if "$(MONOLITHIC)" == "1"\r
318__WXLIB_MONO_p = \\r
319 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
320!endif\r
321!if "$(MSLU)" == "1"\r
322__UNICOWS_LIB_p = unicows.lib\r
323!endif\r
324!if "$(USE_GDIPLUS)" == "1"\r
325__GDIPLUS_LIB_p = gdiplus.lib\r
326!endif\r
f82b7036
KO
327!if "$(USE_CAIRO)" == "1"\r
328__CAIRO_LIB_p = cairo.lib\r
329!endif\r
330!if "$(USE_CAIRO)" == "1"\r
331____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r
332!endif\r
a7ebaf0d
KO
333!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
334__DEBUGINFO = -v\r
335!endif\r
336!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
337__DEBUGINFO = -v-\r
338!endif\r
339!if "$(DEBUG_INFO)" == "0"\r
340__DEBUGINFO = -v-\r
341!endif\r
342!if "$(DEBUG_INFO)" == "1"\r
343__DEBUGINFO = -v\r
344!endif\r
345\r
346\r
347all: $(OBJS)\r
348$(OBJS):\r
349 -if not exist $(OBJS) mkdir $(OBJS)\r
350\r
351### Targets: ###\r
352\r
353all: $(OBJS)\test.exe $(__test_gui___depname) data fr\r
354\r
355clean: \r
356 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
357 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
358 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r
359 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe\r
360 -if exist $(OBJS)\test.tds del $(OBJS)\test.tds\r
361 -if exist $(OBJS)\test.ilc del $(OBJS)\test.ilc\r
362 -if exist $(OBJS)\test.ild del $(OBJS)\test.ild\r
363 -if exist $(OBJS)\test.ilf del $(OBJS)\test.ilf\r
364 -if exist $(OBJS)\test.ils del $(OBJS)\test.ils\r
365 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe\r
366 -if exist $(OBJS)\test_gui.tds del $(OBJS)\test_gui.tds\r
367 -if exist $(OBJS)\test_gui.ilc del $(OBJS)\test_gui.ilc\r
368 -if exist $(OBJS)\test_gui.ild del $(OBJS)\test_gui.ild\r
369 -if exist $(OBJS)\test_gui.ilf del $(OBJS)\test_gui.ilf\r
370 -if exist $(OBJS)\test_gui.ils del $(OBJS)\test_gui.ils\r
371\r
372$(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS)\r
f82b7036
KO
373 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
374 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,\r
a7ebaf0d
KO
375|\r
376\r
377!if "$(USE_GUI)" == "1"\r
378$(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res\r
f82b7036
KO
379 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
380 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\test_gui_sample.res\r
a7ebaf0d
KO
381|\r
382!endif\r
383\r
384data: \r
385 if not exist $(OBJS) mkdir $(OBJS)\r
386 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)\r
387\r
388fr: \r
389 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr\r
390 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr\r
391\r
392$(OBJS)\test_dummy.obj: .\dummy.cpp\r
393 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) -H .\dummy.cpp\r
394\r
395$(OBJS)\test_test.obj: .\test.cpp\r
396 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\test.cpp\r
397\r
398$(OBJS)\test_anytest.obj: .\any\anytest.cpp\r
399 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\any\anytest.cpp\r
400\r
401$(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp\r
402 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp\r
403\r
404$(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp\r
405 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp\r
406\r
407$(OBJS)\test_tartest.obj: .\archive\tartest.cpp\r
408 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp\r
409\r
410$(OBJS)\test_arrays.obj: .\arrays\arrays.cpp\r
411 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp\r
412\r
413$(OBJS)\test_base64.obj: .\base64\base64.cpp\r
414 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\base64\base64.cpp\r
415\r
416$(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp\r
417 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp\r
418\r
419$(OBJS)\test_fileconf.obj: .\config\fileconf.cpp\r
420 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp\r
421\r
422$(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp\r
423 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp\r
424\r
425$(OBJS)\test_evthandler.obj: .\events\evthandler.cpp\r
426 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\events\evthandler.cpp\r
427\r
428$(OBJS)\test_evtsource.obj: .\events\evtsource.cpp\r
429 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\events\evtsource.cpp\r
430\r
431$(OBJS)\test_timertest.obj: .\events\timertest.cpp\r
432 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\events\timertest.cpp\r
433\r
434$(OBJS)\test_exec.obj: .\exec\exec.cpp\r
435 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\exec\exec.cpp\r
436\r
437$(OBJS)\test_filetest.obj: .\file\filetest.cpp\r
438 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\file\filetest.cpp\r
439\r
440$(OBJS)\test_filekind.obj: .\filekind\filekind.cpp\r
441 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp\r
442\r
443$(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp\r
444 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp\r
445\r
446$(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp\r
447 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp\r
448\r
449$(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp\r
450 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp\r
451\r
452$(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp\r
453 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp\r
454\r
455$(OBJS)\test_fswatchertest.obj: .\fswatcher\fswatchertest.cpp\r
456 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\fswatcher\fswatchertest.cpp\r
457\r
458$(OBJS)\test_hashes.obj: .\hashes\hashes.cpp\r
459 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp\r
460\r
461$(OBJS)\test_intltest.obj: .\intl\intltest.cpp\r
462 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp\r
463\r
464$(OBJS)\test_lists.obj: .\lists\lists.cpp\r
465 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\lists\lists.cpp\r
466\r
467$(OBJS)\test_logtest.obj: .\log\logtest.cpp\r
468 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\log\logtest.cpp\r
469\r
470$(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp\r
471 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp\r
472\r
473$(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp\r
474 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp\r
475\r
476$(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp\r
477 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp\r
478\r
479$(OBJS)\test_misctests.obj: .\misc\misctests.cpp\r
480 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\misctests.cpp\r
481\r
482$(OBJS)\test_ipc.obj: .\net\ipc.cpp\r
483 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\net\ipc.cpp\r
484\r
485$(OBJS)\test_socket.obj: .\net\socket.cpp\r
486 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\net\socket.cpp\r
487\r
488$(OBJS)\test_regextest.obj: .\regex\regextest.cpp\r
489 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp\r
490\r
491$(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp\r
492 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp\r
493\r
494$(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp\r
495 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp\r
496\r
497$(OBJS)\test_iostream.obj: .\strings\iostream.cpp\r
498 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp\r
499\r
500$(OBJS)\test_strings.obj: .\strings\strings.cpp\r
501 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\strings.cpp\r
502\r
503$(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp\r
504 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp\r
505\r
506$(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp\r
507 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp\r
508\r
509$(OBJS)\test_unichar.obj: .\strings\unichar.cpp\r
510 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unichar.cpp\r
511\r
512$(OBJS)\test_unicode.obj: .\strings\unicode.cpp\r
513 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp\r
514\r
515$(OBJS)\test_vararg.obj: .\strings\vararg.cpp\r
516 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vararg.cpp\r
517\r
518$(OBJS)\test_crt.obj: .\strings\crt.cpp\r
519 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\crt.cpp\r
520\r
521$(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp\r
522 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp\r
523\r
524$(OBJS)\test_bstream.obj: .\streams\bstream.cpp\r
525 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp\r
526\r
527$(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp\r
528 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp\r
529\r
530$(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp\r
531 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp\r
532\r
533$(OBJS)\test_fileback.obj: .\streams\fileback.cpp\r
534 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp\r
535\r
536$(OBJS)\test_filestream.obj: .\streams\filestream.cpp\r
537 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp\r
538\r
539$(OBJS)\test_iostreams.obj: .\streams\iostreams.cpp\r
540 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\iostreams.cpp\r
541\r
542$(OBJS)\test_largefile.obj: .\streams\largefile.cpp\r
543 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp\r
544\r
545$(OBJS)\test_memstream.obj: .\streams\memstream.cpp\r
546 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp\r
547\r
548$(OBJS)\test_socketstream.obj: .\streams\socketstream.cpp\r
549 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\socketstream.cpp\r
550\r
551$(OBJS)\test_sstream.obj: .\streams\sstream.cpp\r
552 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp\r
553\r
554$(OBJS)\test_stdstream.obj: .\streams\stdstream.cpp\r
555 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\stdstream.cpp\r
556\r
557$(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp\r
558 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp\r
559\r
560$(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp\r
561 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp\r
562\r
563$(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp\r
564 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp\r
565\r
566$(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp\r
567 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp\r
568\r
569$(OBJS)\test_atomic.obj: .\thread\atomic.cpp\r
570 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp\r
571\r
572$(OBJS)\test_queue.obj: .\thread\queue.cpp\r
573 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\queue.cpp\r
574\r
575$(OBJS)\test_tls.obj: .\thread\tls.cpp\r
576 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\tls.cpp\r
577\r
578$(OBJS)\test_uris.obj: .\uris\uris.cpp\r
579 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\uris.cpp\r
580\r
581$(OBJS)\test_url.obj: .\uris\url.cpp\r
582 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\url.cpp\r
583\r
584$(OBJS)\test_vectors.obj: .\vectors\vectors.cpp\r
585 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\vectors\vectors.cpp\r
586\r
587$(OBJS)\test_evtconnection.obj: .\weakref\evtconnection.cpp\r
588 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\evtconnection.cpp\r
589\r
590$(OBJS)\test_weakref.obj: .\weakref\weakref.cpp\r
591 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\weakref.cpp\r
592\r
593$(OBJS)\test_xlocale.obj: .\xlocale\xlocale.cpp\r
594 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xlocale\xlocale.cpp\r
595\r
596$(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp\r
597 $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp\r
598\r
599$(OBJS)\test_gui_sample.res: .\..\samples\sample.rc\r
f82b7036 600 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 $(____CAIRO_INCLUDEDIR_FILENAMES_3_p) -i. $(__DLLFLAG_p_3) -i.\..\samples -dNOPCH .\..\samples\sample.rc\r
a7ebaf0d
KO
601\r
602$(OBJS)\test_gui_dummy.obj: .\dummy.cpp\r
603 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H .\dummy.cpp\r
604\r
605$(OBJS)\test_gui_test.obj: .\test.cpp\r
606 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\test.cpp\r
607\r
608$(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp\r
609 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp\r
610\r
611$(OBJS)\test_gui_size.obj: .\geometry\size.cpp\r
612 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp\r
613\r
614$(OBJS)\test_gui_point.obj: .\geometry\point.cpp\r
615 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp\r
616\r
617$(OBJS)\test_gui_colour.obj: .\graphics\colour.cpp\r
618 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\graphics\colour.cpp\r
619\r
620$(OBJS)\test_gui_measuring.obj: .\graphics\measuring.cpp\r
621 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\graphics\measuring.cpp\r
622\r
623$(OBJS)\test_gui_config.obj: .\config\config.cpp\r
624 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp\r
625\r
626$(OBJS)\test_gui_comboboxtest.obj: .\controls\comboboxtest.cpp\r
627 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\comboboxtest.cpp\r
628\r
629$(OBJS)\test_gui_headerctrltest.obj: .\controls\headerctrltest.cpp\r
630 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\headerctrltest.cpp\r
631\r
632$(OBJS)\test_gui_listctrltest.obj: .\controls\listctrltest.cpp\r
633 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listctrltest.cpp\r
634\r
635$(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp\r
636 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp\r
637\r
638$(OBJS)\test_gui_textentrytest.obj: .\controls\textentrytest.cpp\r
639 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textentrytest.cpp\r
640\r
641$(OBJS)\test_gui_treectrltest.obj: .\controls\treectrltest.cpp\r
642 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\treectrltest.cpp\r
643\r
644$(OBJS)\test_gui_clone.obj: .\events\clone.cpp\r
645 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\events\clone.cpp\r
646\r
647$(OBJS)\test_gui_propagation.obj: .\events\propagation.cpp\r
648 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\events\propagation.cpp\r
649\r
650$(OBJS)\test_gui_fonttest.obj: .\font\fonttest.cpp\r
651 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\font\fonttest.cpp\r
652\r
653$(OBJS)\test_gui_image.obj: .\image\image.cpp\r
654 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\image\image.cpp\r
655\r
656$(OBJS)\test_gui_rawbmp.obj: .\image\rawbmp.cpp\r
657 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\image\rawbmp.cpp\r
658\r
659$(OBJS)\test_gui_htmlwindow.obj: .\html\htmlwindow.cpp\r
660 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\html\htmlwindow.cpp\r
661\r
662$(OBJS)\test_gui_guifuncs.obj: .\misc\guifuncs.cpp\r
663 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\guifuncs.cpp\r
664\r
665$(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp\r
666 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp\r
667\r
668$(OBJS)\test_gui_garbage.obj: .\misc\garbage.cpp\r
669 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\garbage.cpp\r
670\r
671$(OBJS)\test_gui_settings.obj: .\misc\settings.cpp\r
672 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\settings.cpp\r
673\r
674$(OBJS)\test_gui_socket.obj: .\net\socket.cpp\r
675 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\net\socket.cpp\r
676\r
677$(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp\r
678 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp\r
679\r
680$(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp\r
681 $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp\r
682\r