]>
Commit | Line | Data |
---|---|---|
670ec357 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
6e0fbb3d | 3 | # Bakefile 0.2.3 (http://www.bakefile.org) |
670ec357 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | .autodepend | |
8 | ||
9 | !ifndef BCCDIR | |
10 | !ifndef MAKEDIR | |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
12 | !endif | |
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 | ||
ae4ccf12 | 24 | WX_RELEASE_NODOT = 29 |
173f3c03 | 25 | COMPILER_PREFIX = bcc |
670ec357 | 26 | OBJS = \ |
173f3c03 VZ |
27 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
28 | LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
670ec357 VS |
29 | SETUPHDIR = \ |
30 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
a0744a6b | 31 | TEST_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
c2c04edc | 32 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 33 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 34 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
35 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
36 | -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test.csm $(CPPFLAGS) \ | |
37 | $(CXXFLAGS) | |
670ec357 | 38 | TEST_OBJECTS = \ |
8899b155 | 39 | $(OBJS)\test_dummy.obj \ |
670ec357 | 40 | $(OBJS)\test_test.obj \ |
8899b155 | 41 | $(OBJS)\test_archivetest.obj \ |
e6477b92 | 42 | $(OBJS)\test_ziptest.obj \ |
cdd7933f | 43 | $(OBJS)\test_tartest.obj \ |
dd65d8c8 | 44 | $(OBJS)\test_arrays.obj \ |
9222c613 | 45 | $(OBJS)\test_base64.obj \ |
5769cf0f | 46 | $(OBJS)\test_cmdlinetest.obj \ |
9222c613 | 47 | $(OBJS)\test_fileconf.obj \ |
113e181a | 48 | $(OBJS)\test_datetimetest.obj \ |
0912690b | 49 | $(OBJS)\test_filekind.obj \ |
113e181a RN |
50 | $(OBJS)\test_filenametest.obj \ |
51 | $(OBJS)\test_filesystest.obj \ | |
52 | $(OBJS)\test_fontmaptest.obj \ | |
53 | $(OBJS)\test_formatconvertertest.obj \ | |
f9c3d39b | 54 | $(OBJS)\test_hashes.obj \ |
02f935fb | 55 | $(OBJS)\test_intltest.obj \ |
7d9cfc54 | 56 | $(OBJS)\test_lists.obj \ |
113e181a | 57 | $(OBJS)\test_longlongtest.obj \ |
d31a29b5 | 58 | $(OBJS)\test_convautotest.obj \ |
113e181a RN |
59 | $(OBJS)\test_mbconvtest.obj \ |
60 | $(OBJS)\test_regextest.obj \ | |
61 | $(OBJS)\test_wxregextest.obj \ | |
0d90d6ea | 62 | $(OBJS)\test_scopeguardtest.obj \ |
99d8bc65 | 63 | $(OBJS)\test_iostream.obj \ |
1cd53e88 | 64 | $(OBJS)\test_strings.obj \ |
405b7d91 | 65 | $(OBJS)\test_stdstrings.obj \ |
20a34d96 | 66 | $(OBJS)\test_tokenizer.obj \ |
c9f78968 | 67 | $(OBJS)\test_unichar.obj \ |
387f829e | 68 | $(OBJS)\test_unicode.obj \ |
c9f78968 | 69 | $(OBJS)\test_vararg.obj \ |
cf8ee08b | 70 | $(OBJS)\test_crt.obj \ |
3b2cb431 | 71 | $(OBJS)\test_vsnprintf.obj \ |
7735998c | 72 | $(OBJS)\test_bstream.obj \ |
7d9cfc54 | 73 | $(OBJS)\test_datastreamtest.obj \ |
7735998c | 74 | $(OBJS)\test_ffilestream.obj \ |
e2255c89 | 75 | $(OBJS)\test_fileback.obj \ |
7735998c | 76 | $(OBJS)\test_filestream.obj \ |
cb327439 | 77 | $(OBJS)\test_largefile.obj \ |
7735998c | 78 | $(OBJS)\test_memstream.obj \ |
c33fae85 | 79 | $(OBJS)\test_sstream.obj \ |
e1265174 | 80 | $(OBJS)\test_tempfile.obj \ |
8899b155 | 81 | $(OBJS)\test_textstreamtest.obj \ |
816b59de | 82 | $(OBJS)\test_zlibstream.obj \ |
d31a29b5 | 83 | $(OBJS)\test_textfiletest.obj \ |
173f3c03 | 84 | $(OBJS)\test_atomic.obj \ |
6aaee6af | 85 | $(OBJS)\test_queue.obj \ |
e966f815 | 86 | $(OBJS)\test_uris.obj \ |
6490a288 VZ |
87 | $(OBJS)\test_vectors.obj \ |
88 | $(OBJS)\test_evtconnection.obj \ | |
6e4ae332 | 89 | $(OBJS)\test_weakref.obj \ |
5e05df3c VS |
90 | $(OBJS)\test_xlocale.obj \ |
91 | $(OBJS)\test_xmltest.obj | |
a0744a6b | 92 | TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
c2c04edc | 93 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 94 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 95 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
96 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
97 | -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) -Hu \ | |
98 | -H=$(OBJS)\testprec_test_gui.csm $(CPPFLAGS) $(CXXFLAGS) | |
a0744a6b VS |
99 | TEST_GUI_OBJECTS = \ |
100 | $(OBJS)\test_gui_dummy.obj \ | |
98a50e20 | 101 | $(OBJS)\test_gui_test.obj \ |
cb327439 MW |
102 | $(OBJS)\test_gui_rect.obj \ |
103 | $(OBJS)\test_gui_size.obj \ | |
9222c613 | 104 | $(OBJS)\test_gui_point.obj \ |
c0d9b217 | 105 | $(OBJS)\test_gui_config.obj \ |
c8f80d27 | 106 | $(OBJS)\test_gui_textctrltest.obj \ |
3e50a139 | 107 | $(OBJS)\test_gui_rawbmp.obj \ |
1a86d2e5 | 108 | $(OBJS)\test_gui_selstoretest.obj \ |
5af86f4d VZ |
109 | $(OBJS)\test_gui_clientsize.obj \ |
110 | $(OBJS)\test_gui_setsize.obj | |
c2c04edc KO |
111 | PRINTFBENCH_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
112 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
113 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
114 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
3abcf424 RD |
115 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
116 | -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_printfbench.csm \ | |
117 | $(CPPFLAGS) $(CXXFLAGS) | |
c2c04edc KO |
118 | PRINTFBENCH_OBJECTS = \ |
119 | $(OBJS)\printfbench_dummy.obj \ | |
120 | $(OBJS)\printfbench_printfbench.obj | |
670ec357 VS |
121 | |
122 | ### Conditionally set variables: ### | |
123 | ||
124 | !if "$(USE_GUI)" == "0" | |
125 | PORTNAME = base | |
126 | !endif | |
127 | !if "$(USE_GUI)" == "1" | |
128 | PORTNAME = msw | |
129 | !endif | |
130 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
131 | WXDEBUGFLAG = d | |
132 | !endif | |
133 | !if "$(DEBUG_FLAG)" == "1" | |
134 | WXDEBUGFLAG = d | |
135 | !endif | |
136 | !if "$(UNICODE)" == "1" | |
137 | WXUNICODEFLAG = u | |
138 | !endif | |
139 | !if "$(WXUNIV)" == "1" | |
140 | WXUNIVNAME = univ | |
141 | !endif | |
142 | !if "$(SHARED)" == "1" | |
143 | WXDLLFLAG = dll | |
144 | !endif | |
cb327439 MW |
145 | !if "$(SHARED)" == "0" |
146 | LIBTYPE_SUFFIX = lib | |
147 | !endif | |
148 | !if "$(SHARED)" == "1" | |
149 | LIBTYPE_SUFFIX = dll | |
150 | !endif | |
dd65d8c8 RN |
151 | !if "$(MONOLITHIC)" == "0" |
152 | EXTRALIBS_FOR_BASE = | |
153 | !endif | |
154 | !if "$(MONOLITHIC)" == "1" | |
155 | EXTRALIBS_FOR_BASE = | |
156 | !endif | |
a0744a6b VS |
157 | !if "$(MONOLITHIC)" == "0" |
158 | __WXLIB_NET_p = \ | |
159 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
160 | !endif | |
5e05df3c VS |
161 | !if "$(MONOLITHIC)" == "0" |
162 | __WXLIB_XML_p = \ | |
163 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib | |
164 | !endif | |
a0744a6b VS |
165 | !if "$(USE_GUI)" == "1" |
166 | __test_gui___depname = $(OBJS)\test_gui.exe | |
167 | !endif | |
168 | !if "$(WXUNIV)" == "1" | |
169 | __WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__ | |
170 | !endif | |
171 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
172 | __DEBUG_DEFINE_p_3 = -d__WXDEBUG__ | |
173 | !endif | |
174 | !if "$(DEBUG_FLAG)" == "1" | |
175 | __DEBUG_DEFINE_p_3 = -d__WXDEBUG__ | |
176 | !endif | |
8c9f8f91 JS |
177 | !if "$(USE_EXCEPTIONS)" == "0" |
178 | __EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS | |
179 | !endif | |
180 | !if "$(USE_RTTI)" == "0" | |
181 | __RTTI_DEFINE_p_3 = -dwxNO_RTTI | |
182 | !endif | |
183 | !if "$(USE_THREADS)" == "0" | |
184 | __THREAD_DEFINE_p_3 = -dwxNO_THREADS | |
185 | !endif | |
7379e476 VZ |
186 | !if "$(UNICODE)" == "0" |
187 | __UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=0 | |
188 | !endif | |
a0744a6b VS |
189 | !if "$(UNICODE)" == "1" |
190 | __UNICODE_DEFINE_p_3 = -d_UNICODE | |
191 | !endif | |
2113bc77 MW |
192 | !if "$(MSLU)" == "1" |
193 | __MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1 | |
194 | !endif | |
3abcf424 RD |
195 | !if "$(USE_GDIPLUS)" == "1" |
196 | __GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1 | |
197 | !endif | |
a0744a6b VS |
198 | !if "$(SHARED)" == "1" |
199 | __DLLFLAG_p_3 = -dWXUSINGDLL | |
200 | !endif | |
201 | !if "$(MONOLITHIC)" == "0" | |
202 | __WXLIB_CORE_p = \ | |
203 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
204 | !endif | |
3b2cb431 JS |
205 | !if "$(USE_GUI)" == "1" |
206 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
207 | !endif | |
208 | !if "$(USE_GUI)" == "1" | |
209 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
210 | !endif | |
211 | !if "$(USE_GUI)" == "1" | |
212 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
213 | !endif | |
670ec357 | 214 | !if "$(BUILD)" == "debug" |
a0744a6b | 215 | __OPTIMIZEFLAG = -Od |
670ec357 VS |
216 | !endif |
217 | !if "$(BUILD)" == "release" | |
a0744a6b | 218 | __OPTIMIZEFLAG = -O2 |
670ec357 | 219 | !endif |
e1265174 MW |
220 | !if "$(USE_THREADS)" == "0" |
221 | __THREADSFLAG = | |
222 | !endif | |
223 | !if "$(USE_THREADS)" == "1" | |
224 | __THREADSFLAG = mt | |
225 | !endif | |
226 | !if "$(USE_THREADS)" == "0" | |
c2c04edc | 227 | __THREADSFLAG_1 = |
e1265174 MW |
228 | !endif |
229 | !if "$(USE_THREADS)" == "1" | |
c2c04edc | 230 | __THREADSFLAG_1 = -tWM |
e1265174 | 231 | !endif |
670ec357 | 232 | !if "$(RUNTIME_LIBS)" == "dynamic" |
a0744a6b | 233 | __RUNTIME_LIBS = -tWR |
670ec357 VS |
234 | !endif |
235 | !if "$(RUNTIME_LIBS)" == "static" | |
a0744a6b | 236 | __RUNTIME_LIBS = |
670ec357 VS |
237 | !endif |
238 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
c2c04edc | 239 | __RUNTIME_LIBS_1 = i |
670ec357 VS |
240 | !endif |
241 | !if "$(RUNTIME_LIBS)" == "static" | |
c2c04edc | 242 | __RUNTIME_LIBS_1 = |
670ec357 VS |
243 | !endif |
244 | !if "$(WXUNIV)" == "1" | |
245 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
246 | !endif | |
247 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
248 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
249 | !endif | |
250 | !if "$(DEBUG_FLAG)" == "1" | |
251 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
252 | !endif | |
8c9f8f91 JS |
253 | !if "$(USE_EXCEPTIONS)" == "0" |
254 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
255 | !endif | |
256 | !if "$(USE_RTTI)" == "0" | |
257 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
258 | !endif | |
259 | !if "$(USE_THREADS)" == "0" | |
260 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
261 | !endif | |
7379e476 VZ |
262 | !if "$(UNICODE)" == "0" |
263 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 | |
264 | !endif | |
670ec357 VS |
265 | !if "$(UNICODE)" == "1" |
266 | __UNICODE_DEFINE_p = -D_UNICODE | |
267 | !endif | |
2113bc77 MW |
268 | !if "$(MSLU)" == "1" |
269 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
270 | !endif | |
3abcf424 RD |
271 | !if "$(USE_GDIPLUS)" == "1" |
272 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 | |
273 | !endif | |
a0744a6b VS |
274 | !if "$(SHARED)" == "1" |
275 | __DLLFLAG_p = -DWXUSINGDLL | |
113e181a RN |
276 | !endif |
277 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
278 | __WXLIB_BASE_p = \ |
279 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
670ec357 VS |
280 | !endif |
281 | !if "$(MONOLITHIC)" == "1" | |
282 | __WXLIB_MONO_p = \ | |
c33fae85 | 283 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
670ec357 | 284 | !endif |
670ec357 VS |
285 | !if "$(MSLU)" == "1" |
286 | __UNICOWS_LIB_p = unicows.lib | |
287 | !endif | |
3abcf424 RD |
288 | !if "$(USE_GDIPLUS)" == "1" |
289 | __GDIPLUS_LIB_p = gdiplus.lib | |
290 | !endif | |
670ec357 VS |
291 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
292 | __DEBUGINFO = -v | |
293 | !endif | |
294 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
295 | __DEBUGINFO = -v- | |
296 | !endif | |
297 | !if "$(DEBUG_INFO)" == "0" | |
298 | __DEBUGINFO = -v- | |
299 | !endif | |
300 | !if "$(DEBUG_INFO)" == "1" | |
301 | __DEBUGINFO = -v | |
302 | !endif | |
303 | ||
304 | ||
305 | all: $(OBJS) | |
306 | $(OBJS): | |
307 | -if not exist $(OBJS) mkdir $(OBJS) | |
308 | ||
309 | ### Targets: ### | |
310 | ||
02f935fb | 311 | all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe |
670ec357 VS |
312 | |
313 | clean: | |
314 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
315 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
cb327439 | 316 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm |
670ec357 VS |
317 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe |
318 | -if exist $(OBJS)\test.tds del $(OBJS)\test.tds | |
319 | -if exist $(OBJS)\test.ilc del $(OBJS)\test.ilc | |
320 | -if exist $(OBJS)\test.ild del $(OBJS)\test.ild | |
321 | -if exist $(OBJS)\test.ilf del $(OBJS)\test.ilf | |
322 | -if exist $(OBJS)\test.ils del $(OBJS)\test.ils | |
a0744a6b VS |
323 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe |
324 | -if exist $(OBJS)\test_gui.tds del $(OBJS)\test_gui.tds | |
325 | -if exist $(OBJS)\test_gui.ilc del $(OBJS)\test_gui.ilc | |
326 | -if exist $(OBJS)\test_gui.ild del $(OBJS)\test_gui.ild | |
327 | -if exist $(OBJS)\test_gui.ilf del $(OBJS)\test_gui.ilf | |
328 | -if exist $(OBJS)\test_gui.ils del $(OBJS)\test_gui.ils | |
c2c04edc KO |
329 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe |
330 | -if exist $(OBJS)\printfbench.tds del $(OBJS)\printfbench.tds | |
331 | -if exist $(OBJS)\printfbench.ilc del $(OBJS)\printfbench.ilc | |
332 | -if exist $(OBJS)\printfbench.ild del $(OBJS)\printfbench.ild | |
333 | -if exist $(OBJS)\printfbench.ilf del $(OBJS)\printfbench.ilf | |
334 | -if exist $(OBJS)\printfbench.ils del $(OBJS)\printfbench.ils | |
670ec357 | 335 | |
8899b155 | 336 | $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS) |
670ec357 | 337 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&| |
5e05df3c | 338 | c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_XML_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, |
a0744a6b VS |
339 | | |
340 | ||
341 | !if "$(USE_GUI)" == "1" | |
342 | $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
98a50e20 | 343 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap @&&| |
6aaee6af | 344 | c0x32.obj $(TEST_GUI_OBJECTS),$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, $(OBJS)\test_gui_sample.res |
670ec357 | 345 | | |
a0744a6b | 346 | !endif |
670ec357 | 347 | |
387f829e VS |
348 | data: |
349 | if not exist $(OBJS) mkdir $(OBJS) | |
350 | for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
351 | ||
02f935fb VS |
352 | fr: |
353 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
354 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr | |
355 | ||
c2c04edc KO |
356 | $(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS) |
357 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&| | |
6aaee6af | 358 | c0x32.obj $(PRINTFBENCH_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, |
c2c04edc KO |
359 | | |
360 | ||
8899b155 | 361 | $(OBJS)\test_dummy.obj: .\dummy.cpp |
6e0fbb3d | 362 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) -H .\dummy.cpp |
8899b155 | 363 | |
670ec357 | 364 | $(OBJS)\test_test.obj: .\test.cpp |
6e0fbb3d | 365 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\test.cpp |
670ec357 | 366 | |
8899b155 | 367 | $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp |
6e0fbb3d | 368 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp |
8899b155 | 369 | |
e6477b92 | 370 | $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp |
6e0fbb3d | 371 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp |
e6477b92 | 372 | |
cdd7933f | 373 | $(OBJS)\test_tartest.obj: .\archive\tartest.cpp |
6e0fbb3d | 374 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp |
cdd7933f | 375 | |
dd65d8c8 | 376 | $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp |
6e0fbb3d | 377 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp |
4827cbd9 | 378 | |
9222c613 | 379 | $(OBJS)\test_base64.obj: .\base64\base64.cpp |
6e0fbb3d | 380 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\base64\base64.cpp |
9222c613 | 381 | |
5769cf0f VZ |
382 | $(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp |
383 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp | |
384 | ||
9222c613 | 385 | $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp |
6e0fbb3d | 386 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp |
bc10103e | 387 | |
9222c613 | 388 | $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp |
6e0fbb3d | 389 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp |
ab921f5f | 390 | |
0912690b | 391 | $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp |
6e0fbb3d | 392 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp |
3fa86423 | 393 | |
0912690b | 394 | $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp |
6e0fbb3d | 395 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp |
cf1014a2 | 396 | |
0912690b | 397 | $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp |
6e0fbb3d | 398 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp |
3c70014d | 399 | |
113e181a | 400 | $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp |
6e0fbb3d | 401 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp |
dd65d8c8 | 402 | |
113e181a | 403 | $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp |
6e0fbb3d | 404 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp |
1b035b8c | 405 | |
f9c3d39b | 406 | $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp |
6e0fbb3d | 407 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp |
f9c3d39b | 408 | |
02f935fb | 409 | $(OBJS)\test_intltest.obj: .\intl\intltest.cpp |
6e0fbb3d | 410 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp |
02f935fb | 411 | |
7d9cfc54 | 412 | $(OBJS)\test_lists.obj: .\lists\lists.cpp |
6e0fbb3d | 413 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\lists\lists.cpp |
7d9cfc54 | 414 | |
113e181a | 415 | $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp |
6e0fbb3d | 416 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp |
7735998c | 417 | |
d31a29b5 | 418 | $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp |
6e0fbb3d | 419 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp |
d31a29b5 | 420 | |
113e181a | 421 | $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp |
6e0fbb3d | 422 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp |
dd65d8c8 | 423 | |
113e181a | 424 | $(OBJS)\test_regextest.obj: .\regex\regextest.cpp |
6e0fbb3d | 425 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp |
dd65d8c8 | 426 | |
113e181a | 427 | $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp |
6e0fbb3d | 428 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp |
dd65d8c8 | 429 | |
0d90d6ea | 430 | $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp |
6e0fbb3d | 431 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp |
0d90d6ea | 432 | |
99d8bc65 | 433 | $(OBJS)\test_iostream.obj: .\strings\iostream.cpp |
6e0fbb3d | 434 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp |
99d8bc65 | 435 | |
1cd53e88 | 436 | $(OBJS)\test_strings.obj: .\strings\strings.cpp |
6e0fbb3d | 437 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\strings.cpp |
1cd53e88 | 438 | |
405b7d91 | 439 | $(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp |
6e0fbb3d | 440 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp |
405b7d91 | 441 | |
20a34d96 | 442 | $(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp |
6e0fbb3d | 443 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp |
20a34d96 | 444 | |
c9f78968 | 445 | $(OBJS)\test_unichar.obj: .\strings\unichar.cpp |
6e0fbb3d | 446 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unichar.cpp |
c9f78968 | 447 | |
387f829e | 448 | $(OBJS)\test_unicode.obj: .\strings\unicode.cpp |
6e0fbb3d | 449 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp |
387f829e | 450 | |
c9f78968 | 451 | $(OBJS)\test_vararg.obj: .\strings\vararg.cpp |
6e0fbb3d | 452 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vararg.cpp |
c9f78968 | 453 | |
cf8ee08b | 454 | $(OBJS)\test_crt.obj: .\strings\crt.cpp |
6e0fbb3d | 455 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\crt.cpp |
cf8ee08b | 456 | |
3b2cb431 | 457 | $(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp |
6e0fbb3d | 458 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp |
3b2cb431 | 459 | |
7735998c | 460 | $(OBJS)\test_bstream.obj: .\streams\bstream.cpp |
6e0fbb3d | 461 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp |
7735998c | 462 | |
7d9cfc54 | 463 | $(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp |
6e0fbb3d | 464 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp |
7d9cfc54 | 465 | |
7735998c | 466 | $(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp |
6e0fbb3d | 467 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp |
7735998c | 468 | |
e2255c89 | 469 | $(OBJS)\test_fileback.obj: .\streams\fileback.cpp |
6e0fbb3d | 470 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp |
e2255c89 | 471 | |
7735998c | 472 | $(OBJS)\test_filestream.obj: .\streams\filestream.cpp |
6e0fbb3d | 473 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp |
7735998c | 474 | |
cb327439 | 475 | $(OBJS)\test_largefile.obj: .\streams\largefile.cpp |
6e0fbb3d | 476 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp |
cb327439 | 477 | |
7735998c | 478 | $(OBJS)\test_memstream.obj: .\streams\memstream.cpp |
6e0fbb3d | 479 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp |
7735998c | 480 | |
c33fae85 | 481 | $(OBJS)\test_sstream.obj: .\streams\sstream.cpp |
6e0fbb3d | 482 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp |
e1265174 MW |
483 | |
484 | $(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp | |
6e0fbb3d | 485 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp |
c33fae85 | 486 | |
8899b155 | 487 | $(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp |
6e0fbb3d | 488 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp |
8899b155 | 489 | |
7735998c | 490 | $(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp |
6e0fbb3d | 491 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp |
816b59de | 492 | |
d31a29b5 | 493 | $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp |
6e0fbb3d | 494 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp |
d31a29b5 | 495 | |
173f3c03 | 496 | $(OBJS)\test_atomic.obj: .\thread\atomic.cpp |
6e0fbb3d | 497 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp |
173f3c03 | 498 | |
6aaee6af | 499 | $(OBJS)\test_queue.obj: .\thread\queue.cpp |
6e0fbb3d | 500 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\thread\queue.cpp |
6aaee6af | 501 | |
dd65d8c8 | 502 | $(OBJS)\test_uris.obj: .\uris\uris.cpp |
6e0fbb3d | 503 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\uris\uris.cpp |
a0744a6b | 504 | |
e966f815 | 505 | $(OBJS)\test_vectors.obj: .\vectors\vectors.cpp |
6e0fbb3d | 506 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\vectors\vectors.cpp |
e966f815 | 507 | |
6490a288 | 508 | $(OBJS)\test_evtconnection.obj: .\weakref\evtconnection.cpp |
6e0fbb3d | 509 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\evtconnection.cpp |
6490a288 VZ |
510 | |
511 | $(OBJS)\test_weakref.obj: .\weakref\weakref.cpp | |
6e0fbb3d | 512 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\weakref\weakref.cpp |
6490a288 | 513 | |
6e4ae332 VZ |
514 | $(OBJS)\test_xlocale.obj: .\xlocale\xlocale.cpp |
515 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xlocale\xlocale.cpp | |
516 | ||
5e05df3c VS |
517 | $(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp |
518 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp | |
519 | ||
a0744a6b | 520 | $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc |
6e0fbb3d | 521 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) -i$(SETUPHDIR) -i.\..\include -i. $(__DLLFLAG_p_3) -i.\..\samples -dNOPCH .\..\samples\sample.rc |
a0744a6b VS |
522 | |
523 | $(OBJS)\test_gui_dummy.obj: .\dummy.cpp | |
6e0fbb3d | 524 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H .\dummy.cpp |
a0744a6b VS |
525 | |
526 | $(OBJS)\test_gui_test.obj: .\test.cpp | |
6e0fbb3d | 527 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\test.cpp |
98a50e20 VS |
528 | |
529 | $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp | |
6e0fbb3d | 530 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp |
cb327439 MW |
531 | |
532 | $(OBJS)\test_gui_size.obj: .\geometry\size.cpp | |
6e0fbb3d | 533 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp |
cb327439 MW |
534 | |
535 | $(OBJS)\test_gui_point.obj: .\geometry\point.cpp | |
6e0fbb3d | 536 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp |
cb327439 | 537 | |
9222c613 | 538 | $(OBJS)\test_gui_config.obj: .\config\config.cpp |
6e0fbb3d | 539 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp |
9222c613 | 540 | |
c0d9b217 | 541 | $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp |
6e0fbb3d | 542 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp |
c0d9b217 | 543 | |
3e50a139 VZ |
544 | $(OBJS)\test_gui_rawbmp.obj: .\image\rawbmp.cpp |
545 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\image\rawbmp.cpp | |
546 | ||
c8f80d27 VZ |
547 | $(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp |
548 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp | |
549 | ||
1a86d2e5 VZ |
550 | $(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp |
551 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp | |
552 | ||
5af86f4d VZ |
553 | $(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp |
554 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp | |
555 | ||
c2c04edc | 556 | $(OBJS)\printfbench_dummy.obj: .\dummy.cpp |
6e0fbb3d | 557 | $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) -H .\dummy.cpp |
c2c04edc KO |
558 | |
559 | $(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp | |
6e0fbb3d | 560 | $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) .\benchmarks\printfbench.cpp |
c2c04edc | 561 |