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