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