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