]> git.saurik.com Git - wxWidgets.git/blob - tests/makefile.vc
better variant support, fixes #11114
[wxWidgets.git] / tests / makefile.vc
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.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 29
16 COMPILER_PREFIX = vc
17 OBJS = \
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19 LIBDIRNAME = \
20 .\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21 SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 TEST_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 $(__DEBUGINFO) \
24 /Fd$(OBJS)\test.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
25 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
26 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
27 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \
28 /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 \
29 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"testprec.h" \
30 /Fp"$(OBJS)\testprec_test.pch" $(CPPFLAGS) $(CXXFLAGS)
31 TEST_OBJECTS = \
32 $(OBJS)\test_dummy.obj \
33 $(OBJS)\test_test.obj \
34 $(OBJS)\test_archivetest.obj \
35 $(OBJS)\test_ziptest.obj \
36 $(OBJS)\test_tartest.obj \
37 $(OBJS)\test_arrays.obj \
38 $(OBJS)\test_base64.obj \
39 $(OBJS)\test_cmdlinetest.obj \
40 $(OBJS)\test_fileconf.obj \
41 $(OBJS)\test_datetimetest.obj \
42 $(OBJS)\test_evthandler.obj \
43 $(OBJS)\test_timertest.obj \
44 $(OBJS)\test_exec.obj \
45 $(OBJS)\test_filekind.obj \
46 $(OBJS)\test_filenametest.obj \
47 $(OBJS)\test_filesystest.obj \
48 $(OBJS)\test_fontmaptest.obj \
49 $(OBJS)\test_formatconvertertest.obj \
50 $(OBJS)\test_hashes.obj \
51 $(OBJS)\test_intltest.obj \
52 $(OBJS)\test_lists.obj \
53 $(OBJS)\test_logtest.obj \
54 $(OBJS)\test_longlongtest.obj \
55 $(OBJS)\test_convautotest.obj \
56 $(OBJS)\test_mbconvtest.obj \
57 $(OBJS)\test_misctests.obj \
58 $(OBJS)\test_ipc.obj \
59 $(OBJS)\test_socket.obj \
60 $(OBJS)\test_regextest.obj \
61 $(OBJS)\test_wxregextest.obj \
62 $(OBJS)\test_scopeguardtest.obj \
63 $(OBJS)\test_iostream.obj \
64 $(OBJS)\test_strings.obj \
65 $(OBJS)\test_stdstrings.obj \
66 $(OBJS)\test_tokenizer.obj \
67 $(OBJS)\test_unichar.obj \
68 $(OBJS)\test_unicode.obj \
69 $(OBJS)\test_vararg.obj \
70 $(OBJS)\test_crt.obj \
71 $(OBJS)\test_vsnprintf.obj \
72 $(OBJS)\test_bstream.obj \
73 $(OBJS)\test_datastreamtest.obj \
74 $(OBJS)\test_ffilestream.obj \
75 $(OBJS)\test_fileback.obj \
76 $(OBJS)\test_filestream.obj \
77 $(OBJS)\test_iostreams.obj \
78 $(OBJS)\test_largefile.obj \
79 $(OBJS)\test_memstream.obj \
80 $(OBJS)\test_socketstream.obj \
81 $(OBJS)\test_sstream.obj \
82 $(OBJS)\test_stdstream.obj \
83 $(OBJS)\test_tempfile.obj \
84 $(OBJS)\test_textstreamtest.obj \
85 $(OBJS)\test_zlibstream.obj \
86 $(OBJS)\test_textfiletest.obj \
87 $(OBJS)\test_atomic.obj \
88 $(OBJS)\test_queue.obj \
89 $(OBJS)\test_tls.obj \
90 $(OBJS)\test_uris.obj \
91 $(OBJS)\test_url.obj \
92 $(OBJS)\test_vectors.obj \
93 $(OBJS)\test_evtconnection.obj \
94 $(OBJS)\test_weakref.obj \
95 $(OBJS)\test_xlocale.obj \
96 $(OBJS)\test_xmltest.obj
97 TEST_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \
98 $(__DEBUGINFO) /Fd$(OBJS)\test_gui.pdb $(____DEBUGRUNTIME) \
99 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
100 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
101 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
102 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) \
103 /I.\..\samples /DNOPCH $(CPPUNIT_CFLAGS) /D_CONSOLE $(__RTTIFLAG) \
104 $(__EXCEPTIONSFLAG) /Yu"testprec.h" /Fp"$(OBJS)\testprec_test_gui.pch" \
105 $(CPPFLAGS) $(CXXFLAGS)
106 TEST_GUI_OBJECTS = \
107 $(OBJS)\test_gui_dummy.obj \
108 $(OBJS)\test_gui_sample.res \
109 $(OBJS)\test_gui_test.obj \
110 $(OBJS)\test_gui_rect.obj \
111 $(OBJS)\test_gui_size.obj \
112 $(OBJS)\test_gui_point.obj \
113 $(OBJS)\test_gui_measuring.obj \
114 $(OBJS)\test_gui_config.obj \
115 $(OBJS)\test_gui_comboboxtest.obj \
116 $(OBJS)\test_gui_headerctrltest.obj \
117 $(OBJS)\test_gui_listctrltest.obj \
118 $(OBJS)\test_gui_textctrltest.obj \
119 $(OBJS)\test_gui_textentrytest.obj \
120 $(OBJS)\test_gui_treectrltest.obj \
121 $(OBJS)\test_gui_clone.obj \
122 $(OBJS)\test_gui_propagation.obj \
123 $(OBJS)\test_gui_fonttest.obj \
124 $(OBJS)\test_gui_image.obj \
125 $(OBJS)\test_gui_rawbmp.obj \
126 $(OBJS)\test_gui_htmlwindow.obj \
127 $(OBJS)\test_gui_guifuncs.obj \
128 $(OBJS)\test_gui_selstoretest.obj \
129 $(OBJS)\test_gui_garbage.obj \
130 $(OBJS)\test_gui_settings.obj \
131 $(OBJS)\test_gui_socket.obj \
132 $(OBJS)\test_gui_clientsize.obj \
133 $(OBJS)\test_gui_setsize.obj
134
135 ### Conditionally set variables: ###
136
137 !if "$(USE_GUI)" == "0"
138 PORTNAME = base
139 !endif
140 !if "$(USE_GUI)" == "1"
141 PORTNAME = msw
142 !endif
143 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
144 WXDEBUGFLAG = d
145 !endif
146 !if "$(DEBUG_FLAG)" == "1"
147 WXDEBUGFLAG = d
148 !endif
149 !if "$(UNICODE)" == "1"
150 WXUNICODEFLAG = u
151 !endif
152 !if "$(WXUNIV)" == "1"
153 WXUNIVNAME = univ
154 !endif
155 !if "$(TARGET_CPU)" == "AMD64"
156 DIR_SUFFIX_CPU = _amd64
157 !endif
158 !if "$(TARGET_CPU)" == "IA64"
159 DIR_SUFFIX_CPU = _ia64
160 !endif
161 !if "$(TARGET_CPU)" == "amd64"
162 DIR_SUFFIX_CPU = _amd64
163 !endif
164 !if "$(TARGET_CPU)" == "ia64"
165 DIR_SUFFIX_CPU = _ia64
166 !endif
167 !if "$(SHARED)" == "1"
168 WXDLLFLAG = dll
169 !endif
170 !if "$(SHARED)" == "0"
171 LIBTYPE_SUFFIX = lib
172 !endif
173 !if "$(SHARED)" == "1"
174 LIBTYPE_SUFFIX = dll
175 !endif
176 !if "$(TARGET_CPU)" == "AMD64"
177 LINK_TARGET_CPU = /MACHINE:AMD64
178 !endif
179 !if "$(TARGET_CPU)" == "IA64"
180 LINK_TARGET_CPU = /MACHINE:IA64
181 !endif
182 !if "$(TARGET_CPU)" == "amd64"
183 LINK_TARGET_CPU = /MACHINE:AMD64
184 !endif
185 !if "$(TARGET_CPU)" == "ia64"
186 LINK_TARGET_CPU = /MACHINE:IA64
187 !endif
188 !if "$(MONOLITHIC)" == "0"
189 EXTRALIBS_FOR_BASE =
190 !endif
191 !if "$(MONOLITHIC)" == "1"
192 EXTRALIBS_FOR_BASE =
193 !endif
194 !if "$(RUNTIME_LIBS)" == "dynamic"
195 __RUNTIME_LIBS_8 = D
196 !endif
197 !if "$(RUNTIME_LIBS)" == "static"
198 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
199 !endif
200 !if "$(USE_GUI)" == "1"
201 __test_gui___depname = $(OBJS)\test_gui.exe
202 !endif
203 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
204 ____DEBUGRUNTIME_17_p_1 = /d _DEBUG
205 !endif
206 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
207 ____DEBUGRUNTIME_17_p_1 =
208 !endif
209 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
210 ____DEBUGRUNTIME_17_p_1 =
211 !endif
212 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
213 ____DEBUGRUNTIME_17_p_1 = /d _DEBUG
214 !endif
215 !if "$(RUNTIME_LIBS)" == "dynamic"
216 __RUNTIME_LIBS_23 = D
217 !endif
218 !if "$(RUNTIME_LIBS)" == "static"
219 __RUNTIME_LIBS_23 = $(__THREADSFLAG)
220 !endif
221 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
222 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
223 !endif
224 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
225 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
226 !endif
227 !if "$(WXUNIV)" == "1"
228 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
229 !endif
230 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
231 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
232 !endif
233 !if "$(DEBUG_FLAG)" == "1"
234 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
235 !endif
236 !if "$(USE_EXCEPTIONS)" == "0"
237 __EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS
238 !endif
239 !if "$(USE_RTTI)" == "0"
240 __RTTI_DEFINE_p_3 = /d wxNO_RTTI
241 !endif
242 !if "$(USE_THREADS)" == "0"
243 __THREAD_DEFINE_p_3 = /d wxNO_THREADS
244 !endif
245 !if "$(UNICODE)" == "0"
246 __UNICODE_DEFINE_p_3 = /d wxUSE_UNICODE=0
247 !endif
248 !if "$(UNICODE)" == "1"
249 __UNICODE_DEFINE_p_3 = /d _UNICODE
250 !endif
251 !if "$(MSLU)" == "1"
252 __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1
253 !endif
254 !if "$(USE_GDIPLUS)" == "1"
255 __GFXCTX_DEFINE_p_3 = /d wxUSE_GRAPHICS_CONTEXT=1
256 !endif
257 !if "$(SHARED)" == "1"
258 __DLLFLAG_p_3 = /d WXUSINGDLL
259 !endif
260 !if "$(MONOLITHIC)" == "0" && "$(USE_MEDIA)" == "1"
261 __WXLIB_MEDIA_p = \
262 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media.lib
263 !endif
264 !if "$(MONOLITHIC)" == "0"
265 __WXLIB_XRC_p = \
266 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib
267 !endif
268 !if "$(MONOLITHIC)" == "0"
269 __WXLIB_ADV_p = \
270 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
271 !endif
272 !if "$(MONOLITHIC)" == "0"
273 __WXLIB_HTML_p = \
274 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
275 !endif
276 !if "$(MONOLITHIC)" == "0"
277 __WXLIB_CORE_p = \
278 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
279 !endif
280 !if "$(USE_GUI)" == "1"
281 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
282 !endif
283 !if "$(USE_GUI)" == "1"
284 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
285 !endif
286 !if "$(USE_GUI)" == "1"
287 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
288 !endif
289 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
290 __DEBUGINFO = /Zi
291 !endif
292 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
293 __DEBUGINFO =
294 !endif
295 !if "$(DEBUG_INFO)" == "0"
296 __DEBUGINFO =
297 !endif
298 !if "$(DEBUG_INFO)" == "1"
299 __DEBUGINFO = /Zi
300 !endif
301 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
302 __DEBUGINFO_1 = /DEBUG
303 !endif
304 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
305 __DEBUGINFO_1 =
306 !endif
307 !if "$(DEBUG_INFO)" == "0"
308 __DEBUGINFO_1 =
309 !endif
310 !if "$(DEBUG_INFO)" == "1"
311 __DEBUGINFO_1 = /DEBUG
312 !endif
313 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
314 ____DEBUGRUNTIME = /D_DEBUG
315 !endif
316 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
317 ____DEBUGRUNTIME =
318 !endif
319 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
320 ____DEBUGRUNTIME =
321 !endif
322 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
323 ____DEBUGRUNTIME = /D_DEBUG
324 !endif
325 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
326 __DEBUGRUNTIME = d
327 !endif
328 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
329 __DEBUGRUNTIME =
330 !endif
331 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
332 __DEBUGRUNTIME =
333 !endif
334 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
335 __DEBUGRUNTIME = d
336 !endif
337 !if "$(BUILD)" == "debug"
338 __OPTIMIZEFLAG = /Od
339 !endif
340 !if "$(BUILD)" == "release"
341 __OPTIMIZEFLAG = /O2
342 !endif
343 !if "$(USE_THREADS)" == "0"
344 __THREADSFLAG = L
345 !endif
346 !if "$(USE_THREADS)" == "1"
347 __THREADSFLAG = T
348 !endif
349 !if "$(USE_RTTI)" == "0"
350 __RTTIFLAG =
351 !endif
352 !if "$(USE_RTTI)" == "1"
353 __RTTIFLAG = /GR
354 !endif
355 !if "$(USE_EXCEPTIONS)" == "0"
356 __EXCEPTIONSFLAG =
357 !endif
358 !if "$(USE_EXCEPTIONS)" == "1"
359 __EXCEPTIONSFLAG = /EHsc
360 !endif
361 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
362 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
363 !endif
364 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
365 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
366 !endif
367 !if "$(WXUNIV)" == "1"
368 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
369 !endif
370 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
371 __DEBUG_DEFINE_p = /D__WXDEBUG__
372 !endif
373 !if "$(DEBUG_FLAG)" == "1"
374 __DEBUG_DEFINE_p = /D__WXDEBUG__
375 !endif
376 !if "$(USE_EXCEPTIONS)" == "0"
377 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
378 !endif
379 !if "$(USE_RTTI)" == "0"
380 __RTTI_DEFINE_p = /DwxNO_RTTI
381 !endif
382 !if "$(USE_THREADS)" == "0"
383 __THREAD_DEFINE_p = /DwxNO_THREADS
384 !endif
385 !if "$(UNICODE)" == "0"
386 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
387 !endif
388 !if "$(UNICODE)" == "1"
389 __UNICODE_DEFINE_p = /D_UNICODE
390 !endif
391 !if "$(MSLU)" == "1"
392 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
393 !endif
394 !if "$(USE_GDIPLUS)" == "1"
395 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
396 !endif
397 !if "$(SHARED)" == "1"
398 __DLLFLAG_p = /DWXUSINGDLL
399 !endif
400 !if "$(MONOLITHIC)" == "0"
401 __WXLIB_NET_p = \
402 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
403 !endif
404 !if "$(MONOLITHIC)" == "0"
405 __WXLIB_XML_p = \
406 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
407 !endif
408 !if "$(MONOLITHIC)" == "0"
409 __WXLIB_BASE_p = \
410 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
411 !endif
412 !if "$(MONOLITHIC)" == "1"
413 __WXLIB_MONO_p = \
414 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
415 !endif
416 !if "$(MSLU)" == "1"
417 __UNICOWS_LIB_p = unicows.lib
418 !endif
419 !if "$(USE_GDIPLUS)" == "1"
420 __GDIPLUS_LIB_p = gdiplus.lib
421 !endif
422
423
424 all: $(OBJS)
425 $(OBJS):
426 -if not exist $(OBJS) mkdir $(OBJS)
427
428 ### Targets: ###
429
430 all: $(OBJS)\test.exe $(__test_gui___depname) data fr
431
432 clean:
433 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
434 -if exist $(OBJS)\*.res del $(OBJS)\*.res
435 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
436 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
437 -if exist $(OBJS)\test.ilk del $(OBJS)\test.ilk
438 -if exist $(OBJS)\test.pdb del $(OBJS)\test.pdb
439 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
440 -if exist $(OBJS)\test_gui.ilk del $(OBJS)\test_gui.ilk
441 -if exist $(OBJS)\test_gui.pdb del $(OBJS)\test_gui.pdb
442
443 $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS)
444 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\test.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) $(LDFLAGS) @<<
445 $(TEST_OBJECTS) $(__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) $(__UNICOWS_LIB_p) $(__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
446 <<
447
448 !if "$(USE_GUI)" == "1"
449 $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
450 link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\test_gui.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(CPPUNIT_LIBS) /SUBSYSTEM:CONSOLE $(LDFLAGS) @<<
451 $(TEST_GUI_OBJECTS) $(__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) $(__UNICOWS_LIB_p) $(__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
452 <<
453 !endif
454
455 data:
456 if not exist $(OBJS) mkdir $(OBJS)
457 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)
458
459 fr:
460 if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr
461 for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr
462
463 $(OBJS)\test_dummy.obj: .\dummy.cpp
464 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) /Yctestprec.h .\dummy.cpp
465
466 $(OBJS)\test_test.obj: .\test.cpp
467 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\test.cpp
468
469 $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp
470 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\archivetest.cpp
471
472 $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp
473 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\ziptest.cpp
474
475 $(OBJS)\test_tartest.obj: .\archive\tartest.cpp
476 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\archive\tartest.cpp
477
478 $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp
479 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\arrays\arrays.cpp
480
481 $(OBJS)\test_base64.obj: .\base64\base64.cpp
482 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\base64\base64.cpp
483
484 $(OBJS)\test_cmdlinetest.obj: .\cmdline\cmdlinetest.cpp
485 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\cmdline\cmdlinetest.cpp
486
487 $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp
488 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\config\fileconf.cpp
489
490 $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp
491 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\datetime\datetimetest.cpp
492
493 $(OBJS)\test_evthandler.obj: .\events\evthandler.cpp
494 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\events\evthandler.cpp
495
496 $(OBJS)\test_timertest.obj: .\events\timertest.cpp
497 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\events\timertest.cpp
498
499 $(OBJS)\test_exec.obj: .\exec\exec.cpp
500 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\exec\exec.cpp
501
502 $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp
503 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filekind\filekind.cpp
504
505 $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp
506 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filename\filenametest.cpp
507
508 $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp
509 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\filesys\filesystest.cpp
510
511 $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
512 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\fontmap\fontmaptest.cpp
513
514 $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp
515 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\formatconverter\formatconvertertest.cpp
516
517 $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
518 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp
519
520 $(OBJS)\test_intltest.obj: .\intl\intltest.cpp
521 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp
522
523 $(OBJS)\test_lists.obj: .\lists\lists.cpp
524 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\lists\lists.cpp
525
526 $(OBJS)\test_logtest.obj: .\log\logtest.cpp
527 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\log\logtest.cpp
528
529 $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp
530 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\longlong\longlongtest.cpp
531
532 $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp
533 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\mbconv\convautotest.cpp
534
535 $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
536 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp
537
538 $(OBJS)\test_misctests.obj: .\misc\misctests.cpp
539 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\misc\misctests.cpp
540
541 $(OBJS)\test_ipc.obj: .\net\ipc.cpp
542 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\net\ipc.cpp
543
544 $(OBJS)\test_socket.obj: .\net\socket.cpp
545 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\net\socket.cpp
546
547 $(OBJS)\test_regextest.obj: .\regex\regextest.cpp
548 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\regex\regextest.cpp
549
550 $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp
551 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\regex\wxregextest.cpp
552
553 $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp
554 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\scopeguard\scopeguardtest.cpp
555
556 $(OBJS)\test_iostream.obj: .\strings\iostream.cpp
557 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\iostream.cpp
558
559 $(OBJS)\test_strings.obj: .\strings\strings.cpp
560 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\strings.cpp
561
562 $(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp
563 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\stdstrings.cpp
564
565 $(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp
566 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\tokenizer.cpp
567
568 $(OBJS)\test_unichar.obj: .\strings\unichar.cpp
569 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\unichar.cpp
570
571 $(OBJS)\test_unicode.obj: .\strings\unicode.cpp
572 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\unicode.cpp
573
574 $(OBJS)\test_vararg.obj: .\strings\vararg.cpp
575 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\vararg.cpp
576
577 $(OBJS)\test_crt.obj: .\strings\crt.cpp
578 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\crt.cpp
579
580 $(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp
581 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\strings\vsnprintf.cpp
582
583 $(OBJS)\test_bstream.obj: .\streams\bstream.cpp
584 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\bstream.cpp
585
586 $(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp
587 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\datastreamtest.cpp
588
589 $(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp
590 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\ffilestream.cpp
591
592 $(OBJS)\test_fileback.obj: .\streams\fileback.cpp
593 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\fileback.cpp
594
595 $(OBJS)\test_filestream.obj: .\streams\filestream.cpp
596 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\filestream.cpp
597
598 $(OBJS)\test_iostreams.obj: .\streams\iostreams.cpp
599 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\iostreams.cpp
600
601 $(OBJS)\test_largefile.obj: .\streams\largefile.cpp
602 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\largefile.cpp
603
604 $(OBJS)\test_memstream.obj: .\streams\memstream.cpp
605 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\memstream.cpp
606
607 $(OBJS)\test_socketstream.obj: .\streams\socketstream.cpp
608 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\socketstream.cpp
609
610 $(OBJS)\test_sstream.obj: .\streams\sstream.cpp
611 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\sstream.cpp
612
613 $(OBJS)\test_stdstream.obj: .\streams\stdstream.cpp
614 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\stdstream.cpp
615
616 $(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp
617 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\tempfile.cpp
618
619 $(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp
620 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\textstreamtest.cpp
621
622 $(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp
623 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\streams\zlibstream.cpp
624
625 $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp
626 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\textfile\textfiletest.cpp
627
628 $(OBJS)\test_atomic.obj: .\thread\atomic.cpp
629 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\atomic.cpp
630
631 $(OBJS)\test_queue.obj: .\thread\queue.cpp
632 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\queue.cpp
633
634 $(OBJS)\test_tls.obj: .\thread\tls.cpp
635 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\thread\tls.cpp
636
637 $(OBJS)\test_uris.obj: .\uris\uris.cpp
638 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\uris\uris.cpp
639
640 $(OBJS)\test_url.obj: .\uris\url.cpp
641 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\uris\url.cpp
642
643 $(OBJS)\test_vectors.obj: .\vectors\vectors.cpp
644 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\vectors\vectors.cpp
645
646 $(OBJS)\test_evtconnection.obj: .\weakref\evtconnection.cpp
647 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\weakref\evtconnection.cpp
648
649 $(OBJS)\test_weakref.obj: .\weakref\weakref.cpp
650 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\weakref\weakref.cpp
651
652 $(OBJS)\test_xlocale.obj: .\xlocale\xlocale.cpp
653 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\xlocale\xlocale.cpp
654
655 $(OBJS)\test_xmltest.obj: .\xml\xmltest.cpp
656 $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) .\xml\xmltest.cpp
657
658 $(OBJS)\test_gui_dummy.obj: .\dummy.cpp
659 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) /Yctestprec.h .\dummy.cpp
660
661 $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc
662 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_17_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) /i $(SETUPHDIR) /i .\..\include /i . $(__DLLFLAG_p_3) /i .\..\samples /d NOPCH /d _CONSOLE .\..\samples\sample.rc
663
664 $(OBJS)\test_gui_test.obj: .\test.cpp
665 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\test.cpp
666
667 $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp
668 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp
669
670 $(OBJS)\test_gui_size.obj: .\geometry\size.cpp
671 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\size.cpp
672
673 $(OBJS)\test_gui_point.obj: .\geometry\point.cpp
674 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\geometry\point.cpp
675
676 $(OBJS)\test_gui_measuring.obj: .\graphics\measuring.cpp
677 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\graphics\measuring.cpp
678
679 $(OBJS)\test_gui_config.obj: .\config\config.cpp
680 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp
681
682 $(OBJS)\test_gui_comboboxtest.obj: .\controls\comboboxtest.cpp
683 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\comboboxtest.cpp
684
685 $(OBJS)\test_gui_headerctrltest.obj: .\controls\headerctrltest.cpp
686 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\headerctrltest.cpp
687
688 $(OBJS)\test_gui_listctrltest.obj: .\controls\listctrltest.cpp
689 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\listctrltest.cpp
690
691 $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp
692 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp
693
694 $(OBJS)\test_gui_textentrytest.obj: .\controls\textentrytest.cpp
695 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\textentrytest.cpp
696
697 $(OBJS)\test_gui_treectrltest.obj: .\controls\treectrltest.cpp
698 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\treectrltest.cpp
699
700 $(OBJS)\test_gui_clone.obj: .\events\clone.cpp
701 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\events\clone.cpp
702
703 $(OBJS)\test_gui_propagation.obj: .\events\propagation.cpp
704 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\events\propagation.cpp
705
706 $(OBJS)\test_gui_fonttest.obj: .\font\fonttest.cpp
707 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\font\fonttest.cpp
708
709 $(OBJS)\test_gui_image.obj: .\image\image.cpp
710 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\image\image.cpp
711
712 $(OBJS)\test_gui_rawbmp.obj: .\image\rawbmp.cpp
713 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\image\rawbmp.cpp
714
715 $(OBJS)\test_gui_htmlwindow.obj: .\html\htmlwindow.cpp
716 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\html\htmlwindow.cpp
717
718 $(OBJS)\test_gui_guifuncs.obj: .\misc\guifuncs.cpp
719 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\guifuncs.cpp
720
721 $(OBJS)\test_gui_selstoretest.obj: .\misc\selstoretest.cpp
722 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\selstoretest.cpp
723
724 $(OBJS)\test_gui_garbage.obj: .\misc\garbage.cpp
725 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\garbage.cpp
726
727 $(OBJS)\test_gui_settings.obj: .\misc\settings.cpp
728 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\misc\settings.cpp
729
730 $(OBJS)\test_gui_socket.obj: .\net\socket.cpp
731 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\net\socket.cpp
732
733 $(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp
734 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp
735
736 $(OBJS)\test_gui_setsize.obj: .\window\setsize.cpp
737 $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\setsize.cpp
738