]>
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 VS |
192 | __UNICODE_DEFINE_p = |
193 | !ifeq UNICODE 1 | |
194 | __UNICODE_DEFINE_p = -d_UNICODE | |
195 | !endif | |
3abcf424 RD |
196 | __GFXCTX_DEFINE_p = |
197 | !ifeq USE_GDIPLUS 1 | |
198 | __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1 | |
199 | !endif | |
a0744a6b | 200 | __DLLFLAG_p = |
670ec357 | 201 | !ifeq SHARED 1 |
a0744a6b | 202 | __DLLFLAG_p = -dWXUSINGDLL |
670ec357 | 203 | !endif |
c2c04edc KO |
204 | __WXLIB_BASE_p = |
205 | !ifeq MONOLITHIC 0 | |
206 | __WXLIB_BASE_p = & | |
207 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
208 | !endif | |
209 | __WXLIB_MONO_p = | |
210 | !ifeq MONOLITHIC 1 | |
211 | __WXLIB_MONO_p = & | |
212 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
213 | !endif | |
3abcf424 RD |
214 | __GDIPLUS_LIB_p = |
215 | !ifeq USE_GDIPLUS 1 | |
216 | __GDIPLUS_LIB_p = gdiplus.lib | |
217 | !endif | |
670ec357 VS |
218 | |
219 | ### Variables: ### | |
220 | ||
ae4ccf12 | 221 | WX_RELEASE_NODOT = 29 |
173f3c03 | 222 | COMPILER_PREFIX = wat |
670ec357 | 223 | OBJS = & |
173f3c03 VZ |
224 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
225 | LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
670ec357 VS |
226 | SETUPHDIR = & |
227 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
e1265174 MW |
228 | TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & |
229 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
8c9f8f91 | 230 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & |
3abcf424 RD |
231 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & |
232 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 & | |
233 | $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test.pch $(__RTTIFLAG) & | |
234 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
670ec357 | 235 | TEST_OBJECTS = & |
8899b155 | 236 | $(OBJS)\test_dummy.obj & |
670ec357 | 237 | $(OBJS)\test_test.obj & |
8899b155 | 238 | $(OBJS)\test_archivetest.obj & |
e6477b92 | 239 | $(OBJS)\test_ziptest.obj & |
cdd7933f | 240 | $(OBJS)\test_tartest.obj & |
dd65d8c8 | 241 | $(OBJS)\test_arrays.obj & |
113e181a RN |
242 | $(OBJS)\test_datetimetest.obj & |
243 | $(OBJS)\test_fileconftest.obj & | |
0912690b | 244 | $(OBJS)\test_filekind.obj & |
113e181a RN |
245 | $(OBJS)\test_filenametest.obj & |
246 | $(OBJS)\test_filesystest.obj & | |
247 | $(OBJS)\test_fontmaptest.obj & | |
248 | $(OBJS)\test_formatconvertertest.obj & | |
c4839ccf | 249 | $(OBJS)\test_hashes.obj & |
02f935fb | 250 | $(OBJS)\test_intltest.obj & |
7d9cfc54 | 251 | $(OBJS)\test_lists.obj & |
113e181a | 252 | $(OBJS)\test_longlongtest.obj & |
d31a29b5 | 253 | $(OBJS)\test_convautotest.obj & |
113e181a RN |
254 | $(OBJS)\test_mbconvtest.obj & |
255 | $(OBJS)\test_regextest.obj & | |
256 | $(OBJS)\test_wxregextest.obj & | |
0d90d6ea | 257 | $(OBJS)\test_scopeguardtest.obj & |
1cd53e88 | 258 | $(OBJS)\test_strings.obj & |
405b7d91 | 259 | $(OBJS)\test_stdstrings.obj & |
20a34d96 | 260 | $(OBJS)\test_tokenizer.obj & |
c9f78968 | 261 | $(OBJS)\test_unichar.obj & |
387f829e | 262 | $(OBJS)\test_unicode.obj & |
c9f78968 | 263 | $(OBJS)\test_vararg.obj & |
cf8ee08b | 264 | $(OBJS)\test_crt.obj & |
3b2cb431 | 265 | $(OBJS)\test_vsnprintf.obj & |
7735998c | 266 | $(OBJS)\test_bstream.obj & |
7d9cfc54 | 267 | $(OBJS)\test_datastreamtest.obj & |
7735998c | 268 | $(OBJS)\test_ffilestream.obj & |
e2255c89 | 269 | $(OBJS)\test_fileback.obj & |
7735998c | 270 | $(OBJS)\test_filestream.obj & |
cb327439 | 271 | $(OBJS)\test_largefile.obj & |
7735998c | 272 | $(OBJS)\test_memstream.obj & |
c33fae85 | 273 | $(OBJS)\test_sstream.obj & |
e1265174 | 274 | $(OBJS)\test_tempfile.obj & |
8899b155 | 275 | $(OBJS)\test_textstreamtest.obj & |
816b59de | 276 | $(OBJS)\test_zlibstream.obj & |
d31a29b5 | 277 | $(OBJS)\test_textfiletest.obj & |
173f3c03 | 278 | $(OBJS)\test_atomic.obj & |
e966f815 VS |
279 | $(OBJS)\test_uris.obj & |
280 | $(OBJS)\test_vectors.obj | |
e1265174 MW |
281 | TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & |
282 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
8c9f8f91 | 283 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & |
3abcf424 RD |
284 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & |
285 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\samples & | |
286 | -dNOPCH $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) & | |
e1265174 | 287 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) |
a0744a6b VS |
288 | TEST_GUI_OBJECTS = & |
289 | $(OBJS)\test_gui_dummy.obj & | |
98a50e20 | 290 | $(OBJS)\test_gui_test.obj & |
cb327439 MW |
291 | $(OBJS)\test_gui_rect.obj & |
292 | $(OBJS)\test_gui_size.obj & | |
293 | $(OBJS)\test_gui_point.obj | |
c2c04edc KO |
294 | PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & |
295 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
296 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & | |
3abcf424 RD |
297 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & |
298 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 & | |
299 | $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_printfbench.pch $(__RTTIFLAG) & | |
300 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
c2c04edc KO |
301 | PRINTFBENCH_OBJECTS = & |
302 | $(OBJS)\printfbench_dummy.obj & | |
303 | $(OBJS)\printfbench_printfbench.obj | |
670ec357 VS |
304 | |
305 | ||
306 | all : $(OBJS) | |
307 | $(OBJS) : | |
308 | -if not exist $(OBJS) mkdir $(OBJS) | |
309 | ||
310 | ### Targets: ### | |
311 | ||
02f935fb | 312 | all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe |
670ec357 VS |
313 | |
314 | clean : .SYMBOLIC | |
315 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
316 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
317 | -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc | |
318 | -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk | |
cb327439 | 319 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
670ec357 | 320 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe |
a0744a6b | 321 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe |
c2c04edc | 322 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe |
670ec357 VS |
323 | |
324 | $(OBJS)\test.exe : $(TEST_OBJECTS) | |
325 | @%create $(OBJS)\test.lbc | |
326 | @%append $(OBJS)\test.lbc option quiet | |
327 | @%append $(OBJS)\test.lbc name $^@ | |
328 | @%append $(OBJS)\test.lbc option caseexact | |
c2c04edc | 329 | @%append $(OBJS)\test.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) |
670ec357 | 330 | @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i |
3abcf424 | 331 | @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 odbc32.lib) do @%append $(OBJS)\test.lbc library %i |
670ec357 | 332 | @%append $(OBJS)\test.lbc |
cf9b63b3 | 333 | @for %i in () do @%append $(OBJS)\test.lbc option stack=%i |
670ec357 VS |
334 | wlink @$(OBJS)\test.lbc |
335 | ||
a0744a6b VS |
336 | !ifeq USE_GUI 1 |
337 | $(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
338 | @%create $(OBJS)\test_gui.lbc | |
339 | @%append $(OBJS)\test_gui.lbc option quiet | |
340 | @%append $(OBJS)\test_gui.lbc name $^@ | |
341 | @%append $(OBJS)\test_gui.lbc option caseexact | |
c2c04edc | 342 | @%append $(OBJS)\test_gui.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_' |
a0744a6b | 343 | @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i |
3abcf424 | 344 | @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 odbc32.lib) do @%append $(OBJS)\test_gui.lbc library %i |
a0744a6b | 345 | @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res |
cf9b63b3 | 346 | @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i |
a0744a6b VS |
347 | wlink @$(OBJS)\test_gui.lbc |
348 | !endif | |
349 | ||
387f829e VS |
350 | data : .SYMBOLIC |
351 | if not exist $(OBJS) mkdir $(OBJS) | |
352 | for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
353 | ||
02f935fb VS |
354 | fr : .SYMBOLIC |
355 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
356 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr | |
357 | ||
c2c04edc KO |
358 | $(OBJS)\printfbench.exe : $(PRINTFBENCH_OBJECTS) |
359 | @%create $(OBJS)\printfbench.lbc | |
360 | @%append $(OBJS)\printfbench.lbc option quiet | |
361 | @%append $(OBJS)\printfbench.lbc name $^@ | |
362 | @%append $(OBJS)\printfbench.lbc option caseexact | |
363 | @%append $(OBJS)\printfbench.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) | |
364 | @for %i in ($(PRINTFBENCH_OBJECTS)) do @%append $(OBJS)\printfbench.lbc file %i | |
3abcf424 | 365 | @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 odbc32.lib) do @%append $(OBJS)\printfbench.lbc library %i |
c2c04edc KO |
366 | @%append $(OBJS)\printfbench.lbc |
367 | @for %i in () do @%append $(OBJS)\printfbench.lbc option stack=%i | |
368 | wlink @$(OBJS)\printfbench.lbc | |
369 | ||
8899b155 | 370 | $(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp |
4cbcfb73 | 371 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
8899b155 | 372 | |
670ec357 | 373 | $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp |
4cbcfb73 | 374 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
670ec357 | 375 | |
8899b155 | 376 | $(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp |
4cbcfb73 | 377 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
8899b155 | 378 | |
e6477b92 | 379 | $(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp |
4cbcfb73 | 380 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
e6477b92 | 381 | |
cdd7933f MW |
382 | $(OBJS)\test_tartest.obj : .AUTODEPEND .\archive\tartest.cpp |
383 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
384 | ||
dd65d8c8 | 385 | $(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp |
4cbcfb73 | 386 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
4827cbd9 | 387 | |
113e181a | 388 | $(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp |
4cbcfb73 | 389 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
bc10103e | 390 | |
113e181a | 391 | $(OBJS)\test_fileconftest.obj : .AUTODEPEND .\fileconf\fileconftest.cpp |
4cbcfb73 | 392 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
ab921f5f | 393 | |
0912690b | 394 | $(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp |
4cbcfb73 | 395 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
3fa86423 | 396 | |
0912690b | 397 | $(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp |
4cbcfb73 | 398 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
cf1014a2 | 399 | |
0912690b | 400 | $(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp |
4cbcfb73 | 401 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
3c70014d | 402 | |
113e181a | 403 | $(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp |
4cbcfb73 | 404 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 405 | |
113e181a | 406 | $(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp |
4cbcfb73 | 407 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
1b035b8c | 408 | |
c4839ccf | 409 | $(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp |
4cbcfb73 | 410 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
c4839ccf | 411 | |
02f935fb VS |
412 | $(OBJS)\test_intltest.obj : .AUTODEPEND .\intl\intltest.cpp |
413 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
414 | ||
7d9cfc54 | 415 | $(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp |
4cbcfb73 | 416 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7d9cfc54 | 417 | |
113e181a | 418 | $(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp |
4cbcfb73 | 419 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 420 | |
d31a29b5 VZ |
421 | $(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp |
422 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
423 | ||
113e181a | 424 | $(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp |
4cbcfb73 | 425 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 426 | |
113e181a | 427 | $(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp |
4cbcfb73 | 428 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 429 | |
113e181a | 430 | $(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp |
4cbcfb73 | 431 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
dd65d8c8 | 432 | |
0d90d6ea | 433 | $(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp |
4cbcfb73 | 434 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
0d90d6ea | 435 | |
1cd53e88 | 436 | $(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp |
4cbcfb73 | 437 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
1cd53e88 | 438 | |
405b7d91 | 439 | $(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp |
4cbcfb73 | 440 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
405b7d91 | 441 | |
20a34d96 VZ |
442 | $(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp |
443 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
444 | ||
c9f78968 VS |
445 | $(OBJS)\test_unichar.obj : .AUTODEPEND .\strings\unichar.cpp |
446 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
447 | ||
387f829e | 448 | $(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp |
4cbcfb73 | 449 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
387f829e | 450 | |
c9f78968 VS |
451 | $(OBJS)\test_vararg.obj : .AUTODEPEND .\strings\vararg.cpp |
452 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
453 | ||
cf8ee08b | 454 | $(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp |
4cbcfb73 | 455 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
cf8ee08b | 456 | |
3b2cb431 JS |
457 | $(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp |
458 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
459 | ||
7735998c | 460 | $(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp |
4cbcfb73 | 461 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 462 | |
7d9cfc54 | 463 | $(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp |
4cbcfb73 | 464 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7d9cfc54 | 465 | |
7735998c | 466 | $(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp |
4cbcfb73 | 467 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 468 | |
e2255c89 MW |
469 | $(OBJS)\test_fileback.obj : .AUTODEPEND .\streams\fileback.cpp |
470 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
471 | ||
7735998c | 472 | $(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp |
4cbcfb73 | 473 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 474 | |
cb327439 | 475 | $(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp |
4cbcfb73 | 476 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
cb327439 | 477 | |
7735998c | 478 | $(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp |
4cbcfb73 | 479 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
7735998c | 480 | |
c33fae85 | 481 | $(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp |
4cbcfb73 | 482 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
c33fae85 | 483 | |
e1265174 | 484 | $(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp |
4cbcfb73 | 485 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
e1265174 | 486 | |
8899b155 | 487 | $(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp |
4cbcfb73 | 488 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
8899b155 | 489 | |
7735998c | 490 | $(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp |
4cbcfb73 | 491 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
816b59de | 492 | |
d31a29b5 VZ |
493 | $(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp |
494 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
495 | ||
173f3c03 VZ |
496 | $(OBJS)\test_atomic.obj : .AUTODEPEND .\thread\atomic.cpp |
497 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
498 | ||
dd65d8c8 | 499 | $(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp |
4cbcfb73 | 500 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< |
a0744a6b | 501 | |
e966f815 VS |
502 | $(OBJS)\test_vectors.obj : .AUTODEPEND .\vectors\vectors.cpp |
503 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
504 | ||
a0744a6b | 505 | $(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc |
c9f78968 | 506 | 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 |
507 | |
508 | $(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp | |
4cbcfb73 | 509 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
a0744a6b VS |
510 | |
511 | $(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp | |
4cbcfb73 | 512 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
98a50e20 VS |
513 | |
514 | $(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp | |
4cbcfb73 | 515 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
cb327439 MW |
516 | |
517 | $(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp | |
4cbcfb73 | 518 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
cb327439 MW |
519 | |
520 | $(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp | |
4cbcfb73 | 521 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< |
cb327439 | 522 | |
c2c04edc KO |
523 | $(OBJS)\printfbench_dummy.obj : .AUTODEPEND .\dummy.cpp |
524 | $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $< | |
525 | ||
526 | $(OBJS)\printfbench_printfbench.obj : .AUTODEPEND .\benchmarks\printfbench.cpp | |
527 | $(CXX) -bt=nt -zq -fo=$^@ $(PRINTFBENCH_CXXFLAGS) $< | |
528 |