]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.2 (http://bakefile.sourceforge.net) | |
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_fileconf.obj \ | |
40 | $(OBJS)\test_datetimetest.obj \ | |
41 | $(OBJS)\test_filekind.obj \ | |
42 | $(OBJS)\test_filenametest.obj \ | |
43 | $(OBJS)\test_filesystest.obj \ | |
44 | $(OBJS)\test_fontmaptest.obj \ | |
45 | $(OBJS)\test_formatconvertertest.obj \ | |
46 | $(OBJS)\test_hashes.obj \ | |
47 | $(OBJS)\test_intltest.obj \ | |
48 | $(OBJS)\test_lists.obj \ | |
49 | $(OBJS)\test_longlongtest.obj \ | |
50 | $(OBJS)\test_convautotest.obj \ | |
51 | $(OBJS)\test_mbconvtest.obj \ | |
52 | $(OBJS)\test_regextest.obj \ | |
53 | $(OBJS)\test_wxregextest.obj \ | |
54 | $(OBJS)\test_scopeguardtest.obj \ | |
55 | $(OBJS)\test_iostream.obj \ | |
56 | $(OBJS)\test_strings.obj \ | |
57 | $(OBJS)\test_stdstrings.obj \ | |
58 | $(OBJS)\test_tokenizer.obj \ | |
59 | $(OBJS)\test_unichar.obj \ | |
60 | $(OBJS)\test_unicode.obj \ | |
61 | $(OBJS)\test_vararg.obj \ | |
62 | $(OBJS)\test_crt.obj \ | |
63 | $(OBJS)\test_vsnprintf.obj \ | |
64 | $(OBJS)\test_bstream.obj \ | |
65 | $(OBJS)\test_datastreamtest.obj \ | |
66 | $(OBJS)\test_ffilestream.obj \ | |
67 | $(OBJS)\test_fileback.obj \ | |
68 | $(OBJS)\test_filestream.obj \ | |
69 | $(OBJS)\test_largefile.obj \ | |
70 | $(OBJS)\test_memstream.obj \ | |
71 | $(OBJS)\test_sstream.obj \ | |
72 | $(OBJS)\test_tempfile.obj \ | |
73 | $(OBJS)\test_textstreamtest.obj \ | |
74 | $(OBJS)\test_zlibstream.obj \ | |
75 | $(OBJS)\test_textfiletest.obj \ | |
76 | $(OBJS)\test_atomic.obj \ | |
77 | $(OBJS)\test_queue.obj \ | |
78 | $(OBJS)\test_uris.obj \ | |
79 | $(OBJS)\test_vectors.obj | |
80 | TEST_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \ | |
81 | $(__DEBUGINFO) /Fd$(OBJS)\test_gui.pdb $(____DEBUGRUNTIME) \ | |
82 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
83 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
84 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
85 | $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) \ | |
86 | /I.\..\samples /DNOPCH $(CPPUNIT_CFLAGS) /D_CONSOLE $(__RTTIFLAG) \ | |
87 | $(__EXCEPTIONSFLAG) /Yu"testprec.h" /Fp"$(OBJS)\testprec_test_gui.pch" \ | |
88 | $(CPPFLAGS) $(CXXFLAGS) | |
89 | TEST_GUI_OBJECTS = \ | |
90 | $(OBJS)\test_gui_dummy.obj \ | |
91 | $(OBJS)\test_gui_sample.res \ | |
92 | $(OBJS)\test_gui_test.obj \ | |
93 | $(OBJS)\test_gui_rect.obj \ | |
94 | $(OBJS)\test_gui_size.obj \ | |
95 | $(OBJS)\test_gui_point.obj \ | |
96 | $(OBJS)\test_gui_config.obj \ | |
97 | $(OBJS)\test_gui_textctrltest.obj | |
98 | PRINTFBENCH_CXXFLAGS = /M$(__RUNTIME_LIBS_38)$(__DEBUGRUNTIME) /DWIN32 \ | |
99 | $(__DEBUGINFO) /Fd$(OBJS)\printfbench.pdb $(____DEBUGRUNTIME) \ | |
100 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
101 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
102 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
103 | $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\include /W4 /I. $(__DLLFLAG_p) \ | |
104 | /D_CONSOLE /DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
105 | /Yu"testprec.h" /Fp"$(OBJS)\testprec_printfbench.pch" $(CPPFLAGS) \ | |
106 | $(CXXFLAGS) | |
107 | PRINTFBENCH_OBJECTS = \ | |
108 | $(OBJS)\printfbench_dummy.obj \ | |
109 | $(OBJS)\printfbench_printfbench.obj | |
110 | ||
111 | ### Conditionally set variables: ### | |
112 | ||
113 | !if "$(USE_GUI)" == "0" | |
114 | PORTNAME = base | |
115 | !endif | |
116 | !if "$(USE_GUI)" == "1" | |
117 | PORTNAME = msw | |
118 | !endif | |
119 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
120 | WXDEBUGFLAG = d | |
121 | !endif | |
122 | !if "$(DEBUG_FLAG)" == "1" | |
123 | WXDEBUGFLAG = d | |
124 | !endif | |
125 | !if "$(UNICODE)" == "1" | |
126 | WXUNICODEFLAG = u | |
127 | !endif | |
128 | !if "$(WXUNIV)" == "1" | |
129 | WXUNIVNAME = univ | |
130 | !endif | |
131 | !if "$(TARGET_CPU)" == "amd64" | |
132 | DIR_SUFFIX_CPU = _amd64 | |
133 | !endif | |
134 | !if "$(TARGET_CPU)" == "amd64" | |
135 | DIR_SUFFIX_CPU = _amd64 | |
136 | !endif | |
137 | !if "$(TARGET_CPU)" == "ia64" | |
138 | DIR_SUFFIX_CPU = _ia64 | |
139 | !endif | |
140 | !if "$(TARGET_CPU)" == "ia64" | |
141 | DIR_SUFFIX_CPU = _ia64 | |
142 | !endif | |
143 | !if "$(SHARED)" == "1" | |
144 | WXDLLFLAG = dll | |
145 | !endif | |
146 | !if "$(SHARED)" == "0" | |
147 | LIBTYPE_SUFFIX = lib | |
148 | !endif | |
149 | !if "$(SHARED)" == "1" | |
150 | LIBTYPE_SUFFIX = dll | |
151 | !endif | |
152 | !if "$(TARGET_CPU)" == "amd64" | |
153 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
154 | !endif | |
155 | !if "$(TARGET_CPU)" == "amd64" | |
156 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
157 | !endif | |
158 | !if "$(TARGET_CPU)" == "ia64" | |
159 | LINK_TARGET_CPU = /MACHINE:IA64 | |
160 | !endif | |
161 | !if "$(TARGET_CPU)" == "ia64" | |
162 | LINK_TARGET_CPU = /MACHINE:IA64 | |
163 | !endif | |
164 | !if "$(MONOLITHIC)" == "0" | |
165 | EXTRALIBS_FOR_BASE = | |
166 | !endif | |
167 | !if "$(MONOLITHIC)" == "1" | |
168 | EXTRALIBS_FOR_BASE = | |
169 | !endif | |
170 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
171 | __RUNTIME_LIBS_8 = D | |
172 | !endif | |
173 | !if "$(RUNTIME_LIBS)" == "static" | |
174 | __RUNTIME_LIBS_8 = $(__THREADSFLAG) | |
175 | !endif | |
176 | !if "$(MONOLITHIC)" == "0" | |
177 | __WXLIB_NET_p = \ | |
178 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
179 | !endif | |
180 | !if "$(USE_GUI)" == "1" | |
181 | __test_gui___depname = $(OBJS)\test_gui.exe | |
182 | !endif | |
183 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
184 | ____DEBUGRUNTIME_17_p_1 = /d _DEBUG | |
185 | !endif | |
186 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
187 | ____DEBUGRUNTIME_17_p_1 = | |
188 | !endif | |
189 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
190 | ____DEBUGRUNTIME_17_p_1 = | |
191 | !endif | |
192 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
193 | ____DEBUGRUNTIME_17_p_1 = /d _DEBUG | |
194 | !endif | |
195 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
196 | __RUNTIME_LIBS_23 = D | |
197 | !endif | |
198 | !if "$(RUNTIME_LIBS)" == "static" | |
199 | __RUNTIME_LIBS_23 = $(__THREADSFLAG) | |
200 | !endif | |
201 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
202 | __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__ | |
203 | !endif | |
204 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
205 | __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__ | |
206 | !endif | |
207 | !if "$(WXUNIV)" == "1" | |
208 | __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__ | |
209 | !endif | |
210 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
211 | __DEBUG_DEFINE_p_3 = /d __WXDEBUG__ | |
212 | !endif | |
213 | !if "$(DEBUG_FLAG)" == "1" | |
214 | __DEBUG_DEFINE_p_3 = /d __WXDEBUG__ | |
215 | !endif | |
216 | !if "$(USE_EXCEPTIONS)" == "0" | |
217 | __EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS | |
218 | !endif | |
219 | !if "$(USE_RTTI)" == "0" | |
220 | __RTTI_DEFINE_p_3 = /d wxNO_RTTI | |
221 | !endif | |
222 | !if "$(USE_THREADS)" == "0" | |
223 | __THREAD_DEFINE_p_3 = /d wxNO_THREADS | |
224 | !endif | |
225 | !if "$(UNICODE)" == "1" | |
226 | __UNICODE_DEFINE_p_3 = /d _UNICODE | |
227 | !endif | |
228 | !if "$(MSLU)" == "1" | |
229 | __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1 | |
230 | !endif | |
231 | !if "$(USE_GDIPLUS)" == "1" | |
232 | __GFXCTX_DEFINE_p_3 = /d wxUSE_GRAPHICS_CONTEXT=1 | |
233 | !endif | |
234 | !if "$(SHARED)" == "1" | |
235 | __DLLFLAG_p_3 = /d WXUSINGDLL | |
236 | !endif | |
237 | !if "$(MONOLITHIC)" == "0" | |
238 | __WXLIB_CORE_p = \ | |
239 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
240 | !endif | |
241 | !if "$(USE_GUI)" == "1" | |
242 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
243 | !endif | |
244 | !if "$(USE_GUI)" == "1" | |
245 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
246 | !endif | |
247 | !if "$(USE_GUI)" == "1" | |
248 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
249 | !endif | |
250 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
251 | __RUNTIME_LIBS_38 = D | |
252 | !endif | |
253 | !if "$(RUNTIME_LIBS)" == "static" | |
254 | __RUNTIME_LIBS_38 = $(__THREADSFLAG) | |
255 | !endif | |
256 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
257 | __DEBUGINFO = /Zi | |
258 | !endif | |
259 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
260 | __DEBUGINFO = | |
261 | !endif | |
262 | !if "$(DEBUG_INFO)" == "0" | |
263 | __DEBUGINFO = | |
264 | !endif | |
265 | !if "$(DEBUG_INFO)" == "1" | |
266 | __DEBUGINFO = /Zi | |
267 | !endif | |
268 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
269 | __DEBUGINFO_2 = /DEBUG | |
270 | !endif | |
271 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
272 | __DEBUGINFO_2 = | |
273 | !endif | |
274 | !if "$(DEBUG_INFO)" == "0" | |
275 | __DEBUGINFO_2 = | |
276 | !endif | |
277 | !if "$(DEBUG_INFO)" == "1" | |
278 | __DEBUGINFO_2 = /DEBUG | |
279 | !endif | |
280 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
281 | ____DEBUGRUNTIME = /D_DEBUG | |
282 | !endif | |
283 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
284 | ____DEBUGRUNTIME = | |
285 | !endif | |
286 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
287 | ____DEBUGRUNTIME = | |
288 | !endif | |
289 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
290 | ____DEBUGRUNTIME = /D_DEBUG | |
291 | !endif | |
292 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
293 | __DEBUGRUNTIME = d | |
294 | !endif | |
295 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
296 | __DEBUGRUNTIME = | |
297 | !endif | |
298 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
299 | __DEBUGRUNTIME = | |
300 | !endif | |
301 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
302 | __DEBUGRUNTIME = d | |
303 | !endif | |
304 | !if "$(BUILD)" == "debug" | |
305 | __OPTIMIZEFLAG = /Od | |
306 | !endif | |
307 | !if "$(BUILD)" == "release" | |
308 | __OPTIMIZEFLAG = /O2 | |
309 | !endif | |
310 | !if "$(USE_THREADS)" == "0" | |
311 | __THREADSFLAG = L | |
312 | !endif | |
313 | !if "$(USE_THREADS)" == "1" | |
314 | __THREADSFLAG = T | |
315 | !endif | |
316 | !if "$(USE_RTTI)" == "0" | |
317 | __RTTIFLAG = | |
318 | !endif | |
319 | !if "$(USE_RTTI)" == "1" | |
320 | __RTTIFLAG = /GR | |
321 | !endif | |
322 | !if "$(USE_EXCEPTIONS)" == "0" | |
323 | __EXCEPTIONSFLAG = | |
324 | !endif | |
325 | !if "$(USE_EXCEPTIONS)" == "1" | |
326 | __EXCEPTIONSFLAG = /EHsc | |
327 | !endif | |
328 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
329 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
330 | !endif | |
331 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
332 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
333 | !endif | |
334 | !if "$(WXUNIV)" == "1" | |
335 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
336 | !endif | |
337 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
338 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
339 | !endif | |
340 | !if "$(DEBUG_FLAG)" == "1" | |
341 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
342 | !endif | |
343 | !if "$(USE_EXCEPTIONS)" == "0" | |
344 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
345 | !endif | |
346 | !if "$(USE_RTTI)" == "0" | |
347 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
348 | !endif | |
349 | !if "$(USE_THREADS)" == "0" | |
350 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
351 | !endif | |
352 | !if "$(UNICODE)" == "1" | |
353 | __UNICODE_DEFINE_p = /D_UNICODE | |
354 | !endif | |
355 | !if "$(MSLU)" == "1" | |
356 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
357 | !endif | |
358 | !if "$(USE_GDIPLUS)" == "1" | |
359 | __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1 | |
360 | !endif | |
361 | !if "$(SHARED)" == "1" | |
362 | __DLLFLAG_p = /DWXUSINGDLL | |
363 | !endif | |
364 | !if "$(MONOLITHIC)" == "0" | |
365 | __WXLIB_BASE_p = \ | |
366 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
367 | !endif | |
368 | !if "$(MONOLITHIC)" == "1" | |
369 | __WXLIB_MONO_p = \ | |
370 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
371 | !endif | |
372 | !if "$(MSLU)" == "1" | |
373 | __UNICOWS_LIB_p = unicows.lib | |
374 | !endif | |
375 | !if "$(USE_GDIPLUS)" == "1" | |
376 | __GDIPLUS_LIB_p = gdiplus.lib | |
377 | !endif | |
378 | ||
379 | ||
380 | all: $(OBJS) | |
381 | $(OBJS): | |
382 | -if not exist $(OBJS) mkdir $(OBJS) | |
383 | ||
384 | ### Targets: ### | |
385 | ||
386 | all: $(OBJS)\test.exe $(__test_gui___depname) data fr $(OBJS)\printfbench.exe | |
387 | ||
388 | clean: | |
389 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
390 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
391 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch | |
392 | -if exist $(OBJS)\test.exe del $(OBJS)\test.exe | |
393 | -if exist $(OBJS)\test.ilk del $(OBJS)\test.ilk | |
394 | -if exist $(OBJS)\test.pdb del $(OBJS)\test.pdb | |
395 | -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe | |
396 | -if exist $(OBJS)\test_gui.ilk del $(OBJS)\test_gui.ilk | |
397 | -if exist $(OBJS)\test_gui.pdb del $(OBJS)\test_gui.pdb | |
398 | -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe | |
399 | -if exist $(OBJS)\printfbench.ilk del $(OBJS)\printfbench.ilk | |
400 | -if exist $(OBJS)\printfbench.pdb del $(OBJS)\printfbench.pdb | |
401 | ||
402 | $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS) | |
403 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<< | |
404 | $(TEST_OBJECTS) $(__WXLIB_NET_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 | |
405 | << | |
406 | ||
407 | !if "$(USE_GUI)" == "1" | |
408 | $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
409 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(CPPUNIT_LIBS) /SUBSYSTEM:CONSOLE @<< | |
410 | $(TEST_GUI_OBJECTS) $(__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) $(__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 | |
411 | << | |
412 | !endif | |
413 | ||
414 | data: | |
415 | if not exist $(OBJS) mkdir $(OBJS) | |
416 | for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
417 | ||
418 | fr: | |
419 | if not exist $(OBJS)\intl\fr mkdir $(OBJS)\intl\fr | |
420 | for %f in (internat.po internat.mo) do if not exist $(OBJS)\intl\fr\%f copy .\intl\fr\%f $(OBJS)\intl\fr | |
421 | ||
422 | $(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS) | |
423 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<< | |
424 | $(PRINTFBENCH_OBJECTS) $(__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 | |
425 | << | |
426 | ||
427 | $(OBJS)\test_dummy.obj: .\dummy.cpp | |
428 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) /Yctestprec.h $** | |
429 | ||
430 | $(OBJS)\test_test.obj: .\test.cpp | |
431 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
432 | ||
433 | $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp | |
434 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
435 | ||
436 | $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp | |
437 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
438 | ||
439 | $(OBJS)\test_tartest.obj: .\archive\tartest.cpp | |
440 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
441 | ||
442 | $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp | |
443 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
444 | ||
445 | $(OBJS)\test_base64.obj: .\base64\base64.cpp | |
446 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
447 | ||
448 | $(OBJS)\test_fileconf.obj: .\config\fileconf.cpp | |
449 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
450 | ||
451 | $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp | |
452 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
453 | ||
454 | $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp | |
455 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
456 | ||
457 | $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp | |
458 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
459 | ||
460 | $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp | |
461 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
462 | ||
463 | $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp | |
464 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
465 | ||
466 | $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp | |
467 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
468 | ||
469 | $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp | |
470 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
471 | ||
472 | $(OBJS)\test_intltest.obj: .\intl\intltest.cpp | |
473 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
474 | ||
475 | $(OBJS)\test_lists.obj: .\lists\lists.cpp | |
476 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
477 | ||
478 | $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp | |
479 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
480 | ||
481 | $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp | |
482 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
483 | ||
484 | $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp | |
485 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
486 | ||
487 | $(OBJS)\test_regextest.obj: .\regex\regextest.cpp | |
488 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
489 | ||
490 | $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp | |
491 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
492 | ||
493 | $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp | |
494 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
495 | ||
496 | $(OBJS)\test_iostream.obj: .\strings\iostream.cpp | |
497 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
498 | ||
499 | $(OBJS)\test_strings.obj: .\strings\strings.cpp | |
500 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
501 | ||
502 | $(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp | |
503 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
504 | ||
505 | $(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp | |
506 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
507 | ||
508 | $(OBJS)\test_unichar.obj: .\strings\unichar.cpp | |
509 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
510 | ||
511 | $(OBJS)\test_unicode.obj: .\strings\unicode.cpp | |
512 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
513 | ||
514 | $(OBJS)\test_vararg.obj: .\strings\vararg.cpp | |
515 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
516 | ||
517 | $(OBJS)\test_crt.obj: .\strings\crt.cpp | |
518 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
519 | ||
520 | $(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp | |
521 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
522 | ||
523 | $(OBJS)\test_bstream.obj: .\streams\bstream.cpp | |
524 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
525 | ||
526 | $(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp | |
527 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
528 | ||
529 | $(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp | |
530 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
531 | ||
532 | $(OBJS)\test_fileback.obj: .\streams\fileback.cpp | |
533 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
534 | ||
535 | $(OBJS)\test_filestream.obj: .\streams\filestream.cpp | |
536 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
537 | ||
538 | $(OBJS)\test_largefile.obj: .\streams\largefile.cpp | |
539 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
540 | ||
541 | $(OBJS)\test_memstream.obj: .\streams\memstream.cpp | |
542 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
543 | ||
544 | $(OBJS)\test_sstream.obj: .\streams\sstream.cpp | |
545 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
546 | ||
547 | $(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp | |
548 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
549 | ||
550 | $(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp | |
551 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
552 | ||
553 | $(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp | |
554 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
555 | ||
556 | $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp | |
557 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
558 | ||
559 | $(OBJS)\test_atomic.obj: .\thread\atomic.cpp | |
560 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
561 | ||
562 | $(OBJS)\test_queue.obj: .\thread\queue.cpp | |
563 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
564 | ||
565 | $(OBJS)\test_uris.obj: .\uris\uris.cpp | |
566 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
567 | ||
568 | $(OBJS)\test_vectors.obj: .\vectors\vectors.cpp | |
569 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
570 | ||
571 | $(OBJS)\test_gui_dummy.obj: .\dummy.cpp | |
572 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) /Yctestprec.h $** | |
573 | ||
574 | $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc | |
575 | 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 $** | |
576 | ||
577 | $(OBJS)\test_gui_test.obj: .\test.cpp | |
578 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $** | |
579 | ||
580 | $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp | |
581 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $** | |
582 | ||
583 | $(OBJS)\test_gui_size.obj: .\geometry\size.cpp | |
584 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $** | |
585 | ||
586 | $(OBJS)\test_gui_point.obj: .\geometry\point.cpp | |
587 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $** | |
588 | ||
589 | $(OBJS)\test_gui_config.obj: .\config\config.cpp | |
590 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $** | |
591 | ||
592 | $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp | |
593 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $** | |
594 | ||
595 | $(OBJS)\printfbench_dummy.obj: .\dummy.cpp | |
596 | $(CXX) /c /nologo /TP /Fo$@ $(PRINTFBENCH_CXXFLAGS) /Yctestprec.h $** | |
597 | ||
598 | $(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp | |
599 | $(CXX) /c /nologo /TP /Fo$@ $(PRINTFBENCH_CXXFLAGS) $** | |
600 |