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