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