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