]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.6 (http://www.bakefile.org) | |
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 | ! if $(__VERSION__) >= 1280 | |
22 | ! loaddll wlink wlinkd | |
23 | ! else | |
24 | ! loaddll wlink wlink | |
25 | ! endif | |
26 | ! loaddll wlib wlibd | |
27 | !endif | |
28 | ||
29 | # We need these variables in some bakefile-made rules: | |
30 | WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- | |
31 | ||
32 | ### Conditionally set variables: ### | |
33 | ||
34 | PORTNAME = | |
35 | !ifeq USE_GUI 0 | |
36 | PORTNAME = base | |
37 | !endif | |
38 | !ifeq USE_GUI 1 | |
39 | PORTNAME = msw | |
40 | !endif | |
41 | WXDEBUGFLAG = | |
42 | !ifeq BUILD debug | |
43 | !ifeq DEBUG_FLAG default | |
44 | WXDEBUGFLAG = d | |
45 | !endif | |
46 | !endif | |
47 | !ifeq DEBUG_FLAG 1 | |
48 | WXDEBUGFLAG = d | |
49 | !endif | |
50 | WXUNICODEFLAG = | |
51 | !ifeq UNICODE 1 | |
52 | WXUNICODEFLAG = u | |
53 | !endif | |
54 | WXUNIVNAME = | |
55 | !ifeq WXUNIV 1 | |
56 | WXUNIVNAME = univ | |
57 | !endif | |
58 | WXDLLFLAG = | |
59 | !ifeq SHARED 1 | |
60 | WXDLLFLAG = dll | |
61 | !endif | |
62 | LIBTYPE_SUFFIX = | |
63 | !ifeq SHARED 0 | |
64 | LIBTYPE_SUFFIX = lib | |
65 | !endif | |
66 | !ifeq SHARED 1 | |
67 | LIBTYPE_SUFFIX = dll | |
68 | !endif | |
69 | EXTRALIBS_FOR_BASE = | |
70 | !ifeq MONOLITHIC 0 | |
71 | EXTRALIBS_FOR_BASE = | |
72 | !endif | |
73 | !ifeq MONOLITHIC 1 | |
74 | EXTRALIBS_FOR_BASE = | |
75 | !endif | |
76 | __test_gui___depname = | |
77 | !ifeq USE_GUI 1 | |
78 | __test_gui___depname = $(OBJS)\test_gui.exe | |
79 | !endif | |
80 | __WXLIB_MEDIA_p = | |
81 | !ifeq MONOLITHIC 0 | |
82 | !ifeq USE_MEDIA 1 | |
83 | __WXLIB_MEDIA_p = & | |
84 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media.lib | |
85 | !endif | |
86 | !endif | |
87 | __WXLIB_XRC_p = | |
88 | !ifeq MONOLITHIC 0 | |
89 | __WXLIB_XRC_p = & | |
90 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib | |
91 | !endif | |
92 | __WXLIB_ADV_p = | |
93 | !ifeq MONOLITHIC 0 | |
94 | __WXLIB_ADV_p = & | |
95 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib | |
96 | !endif | |
97 | __WXLIB_HTML_p = | |
98 | !ifeq MONOLITHIC 0 | |
99 | __WXLIB_HTML_p = & | |
100 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib | |
101 | !endif | |
102 | __WXLIB_CORE_p = | |
103 | !ifeq MONOLITHIC 0 | |
104 | __WXLIB_CORE_p = & | |
105 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
106 | !endif | |
107 | __LIB_TIFF_p = | |
108 | !ifeq USE_GUI 1 | |
109 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
110 | !endif | |
111 | __LIB_JPEG_p = | |
112 | !ifeq USE_GUI 1 | |
113 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
114 | !endif | |
115 | __LIB_PNG_p = | |
116 | !ifeq USE_GUI 1 | |
117 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
118 | !endif | |
119 | __DEBUGINFO = | |
120 | !ifeq BUILD debug | |
121 | !ifeq DEBUG_INFO default | |
122 | __DEBUGINFO = -d2 | |
123 | !endif | |
124 | !endif | |
125 | !ifeq BUILD release | |
126 | !ifeq DEBUG_INFO default | |
127 | __DEBUGINFO = -d0 | |
128 | !endif | |
129 | !endif | |
130 | !ifeq DEBUG_INFO 0 | |
131 | __DEBUGINFO = -d0 | |
132 | !endif | |
133 | !ifeq DEBUG_INFO 1 | |
134 | __DEBUGINFO = -d2 | |
135 | !endif | |
136 | __DEBUGINFO_1 = | |
137 | !ifeq BUILD debug | |
138 | !ifeq DEBUG_INFO default | |
139 | __DEBUGINFO_1 = debug all | |
140 | !endif | |
141 | !endif | |
142 | !ifeq BUILD release | |
143 | !ifeq DEBUG_INFO default | |
144 | __DEBUGINFO_1 = | |
145 | !endif | |
146 | !endif | |
147 | !ifeq DEBUG_INFO 0 | |
148 | __DEBUGINFO_1 = | |
149 | !endif | |
150 | !ifeq DEBUG_INFO 1 | |
151 | __DEBUGINFO_1 = debug all | |
152 | !endif | |
153 | __OPTIMIZEFLAG = | |
154 | !ifeq BUILD debug | |
155 | __OPTIMIZEFLAG = -od | |
156 | !endif | |
157 | !ifeq BUILD release | |
158 | __OPTIMIZEFLAG = -ot -ox | |
159 | !endif | |
160 | __THREADSFLAG = | |
161 | !ifeq USE_THREADS 0 | |
162 | __THREADSFLAG = | |
163 | !endif | |
164 | !ifeq USE_THREADS 1 | |
165 | __THREADSFLAG = -bm | |
166 | !endif | |
167 | __RUNTIME_LIBS = | |
168 | !ifeq RUNTIME_LIBS dynamic | |
169 | __RUNTIME_LIBS = -br | |
170 | !endif | |
171 | !ifeq RUNTIME_LIBS static | |
172 | __RUNTIME_LIBS = | |
173 | !endif | |
174 | __RTTIFLAG = | |
175 | !ifeq USE_RTTI 0 | |
176 | __RTTIFLAG = | |
177 | !endif | |
178 | !ifeq USE_RTTI 1 | |
179 | __RTTIFLAG = -xr | |
180 | !endif | |
181 | __EXCEPTIONSFLAG = | |
182 | !ifeq USE_EXCEPTIONS 0 | |
183 | __EXCEPTIONSFLAG = | |
184 | !endif | |
185 | !ifeq USE_EXCEPTIONS 1 | |
186 | __EXCEPTIONSFLAG = -xs | |
187 | !endif | |
188 | __WXLIB_NET_p = | |
189 | !ifeq MONOLITHIC 0 | |
190 | __WXLIB_NET_p = & | |
191 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
192 | !endif | |
193 | __WXLIB_XML_p = | |
194 | !ifeq MONOLITHIC 0 | |
195 | __WXLIB_XML_p = & | |
196 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib | |
197 | !endif | |
198 | __WXLIB_BASE_p = | |
199 | !ifeq MONOLITHIC 0 | |
200 | __WXLIB_BASE_p = & | |
201 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
202 | !endif | |
203 | __WXLIB_MONO_p = | |
204 | !ifeq MONOLITHIC 1 | |
205 | __WXLIB_MONO_p = & | |
206 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
207 | !endif | |
208 | __GDIPLUS_LIB_p = | |
209 | !ifeq USE_GDIPLUS 1 | |
210 | __GDIPLUS_LIB_p = gdiplus.lib | |
211 | !endif | |
212 | __WXUNIV_DEFINE_p = | |
213 | !ifeq WXUNIV 1 | |
214 | __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__ | |
215 | !endif | |
216 | __DEBUG_DEFINE_p = | |
217 | !ifeq BUILD debug | |
218 | !ifeq DEBUG_FLAG default | |
219 | __DEBUG_DEFINE_p = -d__WXDEBUG__ | |
220 | !endif | |
221 | !endif | |
222 | !ifeq DEBUG_FLAG 1 | |
223 | __DEBUG_DEFINE_p = -d__WXDEBUG__ | |
224 | !endif | |
225 | __EXCEPTIONS_DEFINE_p = | |
226 | !ifeq USE_EXCEPTIONS 0 | |
227 | __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS | |
228 | !endif | |
229 | __RTTI_DEFINE_p = | |
230 | !ifeq USE_RTTI 0 | |
231 | __RTTI_DEFINE_p = -dwxNO_RTTI | |
232 | !endif | |
233 | __THREAD_DEFINE_p = | |
234 | !ifeq USE_THREADS 0 | |
235 | __THREAD_DEFINE_p = -dwxNO_THREADS | |
236 | !endif | |
237 | __UNICODE_DEFINE_p = | |
238 | !ifeq UNICODE 0 | |
239 | __UNICODE_DEFINE_p = -dwxUSE_UNICODE=0 | |
240 | !endif | |
241 | !ifeq UNICODE 1 | |
242 | __UNICODE_DEFINE_p = -d_UNICODE | |
243 | !endif | |
244 | __GFXCTX_DEFINE_p = | |
245 | !ifeq USE_GDIPLUS 1 | |
246 | __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1 | |
247 | !endif | |
248 | __DLLFLAG_p = | |
249 | !ifeq SHARED 1 | |
250 | __DLLFLAG_p = -dWXUSINGDLL | |
251 | !endif | |
252 | ||
253 | ### Variables: ### | |
254 | ||
255 | WX_RELEASE_NODOT = 29 | |
256 | COMPILER_PREFIX = wat | |
257 | OBJS = & | |
258 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
259 | LIBDIRNAME = .\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
260 | SETUPHDIR = & | |
261 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
262 | TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & | |
263 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
264 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & | |
265 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & | |
266 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -dwxUSE_GUI=0 & | |
267 | $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test.pch $(__RTTIFLAG) & | |
268 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
269 | TEST_OBJECTS = & | |
270 | $(OBJS)\test_dummy.obj & | |
271 | $(OBJS)\test_test.obj & | |
272 | $(OBJS)\test_archivetest.obj & | |
273 | $(OBJS)\test_ziptest.obj & | |
274 | $(OBJS)\test_tartest.obj & | |
275 | $(OBJS)\test_arrays.obj & | |
276 | $(OBJS)\test_base64.obj & | |
277 | $(OBJS)\test_cmdlinetest.obj & | |
278 | $(OBJS)\test_fileconf.obj & | |
279 | $(OBJS)\test_datetimetest.obj & | |
280 | $(OBJS)\test_evthandler.obj & | |
281 | $(OBJS)\test_timertest.obj & | |
282 | $(OBJS)\test_exec.obj & | |
283 | $(OBJS)\test_filekind.obj & | |
284 | $(OBJS)\test_filenametest.obj & | |
285 | $(OBJS)\test_filesystest.obj & | |
286 | $(OBJS)\test_fontmaptest.obj & | |
287 | $(OBJS)\test_formatconvertertest.obj & | |
288 | $(OBJS)\test_hashes.obj & | |
289 | $(OBJS)\test_intltest.obj & | |
290 | $(OBJS)\test_lists.obj & | |
291 | $(OBJS)\test_longlongtest.obj & | |
292 | $(OBJS)\test_convautotest.obj & | |
293 | $(OBJS)\test_mbconvtest.obj & | |
294 | $(OBJS)\test_misctests.obj & | |
295 | $(OBJS)\test_ipc.obj & | |
296 | $(OBJS)\test_socket.obj & | |
297 | $(OBJS)\test_regextest.obj & | |
298 | $(OBJS)\test_wxregextest.obj & | |
299 | $(OBJS)\test_scopeguardtest.obj & | |
300 | $(OBJS)\test_iostream.obj & | |
301 | $(OBJS)\test_strings.obj & | |
302 | $(OBJS)\test_stdstrings.obj & | |
303 | $(OBJS)\test_tokenizer.obj & | |
304 | $(OBJS)\test_unichar.obj & | |
305 | $(OBJS)\test_unicode.obj & | |
306 | $(OBJS)\test_vararg.obj & | |
307 | $(OBJS)\test_crt.obj & | |
308 | $(OBJS)\test_vsnprintf.obj & | |
309 | $(OBJS)\test_bstream.obj & | |
310 | $(OBJS)\test_datastreamtest.obj & | |
311 | $(OBJS)\test_ffilestream.obj & | |
312 | $(OBJS)\test_fileback.obj & | |
313 | $(OBJS)\test_filestream.obj & | |
314 | $(OBJS)\test_iostreams.obj & | |
315 | $(OBJS)\test_largefile.obj & | |
316 | $(OBJS)\test_memstream.obj & | |
317 | $(OBJS)\test_socketstream.obj & | |
318 | $(OBJS)\test_sstream.obj & | |
319 | $(OBJS)\test_stdstream.obj & | |
320 | $(OBJS)\test_tempfile.obj & | |
321 | $(OBJS)\test_textstreamtest.obj & | |
322 | $(OBJS)\test_zlibstream.obj & | |
323 | $(OBJS)\test_textfiletest.obj & | |
324 | $(OBJS)\test_atomic.obj & | |
325 | $(OBJS)\test_queue.obj & | |
326 | $(OBJS)\test_tls.obj & | |
327 | $(OBJS)\test_uris.obj & | |
328 | $(OBJS)\test_url.obj & | |
329 | $(OBJS)\test_vectors.obj & | |
330 | $(OBJS)\test_evtconnection.obj & | |
331 | $(OBJS)\test_weakref.obj & | |
332 | $(OBJS)\test_xlocale.obj & | |
333 | $(OBJS)\test_xmltest.obj | |
334 | TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) & | |
335 | $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & | |
336 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & | |
337 | $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\include & | |
338 | -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) -i=.\..\samples & | |
339 | -dNOPCH $(CPPUNIT_CFLAGS) /fh=$(OBJS)\testprec_test_gui.pch $(__RTTIFLAG) & | |
340 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
341 | TEST_GUI_OBJECTS = & | |
342 | $(OBJS)\test_gui_dummy.obj & | |
343 | $(OBJS)\test_gui_test.obj & | |
344 | $(OBJS)\test_gui_rect.obj & | |
345 | $(OBJS)\test_gui_size.obj & | |
346 | $(OBJS)\test_gui_point.obj & | |
347 | $(OBJS)\test_gui_measuring.obj & | |
348 | $(OBJS)\test_gui_config.obj & | |
349 | $(OBJS)\test_gui_comboboxtest.obj & | |
350 | $(OBJS)\test_gui_headerctrltest.obj & | |
351 | $(OBJS)\test_gui_listctrltest.obj & | |
352 | $(OBJS)\test_gui_textctrltest.obj & | |
353 | $(OBJS)\test_gui_textentrytest.obj & | |
354 | $(OBJS)\test_gui_treectrltest.obj & | |
355 | $(OBJS)\test_gui_clone.obj & | |
356 | $(OBJS)\test_gui_propagation.obj & | |
357 | $(OBJS)\test_gui_fonttest.obj & | |
358 | $(OBJS)\test_gui_image.obj & | |
359 | $(OBJS)\test_gui_rawbmp.obj & | |
360 | $(OBJS)\test_gui_htmlwindow.obj & | |
361 | $(OBJS)\test_gui_guifuncs.obj & | |
362 | $(OBJS)\test_gui_selstoretest.obj & | |
363 | $(OBJS)\test_gui_garbage.obj & | |
364 | $(OBJS)\test_gui_settings.obj & | |
365 | $(OBJS)\test_gui_socket.obj & | |
366 | $(OBJS)\test_gui_clientsize.obj & | |
367 | $(OBJS)\test_gui_setsize.obj | |
368 | ||
369 | ||
370 | all : $(OBJS) | |
371 | $(OBJS) : | |
372 | -if not exist $(OBJS) mkdir $(OBJS) | |
373 | ||
374 | ### Targets: ### | |
375 | ||
376 | all : .SYMBOLIC $(OBJS)\test.exe $(__test_gui___depname) data fr | |
377 | ||
378 | clean : .SYMBOLIC | |
379 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
380 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
381 | -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc | |
382 | -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk | |
383 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch | |
384 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe | |
385 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe | |
386 | ||
387 | $(OBJS)\test.exe : $(TEST_OBJECTS) | |
388 | @%create $(OBJS)\test.lbc | |
389 | @%append $(OBJS)\test.lbc option quiet | |
390 | @%append $(OBJS)\test.lbc name $^@ | |
391 | @%append $(OBJS)\test.lbc option caseexact | |
392 | @%append $(OBJS)\test.lbc $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS) $(LDFLAGS) | |
393 | @for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i | |
394 | @for %i in ( $(__WXLIB_NET_p) $(__WXLIB_XML_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 wininet.lib) do @%append $(OBJS)\test.lbc library %i | |
395 | @%append $(OBJS)\test.lbc | |
396 | @for %i in () do @%append $(OBJS)\test.lbc option stack=%i | |
397 | wlink @$(OBJS)\test.lbc | |
398 | ||
399 | !ifeq USE_GUI 1 | |
400 | $(OBJS)\test_gui.exe : $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
401 | @%create $(OBJS)\test_gui.lbc | |
402 | @%append $(OBJS)\test_gui.lbc option quiet | |
403 | @%append $(OBJS)\test_gui.lbc name $^@ | |
404 | @%append $(OBJS)\test_gui.lbc option caseexact | |
405 | @%append $(OBJS)\test_gui.lbc $(__DEBUGINFO_1) libpath $(LIBDIRNAME) $(CPPUNIT_LIBS) system nt ref 'main_' $(LDFLAGS) | |
406 | @for %i in ($(TEST_GUI_OBJECTS)) do @%append $(OBJS)\test_gui.lbc file %i | |
407 | @for %i in ( $(__WXLIB_MEDIA_p) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_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 wininet.lib) do @%append $(OBJS)\test_gui.lbc library %i | |
408 | @%append $(OBJS)\test_gui.lbc option resource=$(OBJS)\test_gui_sample.res | |
409 | @for %i in () do @%append $(OBJS)\test_gui.lbc option stack=%i | |
410 | wlink @$(OBJS)\test_gui.lbc | |
411 | !endif | |
412 | ||
413 | data : .SYMBOLIC | |
414 | if not exist $(OBJS) mkdir $(OBJS) | |
415 | for %f in (horse.ani horse.bmp horse.cur horse.gif horse.ico horse.jpg horse.pcx horse.png horse.pnm horse.tga horse.tif horse.xpm) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
416 | ||
417 | fr : .SYMBOLIC | |
418 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
419 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr | |
420 | ||
421 | $(OBJS)\test_dummy.obj : .AUTODEPEND .\dummy.cpp | |
422 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
423 | ||
424 | $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp | |
425 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
426 | ||
427 | $(OBJS)\test_archivetest.obj : .AUTODEPEND .\archive\archivetest.cpp | |
428 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
429 | ||
430 | $(OBJS)\test_ziptest.obj : .AUTODEPEND .\archive\ziptest.cpp | |
431 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
432 | ||
433 | $(OBJS)\test_tartest.obj : .AUTODEPEND .\archive\tartest.cpp | |
434 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
435 | ||
436 | $(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp | |
437 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
438 | ||
439 | $(OBJS)\test_base64.obj : .AUTODEPEND .\base64\base64.cpp | |
440 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
441 | ||
442 | $(OBJS)\test_cmdlinetest.obj : .AUTODEPEND .\cmdline\cmdlinetest.cpp | |
443 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
444 | ||
445 | $(OBJS)\test_fileconf.obj : .AUTODEPEND .\config\fileconf.cpp | |
446 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
447 | ||
448 | $(OBJS)\test_datetimetest.obj : .AUTODEPEND .\datetime\datetimetest.cpp | |
449 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
450 | ||
451 | $(OBJS)\test_evthandler.obj : .AUTODEPEND .\events\evthandler.cpp | |
452 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
453 | ||
454 | $(OBJS)\test_timertest.obj : .AUTODEPEND .\events\timertest.cpp | |
455 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
456 | ||
457 | $(OBJS)\test_exec.obj : .AUTODEPEND .\exec\exec.cpp | |
458 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
459 | ||
460 | $(OBJS)\test_filekind.obj : .AUTODEPEND .\filekind\filekind.cpp | |
461 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
462 | ||
463 | $(OBJS)\test_filenametest.obj : .AUTODEPEND .\filename\filenametest.cpp | |
464 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
465 | ||
466 | $(OBJS)\test_filesystest.obj : .AUTODEPEND .\filesys\filesystest.cpp | |
467 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
468 | ||
469 | $(OBJS)\test_fontmaptest.obj : .AUTODEPEND .\fontmap\fontmaptest.cpp | |
470 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
471 | ||
472 | $(OBJS)\test_formatconvertertest.obj : .AUTODEPEND .\formatconverter\formatconvertertest.cpp | |
473 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
474 | ||
475 | $(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp | |
476 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
477 | ||
478 | $(OBJS)\test_intltest.obj : .AUTODEPEND .\intl\intltest.cpp | |
479 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
480 | ||
481 | $(OBJS)\test_lists.obj : .AUTODEPEND .\lists\lists.cpp | |
482 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
483 | ||
484 | $(OBJS)\test_longlongtest.obj : .AUTODEPEND .\longlong\longlongtest.cpp | |
485 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
486 | ||
487 | $(OBJS)\test_convautotest.obj : .AUTODEPEND .\mbconv\convautotest.cpp | |
488 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
489 | ||
490 | $(OBJS)\test_mbconvtest.obj : .AUTODEPEND .\mbconv\mbconvtest.cpp | |
491 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
492 | ||
493 | $(OBJS)\test_misctests.obj : .AUTODEPEND .\misc\misctests.cpp | |
494 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
495 | ||
496 | $(OBJS)\test_ipc.obj : .AUTODEPEND .\net\ipc.cpp | |
497 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
498 | ||
499 | $(OBJS)\test_socket.obj : .AUTODEPEND .\net\socket.cpp | |
500 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
501 | ||
502 | $(OBJS)\test_regextest.obj : .AUTODEPEND .\regex\regextest.cpp | |
503 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
504 | ||
505 | $(OBJS)\test_wxregextest.obj : .AUTODEPEND .\regex\wxregextest.cpp | |
506 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
507 | ||
508 | $(OBJS)\test_scopeguardtest.obj : .AUTODEPEND .\scopeguard\scopeguardtest.cpp | |
509 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
510 | ||
511 | $(OBJS)\test_iostream.obj : .AUTODEPEND .\strings\iostream.cpp | |
512 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
513 | ||
514 | $(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp | |
515 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
516 | ||
517 | $(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp | |
518 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
519 | ||
520 | $(OBJS)\test_tokenizer.obj : .AUTODEPEND .\strings\tokenizer.cpp | |
521 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
522 | ||
523 | $(OBJS)\test_unichar.obj : .AUTODEPEND .\strings\unichar.cpp | |
524 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
525 | ||
526 | $(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp | |
527 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
528 | ||
529 | $(OBJS)\test_vararg.obj : .AUTODEPEND .\strings\vararg.cpp | |
530 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
531 | ||
532 | $(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp | |
533 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
534 | ||
535 | $(OBJS)\test_vsnprintf.obj : .AUTODEPEND .\strings\vsnprintf.cpp | |
536 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
537 | ||
538 | $(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp | |
539 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
540 | ||
541 | $(OBJS)\test_datastreamtest.obj : .AUTODEPEND .\streams\datastreamtest.cpp | |
542 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
543 | ||
544 | $(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp | |
545 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
546 | ||
547 | $(OBJS)\test_fileback.obj : .AUTODEPEND .\streams\fileback.cpp | |
548 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
549 | ||
550 | $(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp | |
551 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
552 | ||
553 | $(OBJS)\test_iostreams.obj : .AUTODEPEND .\streams\iostreams.cpp | |
554 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
555 | ||
556 | $(OBJS)\test_largefile.obj : .AUTODEPEND .\streams\largefile.cpp | |
557 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
558 | ||
559 | $(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp | |
560 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
561 | ||
562 | $(OBJS)\test_socketstream.obj : .AUTODEPEND .\streams\socketstream.cpp | |
563 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
564 | ||
565 | $(OBJS)\test_sstream.obj : .AUTODEPEND .\streams\sstream.cpp | |
566 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
567 | ||
568 | $(OBJS)\test_stdstream.obj : .AUTODEPEND .\streams\stdstream.cpp | |
569 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
570 | ||
571 | $(OBJS)\test_tempfile.obj : .AUTODEPEND .\streams\tempfile.cpp | |
572 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
573 | ||
574 | $(OBJS)\test_textstreamtest.obj : .AUTODEPEND .\streams\textstreamtest.cpp | |
575 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
576 | ||
577 | $(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp | |
578 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
579 | ||
580 | $(OBJS)\test_textfiletest.obj : .AUTODEPEND .\textfile\textfiletest.cpp | |
581 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
582 | ||
583 | $(OBJS)\test_atomic.obj : .AUTODEPEND .\thread\atomic.cpp | |
584 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
585 | ||
586 | $(OBJS)\test_queue.obj : .AUTODEPEND .\thread\queue.cpp | |
587 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
588 | ||
589 | $(OBJS)\test_tls.obj : .AUTODEPEND .\thread\tls.cpp | |
590 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
591 | ||
592 | $(OBJS)\test_uris.obj : .AUTODEPEND .\uris\uris.cpp | |
593 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
594 | ||
595 | $(OBJS)\test_url.obj : .AUTODEPEND .\uris\url.cpp | |
596 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
597 | ||
598 | $(OBJS)\test_vectors.obj : .AUTODEPEND .\vectors\vectors.cpp | |
599 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
600 | ||
601 | $(OBJS)\test_evtconnection.obj : .AUTODEPEND .\weakref\evtconnection.cpp | |
602 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
603 | ||
604 | $(OBJS)\test_weakref.obj : .AUTODEPEND .\weakref\weakref.cpp | |
605 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
606 | ||
607 | $(OBJS)\test_xlocale.obj : .AUTODEPEND .\xlocale\xlocale.cpp | |
608 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
609 | ||
610 | $(OBJS)\test_xmltest.obj : .AUTODEPEND .\xml\xmltest.cpp | |
611 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_CXXFLAGS) $< | |
612 | ||
613 | $(OBJS)\test_gui_sample.res : .AUTODEPEND .\..\samples\sample.rc | |
614 | 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 $< | |
615 | ||
616 | $(OBJS)\test_gui_dummy.obj : .AUTODEPEND .\dummy.cpp | |
617 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
618 | ||
619 | $(OBJS)\test_gui_test.obj : .AUTODEPEND .\test.cpp | |
620 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
621 | ||
622 | $(OBJS)\test_gui_rect.obj : .AUTODEPEND .\geometry\rect.cpp | |
623 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
624 | ||
625 | $(OBJS)\test_gui_size.obj : .AUTODEPEND .\geometry\size.cpp | |
626 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
627 | ||
628 | $(OBJS)\test_gui_point.obj : .AUTODEPEND .\geometry\point.cpp | |
629 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
630 | ||
631 | $(OBJS)\test_gui_measuring.obj : .AUTODEPEND .\graphics\measuring.cpp | |
632 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
633 | ||
634 | $(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp | |
635 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
636 | ||
637 | $(OBJS)\test_gui_comboboxtest.obj : .AUTODEPEND .\controls\comboboxtest.cpp | |
638 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
639 | ||
640 | $(OBJS)\test_gui_headerctrltest.obj : .AUTODEPEND .\controls\headerctrltest.cpp | |
641 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
642 | ||
643 | $(OBJS)\test_gui_listctrltest.obj : .AUTODEPEND .\controls\listctrltest.cpp | |
644 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
645 | ||
646 | $(OBJS)\test_gui_textctrltest.obj : .AUTODEPEND .\controls\textctrltest.cpp | |
647 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
648 | ||
649 | $(OBJS)\test_gui_textentrytest.obj : .AUTODEPEND .\controls\textentrytest.cpp | |
650 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
651 | ||
652 | $(OBJS)\test_gui_treectrltest.obj : .AUTODEPEND .\controls\treectrltest.cpp | |
653 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
654 | ||
655 | $(OBJS)\test_gui_clone.obj : .AUTODEPEND .\events\clone.cpp | |
656 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
657 | ||
658 | $(OBJS)\test_gui_propagation.obj : .AUTODEPEND .\events\propagation.cpp | |
659 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
660 | ||
661 | $(OBJS)\test_gui_fonttest.obj : .AUTODEPEND .\font\fonttest.cpp | |
662 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
663 | ||
664 | $(OBJS)\test_gui_image.obj : .AUTODEPEND .\image\image.cpp | |
665 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
666 | ||
667 | $(OBJS)\test_gui_rawbmp.obj : .AUTODEPEND .\image\rawbmp.cpp | |
668 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
669 | ||
670 | $(OBJS)\test_gui_htmlwindow.obj : .AUTODEPEND .\html\htmlwindow.cpp | |
671 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
672 | ||
673 | $(OBJS)\test_gui_guifuncs.obj : .AUTODEPEND .\misc\guifuncs.cpp | |
674 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
675 | ||
676 | $(OBJS)\test_gui_selstoretest.obj : .AUTODEPEND .\misc\selstoretest.cpp | |
677 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
678 | ||
679 | $(OBJS)\test_gui_garbage.obj : .AUTODEPEND .\misc\garbage.cpp | |
680 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
681 | ||
682 | $(OBJS)\test_gui_settings.obj : .AUTODEPEND .\misc\settings.cpp | |
683 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
684 | ||
685 | $(OBJS)\test_gui_socket.obj : .AUTODEPEND .\net\socket.cpp | |
686 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
687 | ||
688 | $(OBJS)\test_gui_clientsize.obj : .AUTODEPEND .\window\clientsize.cpp | |
689 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
690 | ||
691 | $(OBJS)\test_gui_setsize.obj : .AUTODEPEND .\window\setsize.cpp | |
692 | $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $< | |
693 |