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