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