]>
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 \ |
02e22828 | 77 | $(OBJS)\test_iostream.obj \ |
cb327439 | 78 | $(OBJS)\test_largefile.obj \ |
7735998c | 79 | $(OBJS)\test_memstream.obj \ |
c33fae85 | 80 | $(OBJS)\test_sstream.obj \ |
e1265174 | 81 | $(OBJS)\test_tempfile.obj \ |
8899b155 | 82 | $(OBJS)\test_textstreamtest.obj \ |
816b59de | 83 | $(OBJS)\test_zlibstream.obj \ |
d31a29b5 | 84 | $(OBJS)\test_textfiletest.obj \ |
173f3c03 | 85 | $(OBJS)\test_atomic.obj \ |
6aaee6af | 86 | $(OBJS)\test_queue.obj \ |
e966f815 | 87 | $(OBJS)\test_uris.obj \ |
6490a288 VZ |
88 | $(OBJS)\test_vectors.obj \ |
89 | $(OBJS)\test_evtconnection.obj \ | |
6e4ae332 | 90 | $(OBJS)\test_weakref.obj \ |
5e05df3c VS |
91 | $(OBJS)\test_xlocale.obj \ |
92 | $(OBJS)\test_xmltest.obj | |
a0744a6b | 93 | TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
c2c04edc | 94 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 95 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 96 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
97 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
98 | -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) -Hu \ | |
99 | -H=$(OBJS)\testprec_test_gui.csm $(CPPFLAGS) $(CXXFLAGS) | |
a0744a6b VS |
100 | TEST_GUI_OBJECTS = \ |
101 | $(OBJS)\test_gui_dummy.obj \ | |
98a50e20 | 102 | $(OBJS)\test_gui_test.obj \ |
cb327439 MW |
103 | $(OBJS)\test_gui_rect.obj \ |
104 | $(OBJS)\test_gui_size.obj \ | |
9222c613 | 105 | $(OBJS)\test_gui_point.obj \ |
c0d9b217 | 106 | $(OBJS)\test_gui_config.obj \ |
c8f80d27 | 107 | $(OBJS)\test_gui_textctrltest.obj \ |
3e50a139 | 108 | $(OBJS)\test_gui_rawbmp.obj \ |
1a86d2e5 | 109 | $(OBJS)\test_gui_selstoretest.obj \ |
5af86f4d VZ |
110 | $(OBJS)\test_gui_clientsize.obj \ |
111 | $(OBJS)\test_gui_setsize.obj | |
c2c04edc KO |
112 | PRINTFBENCH_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
113 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
114 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
115 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
3abcf424 RD |
116 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \ |
117 | -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_printfbench.csm \ | |
118 | $(CPPFLAGS) $(CXXFLAGS) | |
c2c04edc KO |
119 | PRINTFBENCH_OBJECTS = \ |
120 | $(OBJS)\printfbench_dummy.obj \ | |
121 | $(OBJS)\printfbench_printfbench.obj | |
670ec357 VS |
122 | |
123 | ### Conditionally set variables: ### | |
124 | ||
125 | !if "$(USE_GUI)" == "0" | |
126 | PORTNAME = base | |
127 | !endif | |
128 | !if "$(USE_GUI)" == "1" | |
129 | PORTNAME = msw | |
130 | !endif | |
131 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
132 | WXDEBUGFLAG = d | |
133 | !endif | |
134 | !if "$(DEBUG_FLAG)" == "1" | |
135 | WXDEBUGFLAG = d | |
136 | !endif | |
137 | !if "$(UNICODE)" == "1" | |
138 | WXUNICODEFLAG = u | |
139 | !endif | |
140 | !if "$(WXUNIV)" == "1" | |
141 | WXUNIVNAME = univ | |
142 | !endif | |
143 | !if "$(SHARED)" == "1" | |
144 | WXDLLFLAG = dll | |
145 | !endif | |
cb327439 MW |
146 | !if "$(SHARED)" == "0" |
147 | LIBTYPE_SUFFIX = lib | |
148 | !endif | |
149 | !if "$(SHARED)" == "1" | |
150 | LIBTYPE_SUFFIX = dll | |
151 | !endif | |
dd65d8c8 RN |
152 | !if "$(MONOLITHIC)" == "0" |
153 | EXTRALIBS_FOR_BASE = | |
154 | !endif | |
155 | !if "$(MONOLITHIC)" == "1" | |
156 | EXTRALIBS_FOR_BASE = | |
157 | !endif | |
a0744a6b VS |
158 | !if "$(MONOLITHIC)" == "0" |
159 | __WXLIB_NET_p = \ | |
160 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
161 | !endif | |
5e05df3c VS |
162 | !if "$(MONOLITHIC)" == "0" |
163 | __WXLIB_XML_p = \ | |
164 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib | |
165 | !endif | |
a0744a6b VS |
166 | !if "$(USE_GUI)" == "1" |
167 | __test_gui___depname = $(OBJS)\test_gui.exe | |
168 | !endif | |
169 | !if "$(WXUNIV)" == "1" | |
170 | __WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__ | |
171 | !endif | |
172 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
173 | __DEBUG_DEFINE_p_3 = -d__WXDEBUG__ | |
174 | !endif | |
175 | !if "$(DEBUG_FLAG)" == "1" | |
176 | __DEBUG_DEFINE_p_3 = -d__WXDEBUG__ | |
177 | !endif | |
8c9f8f91 JS |
178 | !if "$(USE_EXCEPTIONS)" == "0" |
179 | __EXCEPTIONS_DEFINE_p_3 = -dwxNO_EXCEPTIONS | |
180 | !endif | |
181 | !if "$(USE_RTTI)" == "0" | |
182 | __RTTI_DEFINE_p_3 = -dwxNO_RTTI | |
183 | !endif | |
184 | !if "$(USE_THREADS)" == "0" | |
185 | __THREAD_DEFINE_p_3 = -dwxNO_THREADS | |
186 | !endif | |
7379e476 VZ |
187 | !if "$(UNICODE)" == "0" |
188 | __UNICODE_DEFINE_p_3 = -dwxUSE_UNICODE=0 | |
189 | !endif | |
a0744a6b VS |
190 | !if "$(UNICODE)" == "1" |
191 | __UNICODE_DEFINE_p_3 = -d_UNICODE | |
192 | !endif | |
2113bc77 MW |
193 | !if "$(MSLU)" == "1" |
194 | __MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1 | |
195 | !endif | |
3abcf424 RD |
196 | !if "$(USE_GDIPLUS)" == "1" |
197 | __GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1 | |
198 | !endif | |
a0744a6b VS |
199 | !if "$(SHARED)" == "1" |
200 | __DLLFLAG_p_3 = -dWXUSINGDLL | |
201 | !endif | |
202 | !if "$(MONOLITHIC)" == "0" | |
203 | __WXLIB_CORE_p = \ | |
204 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
205 | !endif | |
3b2cb431 JS |
206 | !if "$(USE_GUI)" == "1" |
207 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
208 | !endif | |
209 | !if "$(USE_GUI)" == "1" | |
210 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
211 | !endif | |
212 | !if "$(USE_GUI)" == "1" | |
213 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
214 | !endif | |
670ec357 | 215 | !if "$(BUILD)" == "debug" |
a0744a6b | 216 | __OPTIMIZEFLAG = -Od |
670ec357 VS |
217 | !endif |
218 | !if "$(BUILD)" == "release" | |
a0744a6b | 219 | __OPTIMIZEFLAG = -O2 |
670ec357 | 220 | !endif |
e1265174 MW |
221 | !if "$(USE_THREADS)" == "0" |
222 | __THREADSFLAG = | |
223 | !endif | |
224 | !if "$(USE_THREADS)" == "1" | |
225 | __THREADSFLAG = mt | |
226 | !endif | |
227 | !if "$(USE_THREADS)" == "0" | |
c2c04edc | 228 | __THREADSFLAG_1 = |
e1265174 MW |
229 | !endif |
230 | !if "$(USE_THREADS)" == "1" | |
c2c04edc | 231 | __THREADSFLAG_1 = -tWM |
e1265174 | 232 | !endif |
670ec357 | 233 | !if "$(RUNTIME_LIBS)" == "dynamic" |
a0744a6b | 234 | __RUNTIME_LIBS = -tWR |
670ec357 VS |
235 | !endif |
236 | !if "$(RUNTIME_LIBS)" == "static" | |
a0744a6b | 237 | __RUNTIME_LIBS = |
670ec357 VS |
238 | !endif |
239 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
c2c04edc | 240 | __RUNTIME_LIBS_1 = i |
670ec357 VS |
241 | !endif |
242 | !if "$(RUNTIME_LIBS)" == "static" | |
c2c04edc | 243 | __RUNTIME_LIBS_1 = |
670ec357 VS |
244 | !endif |
245 | !if "$(WXUNIV)" == "1" | |
246 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
247 | !endif | |
248 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
249 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
250 | !endif | |
251 | !if "$(DEBUG_FLAG)" == "1" | |
252 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
253 | !endif | |
8c9f8f91 JS |
254 | !if "$(USE_EXCEPTIONS)" == "0" |
255 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
256 | !endif | |
257 | !if "$(USE_RTTI)" == "0" | |
258 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
259 | !endif | |
260 | !if "$(USE_THREADS)" == "0" | |
261 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
262 | !endif | |
7379e476 VZ |
263 | !if "$(UNICODE)" == "0" |
264 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 | |
265 | !endif | |
670ec357 VS |
266 | !if "$(UNICODE)" == "1" |
267 | __UNICODE_DEFINE_p = -D_UNICODE | |
268 | !endif | |
2113bc77 MW |
269 | !if "$(MSLU)" == "1" |
270 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
271 | !endif | |
3abcf424 RD |
272 | !if "$(USE_GDIPLUS)" == "1" |
273 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 | |
274 | !endif | |
a0744a6b VS |
275 | !if "$(SHARED)" == "1" |
276 | __DLLFLAG_p = -DWXUSINGDLL | |
113e181a RN |
277 | !endif |
278 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
279 | __WXLIB_BASE_p = \ |
280 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
670ec357 VS |
281 | !endif |
282 | !if "$(MONOLITHIC)" == "1" | |
283 | __WXLIB_MONO_p = \ | |
c33fae85 | 284 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
670ec357 | 285 | !endif |
670ec357 VS |
286 | !if "$(MSLU)" == "1" |
287 | __UNICOWS_LIB_p = unicows.lib | |
288 | !endif | |
3abcf424 RD |
289 | !if "$(USE_GDIPLUS)" == "1" |
290 | __GDIPLUS_LIB_p = gdiplus.lib | |
291 | !endif | |
670ec357 VS |
292 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
293 | __DEBUGINFO = -v | |
294 | !endif | |
295 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
296 | __DEBUGINFO = -v- | |
297 | !endif | |
298 | !if "$(DEBUG_INFO)" == "0" | |
299 | __DEBUGINFO = -v- | |
300 | !endif | |
301 | !if "$(DEBUG_INFO)" == "1" | |
302 | __DEBUGINFO = -v | |
303 | !endif | |
304 | ||
305 | ||
306 | all: $(OBJS) | |
307 | $(OBJS): | |
308 | -if not exist $(OBJS) mkdir $(OBJS) | |
309 | ||
310 | ### Targets: ### | |
311 | ||
02f935fb | 312 | all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe |
670ec357 VS |
313 | |
314 | clean: | |
315 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
316 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
cb327439 | 317 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm |
670ec357 VS |
318 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe |
319 | -if exist $(OBJS)\test.tds del $(OBJS)\test.tds | |
320 | -if exist $(OBJS)\test.ilc del $(OBJS)\test.ilc | |
321 | -if exist $(OBJS)\test.ild del $(OBJS)\test.ild | |
322 | -if exist $(OBJS)\test.ilf del $(OBJS)\test.ilf | |
323 | -if exist $(OBJS)\test.ils del $(OBJS)\test.ils | |
a0744a6b VS |
324 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe |
325 | -if exist $(OBJS)\test_gui.tds del $(OBJS)\test_gui.tds | |
326 | -if exist $(OBJS)\test_gui.ilc del $(OBJS)\test_gui.ilc | |
327 | -if exist $(OBJS)\test_gui.ild del $(OBJS)\test_gui.ild | |
328 | -if exist $(OBJS)\test_gui.ilf del $(OBJS)\test_gui.ilf | |
329 | -if exist $(OBJS)\test_gui.ils del $(OBJS)\test_gui.ils | |
c2c04edc KO |
330 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe |
331 | -if exist $(OBJS)\printfbench.tds del $(OBJS)\printfbench.tds | |
332 | -if exist $(OBJS)\printfbench.ilc del $(OBJS)\printfbench.ilc | |
333 | -if exist $(OBJS)\printfbench.ild del $(OBJS)\printfbench.ild | |
334 | -if exist $(OBJS)\printfbench.ilf del $(OBJS)\printfbench.ilf | |
335 | -if exist $(OBJS)\printfbench.ils del $(OBJS)\printfbench.ils | |
670ec357 | 336 | |
8899b155 | 337 | $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS) |
670ec357 | 338 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&| |
5e05df3c | 339 | 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 |
340 | | |
341 | ||
342 | !if "$(USE_GUI)" == "1" | |
343 | $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
98a50e20 | 344 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap @&&| |
6aaee6af | 345 | 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 | 346 | | |
a0744a6b | 347 | !endif |
670ec357 | 348 | |
387f829e VS |
349 | data: |
350 | if not exist $(OBJS) mkdir $(OBJS) | |
351 | for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
352 | ||
02f935fb VS |
353 | fr: |
354 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
355 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr | |
356 | ||
c2c04edc KO |
357 | $(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS) |
358 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&| | |
6aaee6af | 359 | 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 |
360 | | |
361 | ||
8899b155 | 362 | $(OBJS)\test_dummy.obj: .\dummy.cpp |
6e0fbb3d | 363 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) -H .\dummy.cpp |
8899b155 | 364 | |
670ec357 | 365 | $(OBJS)\test_test.obj: .\test.cpp |
6e0fbb3d | 366 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\test.cpp |
670ec357 | 367 | |
8899b155 | 368 | $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp |
6e0fbb3d | 369 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp |
8899b155 | 370 | |
e6477b92 | 371 | $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp |
6e0fbb3d | 372 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp |
e6477b92 | 373 | |
cdd7933f | 374 | $(OBJS)\test_tartest.obj: .\archive\tartest.cpp |
6e0fbb3d | 375 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp |
cdd7933f | 376 | |
dd65d8c8 | 377 | $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp |
6e0fbb3d | 378 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp |
4827cbd9 | 379 | |
9222c613 | 380 | $(OBJS)\test_base64.obj: .\base64\base64.cpp |
6e0fbb3d | 381 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\base64\base64.cpp |
9222c613 | 382 | |
5769cf0f VZ |
383 | $(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp |
384 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp | |
385 | ||
9222c613 | 386 | $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp |
6e0fbb3d | 387 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp |
bc10103e | 388 | |
9222c613 | 389 | $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp |
6e0fbb3d | 390 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp |
ab921f5f | 391 | |
0912690b | 392 | $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp |
6e0fbb3d | 393 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp |
3fa86423 | 394 | |
0912690b | 395 | $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp |
6e0fbb3d | 396 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp |
cf1014a2 | 397 | |
0912690b | 398 | $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp |
6e0fbb3d | 399 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp |
3c70014d | 400 | |
113e181a | 401 | $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp |
6e0fbb3d | 402 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp |
dd65d8c8 | 403 | |
113e181a | 404 | $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp |
6e0fbb3d | 405 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp |
1b035b8c | 406 | |
f9c3d39b | 407 | $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp |
6e0fbb3d | 408 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp |
f9c3d39b | 409 | |
02f935fb | 410 | $(OBJS)\test_intltest.obj: .\intl\intltest.cpp |
6e0fbb3d | 411 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp |
02f935fb | 412 | |
7d9cfc54 | 413 | $(OBJS)\test_lists.obj: .\lists\lists.cpp |
6e0fbb3d | 414 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\lists\lists.cpp |
7d9cfc54 | 415 | |
113e181a | 416 | $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp |
6e0fbb3d | 417 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp |
7735998c | 418 | |
d31a29b5 | 419 | $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp |
6e0fbb3d | 420 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp |
d31a29b5 | 421 | |
113e181a | 422 | $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp |
6e0fbb3d | 423 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp |
dd65d8c8 | 424 | |
113e181a | 425 | $(OBJS)\test_regextest.obj: .\regex\regextest.cpp |
6e0fbb3d | 426 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp |
dd65d8c8 | 427 | |
113e181a | 428 | $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp |
6e0fbb3d | 429 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp |
dd65d8c8 | 430 | |
0d90d6ea | 431 | $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp |
6e0fbb3d | 432 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp |
0d90d6ea | 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 | ||
02e22828 VZ |
518 | $(OBJS)\test_iostream.obj: .\strings\iostream.cpp |
519 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp | |
520 | ||
521 | $(OBJS)\test_iostream.obj: .\streams\iostream.cpp | |
522 | $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\streams\iostream.cpp | |
523 | ||
a0744a6b | 524 | $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc |
6e0fbb3d | 525 | 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 |
526 | |
527 | $(OBJS)\test_gui_dummy.obj: .\dummy.cpp | |
6e0fbb3d | 528 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H .\dummy.cpp |
a0744a6b VS |
529 | |
530 | $(OBJS)\test_gui_test.obj: .\test.cpp | |
6e0fbb3d | 531 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\test.cpp |
98a50e20 VS |
532 | |
533 | $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp | |
6e0fbb3d | 534 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp |
cb327439 MW |
535 | |
536 | $(OBJS)\test_gui_size.obj: .\geometry\size.cpp | |
6e0fbb3d | 537 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp |
cb327439 MW |
538 | |
539 | $(OBJS)\test_gui_point.obj: .\geometry\point.cpp | |
6e0fbb3d | 540 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp |
cb327439 | 541 | |
9222c613 | 542 | $(OBJS)\test_gui_config.obj: .\config\config.cpp |
6e0fbb3d | 543 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp |
9222c613 | 544 | |
c0d9b217 | 545 | $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp |
6e0fbb3d | 546 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp |
c0d9b217 | 547 | |
3e50a139 VZ |
548 | $(OBJS)\test_gui_rawbmp.obj: .\image\rawbmp.cpp |
549 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\image\rawbmp.cpp | |
550 | ||
c8f80d27 VZ |
551 | $(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp |
552 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp | |
553 | ||
1a86d2e5 VZ |
554 | $(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp |
555 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp | |
556 | ||
5af86f4d VZ |
557 | $(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp |
558 | $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp | |
559 | ||
c2c04edc | 560 | $(OBJS)\printfbench_dummy.obj: .\dummy.cpp |
6e0fbb3d | 561 | $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) -H .\dummy.cpp |
c2c04edc KO |
562 | |
563 | $(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp | |
6e0fbb3d | 564 | $(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) .\benchmarks\printfbench.cpp |
c2c04edc | 565 |