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