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