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