]>
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 | !include ../build/msw/config.wat | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | # Speed up compilation a bit: | |
14 | !ifdef __LOADDLL__ | |
15 | ! loaddll wcc wccd | |
16 | ! loaddll wccaxp wccdaxp | |
17 | ! loaddll wcc386 wccd386 | |
18 | ! loaddll wpp wppdi86 | |
19 | ! loaddll wppaxp wppdaxp | |
20 | ! loaddll wpp386 wppd386 | |
21 | ! loaddll wlink wlink | |
22 | ! loaddll wlib wlibd | |
23 | !endif | |
24 | ||
25 | # We need these variables in some bakefile-made rules: | |
26 | WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- | |
27 | ||
28 | ### Conditionally set variables: ### | |
29 | ||
30 | PORTNAME = | |
31 | !ifeq USE_GUI 0 | |
32 | PORTNAME = base | |
33 | !endif | |
34 | !ifeq USE_GUI 1 | |
35 | PORTNAME = msw | |
36 | !endif | |
37 | WXDEBUGFLAG = | |
38 | !ifeq BUILD debug | |
39 | !ifeq DEBUG_FLAG default | |
40 | WXDEBUGFLAG = d | |
41 | !endif | |
42 | !endif | |
43 | !ifeq DEBUG_FLAG 1 | |
44 | WXDEBUGFLAG = d | |
45 | !endif | |
46 | WXUNICODEFLAG = | |
47 | !ifeq UNICODE 1 | |
48 | WXUNICODEFLAG = u | |
49 | !endif | |
50 | WXUNIVNAME = | |
51 | !ifeq WXUNIV 1 | |
52 | WXUNIVNAME = univ | |
53 | !endif | |
54 | WXDLLFLAG = | |
55 | !ifeq SHARED 1 | |
56 | WXDLLFLAG = dll | |
57 | !endif | |
cb327439 MW |
58 | LIBTYPE_SUFFIX = |
59 | !ifeq SHARED 0 | |
60 | LIBTYPE_SUFFIX = lib | |
61 | !endif | |
62 | !ifeq SHARED 1 | |
63 | LIBTYPE_SUFFIX = dll | |
64 | !endif | |
dd65d8c8 RN |
65 | EXTRALIBS_FOR_BASE = |
66 | !ifeq MONOLITHIC 0 | |
67 | EXTRALIBS_FOR_BASE = | |
68 | !endif | |
69 | !ifeq MONOLITHIC 1 | |
70 | EXTRALIBS_FOR_BASE = | |
71 | !endif | |
a0744a6b VS |
72 | __WXLIB_NET_p = |
73 | !ifeq MONOLITHIC 0 | |
74 | __WXLIB_NET_p = & | |
75 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
76 | !endif | |
77 | __test_gui___depname = | |
78 | !ifeq USE_GUI 1 | |
79 | __test_gui___depname = $(OBJS)\test_gui.exe | |
80 | !endif | |
81 | __WXLIB_CORE_p = | |
82 | !ifeq MONOLITHIC 0 | |
83 | __WXLIB_CORE_p = & | |
84 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
85 | !endif | |
3b2cb431 JS |
86 | __LIB_TIFF_p = |
87 | !ifeq USE_GUI 1 | |
88 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
89 | !endif | |
90 | __LIB_JPEG_p = | |
91 | !ifeq USE_GUI 1 | |
92 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
93 | !endif | |
94 | __LIB_PNG_p = | |
95 | !ifeq USE_GUI 1 | |
96 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
97 | !endif | |
a0744a6b | 98 | __DEBUGINFO = |
670ec357 VS |
99 | !ifeq BUILD debug |
100 | !ifeq DEBUG_INFO default | |
a0744a6b | 101 | __DEBUGINFO = -d2 |
670ec357 VS |
102 | !endif |
103 | !endif | |
104 | !ifeq BUILD release | |
105 | !ifeq DEBUG_INFO default | |
a0744a6b | 106 | __DEBUGINFO = -d0 |
670ec357 VS |
107 | !endif |
108 | !endif | |
109 | !ifeq DEBUG_INFO 0 | |
a0744a6b | 110 | __DEBUGINFO = -d0 |
670ec357 VS |
111 | !endif |
112 | !ifeq DEBUG_INFO 1 | |
a0744a6b | 113 | __DEBUGINFO = -d2 |
670ec357 | 114 | !endif |
c2c04edc | 115 | __DEBUGINFO_2 = |
670ec357 VS |
116 | !ifeq BUILD debug |
117 | !ifeq DEBUG_INFO default | |
c2c04edc | 118 | __DEBUGINFO_2 = debug all |
670ec357 VS |
119 | !endif |
120 | !endif | |
121 | !ifeq BUILD release | |
122 | !ifeq DEBUG_INFO default | |
c2c04edc | 123 | __DEBUGINFO_2 = |
670ec357 VS |
124 | !endif |
125 | !endif | |
126 | !ifeq DEBUG_INFO 0 | |
c2c04edc | 127 | __DEBUGINFO_2 = |
670ec357 VS |
128 | !endif |
129 | !ifeq DEBUG_INFO 1 | |
c2c04edc | 130 | __DEBUGINFO_2 = debug all |
670ec357 | 131 | !endif |
a0744a6b | 132 | __OPTIMIZEFLAG = |
670ec357 | 133 | !ifeq BUILD debug |
a0744a6b | 134 | __OPTIMIZEFLAG = -od |
670ec357 VS |
135 | !endif |
136 | !ifeq BUILD release | |
a0744a6b | 137 | __OPTIMIZEFLAG = -ot -ox |
670ec357 | 138 | !endif |
e1265174 MW |
139 | __THREADSFLAG = |
140 | !ifeq USE_THREADS 0 | |
141 | __THREADSFLAG = | |
142 | !endif | |
143 | !ifeq USE_THREADS 1 | |
144 | __THREADSFLAG = -bm | |
145 | !endif | |
a0744a6b | 146 | __RUNTIME_LIBS = |
670ec357 | 147 | !ifeq RUNTIME_LIBS dynamic |
a0744a6b | 148 | __RUNTIME_LIBS = -br |
670ec357 VS |
149 | !endif |
150 | !ifeq RUNTIME_LIBS static | |
a0744a6b | 151 | __RUNTIME_LIBS = |
670ec357 | 152 | !endif |
e1265174 MW |
153 | __RTTIFLAG = |
154 | !ifeq USE_RTTI 0 | |
155 | __RTTIFLAG = | |
670ec357 | 156 | !endif |
e1265174 MW |
157 | !ifeq USE_RTTI 1 |
158 | __RTTIFLAG = -xr | |
670ec357 | 159 | !endif |
e1265174 | 160 | __EXCEPTIONSFLAG = |
cb327439 | 161 | !ifeq USE_EXCEPTIONS 0 |
e1265174 | 162 | __EXCEPTIONSFLAG = |
670ec357 | 163 | !endif |
cb327439 | 164 | !ifeq USE_EXCEPTIONS 1 |
e1265174 | 165 | __EXCEPTIONSFLAG = -xs |
113e181a | 166 | !endif |
a0744a6b VS |
167 | __WXUNIV_DEFINE_p = |
168 | !ifeq WXUNIV 1 | |
169 | __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__ | |
670ec357 | 170 | !endif |
a0744a6b VS |
171 | __DEBUG_DEFINE_p = |
172 | !ifeq BUILD debug | |
173 | !ifeq DEBUG_FLAG default | |
174 | __DEBUG_DEFINE_p = -d__WXDEBUG__ | |
175 | !endif | |
176 | !endif | |
177 | !ifeq DEBUG_FLAG 1 | |
178 | __DEBUG_DEFINE_p = -d__WXDEBUG__ | |
179 | !endif | |
8c9f8f91 JS |
180 | __EXCEPTIONS_DEFINE_p = |
181 | !ifeq USE_EXCEPTIONS 0 | |
182 | __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS | |
183 | !endif | |
184 | __RTTI_DEFINE_p = | |
185 | !ifeq USE_RTTI 0 | |
186 | __RTTI_DEFINE_p = -dwxNO_RTTI | |
187 | !endif | |
188 | __THREAD_DEFINE_p = | |
189 | !ifeq USE_THREADS 0 | |
190 | __THREAD_DEFINE_p = -dwxNO_THREADS | |
191 | !endif | |
a0744a6b | 192 | __UNICODE_DEFINE_p = |
7379e476 VZ |
193 | !ifeq UNICODE 0 |
194 | __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0 | |
195 | !endif | |
a0744a6b VS |
196 | !ifeq UNICODE 1 |
197 | __UNICODE_DEFINE_p = -d_UNICODE | |
198 | !endif | |
3abcf424 RD |
199 | __GFXCTX_DEFINE_p = |
200 | !ifeq USE_GDIPLUS 1 | |
201 | __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1 | |
202 | !endif | |
a0744a6b | 203 | __DLLFLAG_p = |
670ec357 | 204 | !ifeq SHARED 1 |
a0744a6b | 205 | __DLLFLAG_p = -dWXUSINGDLL |
670ec357 | 206 | !endif |
c2c04edc KO |
207 | __WXLIB_BASE_p = |
208 | !ifeq MONOLITHIC 0 | |
209 | __WXLIB_BASE_p = & | |
210 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
211 | !endif | |
212 | __WXLIB_MONO_p = | |
213 | !ifeq MONOLITHIC 1 | |
214 | __WXLIB_MONO_p = & | |
215 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
216 | !endif | |
3abcf424 RD |
217 | __GDIPLUS_LIB_p = |
218 | !ifeq USE_GDIPLUS 1 | |
219 | __GDIPLUS_LIB_p = gdiplus.lib | |
220 | !endif | |
670ec357 VS |
221 | |
222 | ### Variables: ### | |
223 | ||
ae4ccf12 | 224 | WX_RELEASE_NODOT = 29 |
173f3c03 | 225 | COMPILER_PREFIX = wat |
670ec357 | 226 | OBJS = & |
173f3c03 VZ |
227 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
228 | LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
670ec357 VS |
229 | SETUPHDIR = & |
230 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
e1265174 MW |
231 | TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & |
232 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
8c9f8f91 | 233 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & |
3abcf424 RD |
234 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & |
235 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 & | |
236 | $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test.pch $(__RTTIFLAG) & | |
237 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
670ec357 | 238 | TEST_OBJECTS = & |
8899b155 | 239 | $(OBJS)\test_dummy.obj & |
670ec357 | 240 | $(OBJS)\test_test.obj & |
8899b155 | 241 | $(OBJS)\test_archivetest.obj & |
e6477b92 | 242 | $(OBJS)\test_ziptest.obj & |
cdd7933f | 243 | $(OBJS)\test_tartest.obj & |
dd65d8c8 | 244 | $(OBJS)\test_arrays.obj & |
9222c613 VZ |
245 | $(OBJS)\test_base64.obj & |
246 | $(OBJS)\test_fileconf.obj & | |
113e181a | 247 | $(OBJS)\test_datetimetest.obj & |
0912690b | 248 | $(OBJS)\test_filekind.obj & |
113e181a RN |
249 | $(OBJS)\test_filenametest.obj & |
250 | $(OBJS)\test_filesystest.obj & | |
251 | $(OBJS)\test_fontmaptest.obj & | |
252 | $(OBJS)\test_formatconvertertest.obj & | |
c4839ccf | 253 | $(OBJS)\test_hashes.obj & |
02f935fb | 254 | $(OBJS)\test_intltest.obj & |
7d9cfc54 | 255 | $(OBJS)\test_lists.obj & |
113e181a | 256 | $(OBJS)\test_longlongtest.obj & |
d31a29b5 | 257 | $(OBJS)\test_convautotest.obj & |
113e181a RN |
258 | $(OBJS)\test_mbconvtest.obj & |
259 | $(OBJS)\test_regextest.obj & | |
260 | $(OBJS)\test_wxregextest.obj & | |
0d90d6ea | 261 | $(OBJS)\test_scopeguardtest.obj & |
99d8bc65 | 262 | $(OBJS)\test_iostream.obj & |
1cd53e88 | 263 | $(OBJS)\test_strings.obj & |
405b7d91 | 264 | $(OBJS)\test_stdstrings.obj & |
20a34d96 | 265 | $(OBJS)\test_tokenizer.obj & |
c9f78968 | 266 | $(OBJS)\test_unichar.obj & |
387f829e | 267 | $(OBJS)\test_unicode.obj & |
c9f78968 | 268 | $(OBJS)\test_vararg.obj & |
cf8ee08b | 269 | $(OBJS)\test_crt.obj & |
3b2cb431 | 270 | $(OBJS)\test_vsnprintf.obj & |
7735998c | 271 | $(OBJS)\test_bstream.obj & |
7d9cfc54 | 272 | $(OBJS)\test_datastreamtest.obj & |
7735998c | 273 | $(OBJS)\test_ffilestream.obj & |
e2255c89 | 274 | $(OBJS)\test_fileback.obj & |
7735998c | 275 | $(OBJS)\test_filestream.obj & |
cb327439 | 276 | $(OBJS)\test_largefile.obj & |
7735998c | 277 | $(OBJS)\test_memstream.obj & |
c33fae85 | 278 | $(OBJS)\test_sstream.obj & |
e1265174 | 279 | $(OBJS)\test_tempfile.obj & |
8899b155 | 280 | $(OBJS)\test_textstreamtest.obj & |
816b59de | 281 | $(OBJS)\test_zlibstream.obj & |
d31a29b5 | 282 | $(OBJS)\test_textfiletest.obj & |
173f3c03 | 283 | $(OBJS)\test_atomic.obj & |
6aaee6af | 284 | $(OBJS)\test_queue.obj & |
e966f815 VS |
285 | $(OBJS)\test_uris.obj & |
286 | $(OBJS)\test_vectors.obj | |
e1265174 MW |
287 | TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & |
288 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
8c9f8f91 | 289 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & |
3abcf424 RD |
290 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & |
291 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\samples & | |
292 | -dNOPCH $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) & | |
e1265174 | 293 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) |
a0744a6b VS |
294 | TEST_GUI_OBJECTS = & |
295 | $(OBJS)\test_gui_dummy.obj & | |
98a50e20 | 296 | $(OBJS)\test_gui_test.obj & |
cb327439 MW |
297 | $(OBJS)\test_gui_rect.obj & |
298 | $(OBJS)\test_gui_size.obj & | |
9222c613 | 299 | $(OBJS)\test_gui_point.obj & |
c0d9b217 VZ |
300 | $(OBJS)\test_gui_config.obj & |
301 | $(OBJS)\test_gui_textctrltest.obj | |
c2c04edc KO |
302 | PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & |
303 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
304 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & | |
3abcf424 RD |
305 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & |
306 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 & | |
307 | $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_printfbench.pch $(__RTTIFLAG) & | |
308 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
c2c04edc KO |
309 | PRINTFBENCH_OBJECTS = & |
310 | $(OBJS)\printfbench_dummy.obj & | |
311 | $(OBJS)\printfbench_printfbench.obj | |
670ec357 VS |
312 | |
313 | ||
314 | all : $(OBJS) | |
315 | $(OBJS) : | |
316 | -if not exist $(OBJS) mkdir $(OBJS) | |
317 | ||
318 | ### Targets: ### | |
319 | ||
02f935fb | 320 | all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe |
670ec357 VS |
321 | |
322 | clean : .SYMBOLIC | |
323 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
324 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
325 | -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc | |
326 | -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk | |
cb327439 | 327 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
670ec357 | 328 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe |
a0744a6b | 329 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe |
c2c04edc | 330 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe |
670ec357 VS |
331 | |
332 | $(OBJS)\test.exe : $(TEST_OBJECTS) | |
333 | @%create $(OBJS)\test.lbc | |
334 | @%append $(OBJS)\test.lbc option quiet | |
335 | @%append $(OBJS)\test.lbc name $^@ | |
336 | @%append $(OBJS)\test.lbc option caseexact | |
c2c04edc | 337 | @%append $(OBJS)\test.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) |
670ec357 | 338 | @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i |
6aaee6af | 339 | @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\test.lbc library %i |
670ec357 | 340 | @%append $(OBJS)\test.lbc |
cf9b63b3 | 341 | @for %i in () do @%append $(OBJS)\test.lbc option stack=%i |
670ec357 VS |
342 | wlink @$(OBJS)\test.lbc |
343 | ||
a0744a6b VS |
344 | !ifeq USE_GUI 1 |
345 | $(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
346 | @%create $(OBJS)\test_gui.lbc | |
347 | @%append $(OBJS)\test_gui.lbc option quiet | |
348 | @%append $(OBJS)\test_gui.lbc name $^@ | |
349 | @%append $(OBJS)\test_gui.lbc option caseexact | |
c2c04edc | 350 | @%append $(OBJS)\test_gui.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_' |
a0744a6b | 351 | @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i |
6aaee6af | 352 | @for %i in ( $(__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) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\test_gui.lbc library %i |
a0744a6b | 353 | @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res |
cf9b63b3 | 354 | @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i |
a0744a6b VS |
355 | wlink @$(OBJS)\test_gui.lbc |
356 | !endif | |
357 | ||
387f829e VS |
358 | data : .SYMBOLIC |
359 | if not exist $(OBJS) mkdir $(OBJS) | |
360 | for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
361 | ||
02f935fb VS |
362 | fr : .SYMBOLIC |
363 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
364 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr | |
365 | ||
c2c04edc KO |
366 | $(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS) |
367 | @%create $(OBJS)\printfbench.lbc | |
368 | @%append $(OBJS)\printfbench.lbc option quiet | |
369 | @%append $(OBJS)\printfbench.lbc name $^@ | |
370 | @%append $(OBJS)\printfbench.lbc option caseexact | |
371 | @%append $(OBJS)\printfbench.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) | |
372 | @for %i in ($(PRINTFBENCH_OBJECTS)) do @%append $(OBJS)\printfbench.lbc file %i | |
6aaee6af | 373 | @for %i in ( $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\printfbench.lbc library %i |
c2c04edc KO |
374 | @%append $(OBJS)\printfbench.lbc |
375 | @for %i in () do @%append $(OBJS)\printfbench.lbc option stack=%i | |
376 | wlink @$(OBJS)\printfbench.lbc | |
377 | ||
8899b155 | 378 | $(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp |
4cbcfb73 | 379 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
8899b155 | 380 | |
670ec357 | 381 | $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp |
4cbcfb73 | 382 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
670ec357 | 383 | |
8899b155 | 384 | $(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp |
4cbcfb73 | 385 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
8899b155 | 386 | |
e6477b92 | 387 | $(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp |
4cbcfb73 | 388 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
e6477b92 | 389 | |
cdd7933f MW |
390 | $(OBJS)\test_tartest.obj : .AUTODEPEND .\archive\tartest.cpp |
391 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
392 | ||
dd65d8c8 | 393 | $(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp |
4cbcfb73 | 394 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
4827cbd9 | 395 | |
9222c613 VZ |
396 | $(OBJS)\test_base64.obj : .AUTODEPEND .\base64\base64.cpp |
397 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
398 | ||
399 | $(OBJS)\test_fileconf.obj : .AUTODEPEND .\config\fileconf.cpp | |
4cbcfb73 | 400 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
bc10103e | 401 | |
9222c613 | 402 | $(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp |
4cbcfb73 | 403 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
ab921f5f | 404 | |
0912690b | 405 | $(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp |
4cbcfb73 | 406 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
3fa86423 | 407 | |
0912690b | 408 | $(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp |
4cbcfb73 | 409 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
cf1014a2 | 410 | |
0912690b | 411 | $(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp |
4cbcfb73 | 412 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
3c70014d | 413 | |
113e181a | 414 | $(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp |
4cbcfb73 | 415 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 416 | |
113e181a | 417 | $(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp |
4cbcfb73 | 418 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
1b035b8c | 419 | |
c4839ccf | 420 | $(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp |
4cbcfb73 | 421 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
c4839ccf | 422 | |
02f935fb VS |
423 | $(OBJS)\test_intltest.obj : .AUTODEPEND .\intl\intltest.cpp |
424 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
425 | ||
7d9cfc54 | 426 | $(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp |
4cbcfb73 | 427 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7d9cfc54 | 428 | |
113e181a | 429 | $(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp |
4cbcfb73 | 430 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 431 | |
d31a29b5 VZ |
432 | $(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp |
433 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
434 | ||
113e181a | 435 | $(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp |
4cbcfb73 | 436 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 437 | |
113e181a | 438 | $(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp |
4cbcfb73 | 439 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 440 | |
113e181a | 441 | $(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp |
4cbcfb73 | 442 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 443 | |
0d90d6ea | 444 | $(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp |
4cbcfb73 | 445 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
0d90d6ea | 446 | |
99d8bc65 VZ |
447 | $(OBJS)\test_iostream.obj : .AUTODEPEND .\strings\iostream.cpp |
448 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
449 | ||
1cd53e88 | 450 | $(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp |
4cbcfb73 | 451 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
1cd53e88 | 452 | |
405b7d91 | 453 | $(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp |
4cbcfb73 | 454 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
405b7d91 | 455 | |
20a34d96 VZ |
456 | $(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp |
457 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
458 | ||
c9f78968 VS |
459 | $(OBJS)\test_unichar.obj : .AUTODEPEND .\strings\unichar.cpp |
460 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
461 | ||
387f829e | 462 | $(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp |
4cbcfb73 | 463 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
387f829e | 464 | |
c9f78968 VS |
465 | $(OBJS)\test_vararg.obj : .AUTODEPEND .\strings\vararg.cpp |
466 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
467 | ||
cf8ee08b | 468 | $(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp |
4cbcfb73 | 469 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
cf8ee08b | 470 | |
3b2cb431 JS |
471 | $(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp |
472 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
473 | ||
7735998c | 474 | $(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp |
4cbcfb73 | 475 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 476 | |
7d9cfc54 | 477 | $(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp |
4cbcfb73 | 478 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7d9cfc54 | 479 | |
7735998c | 480 | $(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp |
4cbcfb73 | 481 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 482 | |
e2255c89 MW |
483 | $(OBJS)\test_fileback.obj : .AUTODEPEND .\streams\fileback.cpp |
484 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
485 | ||
7735998c | 486 | $(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp |
4cbcfb73 | 487 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 488 | |
cb327439 | 489 | $(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp |
4cbcfb73 | 490 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
cb327439 | 491 | |
7735998c | 492 | $(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp |
4cbcfb73 | 493 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 494 | |
c33fae85 | 495 | $(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp |
4cbcfb73 | 496 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
c33fae85 | 497 | |
e1265174 | 498 | $(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp |
4cbcfb73 | 499 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
e1265174 | 500 | |
8899b155 | 501 | $(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp |
4cbcfb73 | 502 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
8899b155 | 503 | |
7735998c | 504 | $(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp |
4cbcfb73 | 505 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
816b59de | 506 | |
d31a29b5 VZ |
507 | $(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp |
508 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
509 | ||
173f3c03 VZ |
510 | $(OBJS)\test_atomic.obj : .AUTODEPEND .\thread\atomic.cpp |
511 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
512 | ||
6aaee6af VZ |
513 | $(OBJS)\test_queue.obj : .AUTODEPEND .\thread\queue.cpp |
514 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
515 | ||
dd65d8c8 | 516 | $(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp |
4cbcfb73 | 517 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
a0744a6b | 518 | |
e966f815 VS |
519 | $(OBJS)\test_vectors.obj : .AUTODEPEND .\vectors\vectors.cpp |
520 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
521 | ||
a0744a6b | 522 | $(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc |
c9f78968 | 523 | wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include -i=. $(__DLLFLAG_p) -i=.\..\samples -dNOPCH $< |
a0744a6b VS |
524 | |
525 | $(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp | |
4cbcfb73 | 526 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
a0744a6b VS |
527 | |
528 | $(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp | |
4cbcfb73 | 529 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
98a50e20 VS |
530 | |
531 | $(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp | |
4cbcfb73 | 532 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
cb327439 MW |
533 | |
534 | $(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp | |
4cbcfb73 | 535 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
cb327439 MW |
536 | |
537 | $(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp | |
4cbcfb73 | 538 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
cb327439 | 539 | |
9222c613 VZ |
540 | $(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp |
541 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
542 | ||
c0d9b217 VZ |
543 | $(OBJS)\test_gui_textctrltest.obj : .AUTODEPEND .\controls\textctrltest.cpp |
544 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
545 | ||
c2c04edc KO |
546 | $(OBJS)\printfbench_dummy.obj : .AUTODEPEND .\dummy.cpp |
547 | $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $< | |
548 | ||
549 | $(OBJS)\printfbench_printfbench.obj : .AUTODEPEND .\benchmarks\printfbench.cpp | |
550 | $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $< | |
551 |