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