]>
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 | 58 | $(OBJS)\test_ffilestream.obj \ |
e2255c89 | 59 | $(OBJS)\test_fileback.obj \ |
7735998c | 60 | $(OBJS)\test_filestream.obj \ |
cb327439 | 61 | $(OBJS)\test_largefile.obj \ |
7735998c | 62 | $(OBJS)\test_memstream.obj \ |
c33fae85 | 63 | $(OBJS)\test_sstream.obj \ |
e1265174 | 64 | $(OBJS)\test_tempfile.obj \ |
8899b155 | 65 | $(OBJS)\test_textstreamtest.obj \ |
816b59de | 66 | $(OBJS)\test_zlibstream.obj \ |
d31a29b5 | 67 | $(OBJS)\test_textfiletest.obj \ |
dd65d8c8 | 68 | $(OBJS)\test_uris.obj |
21c6080d JS |
69 | TEST_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \ |
70 | $(__DEBUGINFO) /Fd$(OBJS)\test_gui.pdb $(____DEBUGRUNTIME) \ | |
a0744a6b | 71 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 72 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 73 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
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) | |
a0744a6b VS |
78 | TEST_GUI_OBJECTS = \ |
79 | $(OBJS)\test_gui_sample.res \ | |
80 | $(OBJS)\test_gui_dummy.obj \ | |
98a50e20 | 81 | $(OBJS)\test_gui_test.obj \ |
cb327439 MW |
82 | $(OBJS)\test_gui_rect.obj \ |
83 | $(OBJS)\test_gui_size.obj \ | |
84 | $(OBJS)\test_gui_point.obj | |
c2c04edc KO |
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) \ | |
3abcf424 RD |
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) | |
c2c04edc KO |
94 | PRINTFBENCH_OBJECTS = \ |
95 | $(OBJS)\printfbench_dummy.obj \ | |
96 | $(OBJS)\printfbench_printfbench.obj | |
670ec357 VS |
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 | |
20a34d96 | 118 | !if "$(TARGET_CPU)" == "amd64" |
ab6ea1ac MW |
119 | DIR_SUFFIX_CPU = _amd64 |
120 | !endif | |
20a34d96 VZ |
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" | |
ab6ea1ac MW |
128 | DIR_SUFFIX_CPU = _ia64 |
129 | !endif | |
670ec357 VS |
130 | !if "$(SHARED)" == "1" |
131 | WXDLLFLAG = dll | |
132 | !endif | |
cb327439 MW |
133 | !if "$(SHARED)" == "0" |
134 | LIBTYPE_SUFFIX = lib | |
135 | !endif | |
136 | !if "$(SHARED)" == "1" | |
137 | LIBTYPE_SUFFIX = dll | |
138 | !endif | |
20a34d96 VZ |
139 | !if "$(TARGET_CPU)" == "amd64" |
140 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
141 | !endif | |
142 | !if "$(TARGET_CPU)" == "amd64" | |
ab6ea1ac MW |
143 | LINK_TARGET_CPU = /MACHINE:AMD64 |
144 | !endif | |
20a34d96 VZ |
145 | !if "$(TARGET_CPU)" == "ia64" |
146 | LINK_TARGET_CPU = /MACHINE:IA64 | |
147 | !endif | |
148 | !if "$(TARGET_CPU)" == "ia64" | |
ab6ea1ac MW |
149 | LINK_TARGET_CPU = /MACHINE:IA64 |
150 | !endif | |
dd65d8c8 RN |
151 | !if "$(MONOLITHIC)" == "0" |
152 | EXTRALIBS_FOR_BASE = | |
153 | !endif | |
154 | !if "$(MONOLITHIC)" == "1" | |
155 | EXTRALIBS_FOR_BASE = | |
156 | !endif | |
e1265174 | 157 | !if "$(RUNTIME_LIBS)" == "dynamic" |
8c9f8f91 | 158 | __RUNTIME_LIBS_8 = D |
e1265174 MW |
159 | !endif |
160 | !if "$(RUNTIME_LIBS)" == "static" | |
8c9f8f91 | 161 | __RUNTIME_LIBS_8 = $(__THREADSFLAG) |
e1265174 | 162 | !endif |
a0744a6b VS |
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 | |
21c6080d JS |
170 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
171 | ____DEBUGRUNTIME_17_p_1 = /d _DEBUG | |
a0744a6b | 172 | !endif |
21c6080d JS |
173 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
174 | ____DEBUGRUNTIME_17_p_1 = | |
a0744a6b VS |
175 | !endif |
176 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
8c9f8f91 | 177 | ____DEBUGRUNTIME_17_p_1 = |
a0744a6b VS |
178 | !endif |
179 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
8c9f8f91 | 180 | ____DEBUGRUNTIME_17_p_1 = /d _DEBUG |
a0744a6b | 181 | !endif |
e1265174 | 182 | !if "$(RUNTIME_LIBS)" == "dynamic" |
8c9f8f91 | 183 | __RUNTIME_LIBS_23 = D |
e1265174 MW |
184 | !endif |
185 | !if "$(RUNTIME_LIBS)" == "static" | |
8c9f8f91 | 186 | __RUNTIME_LIBS_23 = $(__THREADSFLAG) |
e1265174 | 187 | !endif |
a0744a6b VS |
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 | |
8c9f8f91 JS |
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 | |
a0744a6b VS |
212 | !if "$(UNICODE)" == "1" |
213 | __UNICODE_DEFINE_p_3 = /d _UNICODE | |
214 | !endif | |
2113bc77 MW |
215 | !if "$(MSLU)" == "1" |
216 | __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1 | |
217 | !endif | |
3abcf424 RD |
218 | !if "$(USE_GDIPLUS)" == "1" |
219 | __GFXCTX_DEFINE_p_3 = /d wxUSE_GRAPHICS_CONTEXT=1 | |
220 | !endif | |
a0744a6b VS |
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 | |
670ec357 | 227 | !endif |
3b2cb431 JS |
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 | |
c2c04edc KO |
237 | !if "$(RUNTIME_LIBS)" == "dynamic" |
238 | __RUNTIME_LIBS_38 = D | |
239 | !endif | |
240 | !if "$(RUNTIME_LIBS)" == "static" | |
241 | __RUNTIME_LIBS_38 = $(__THREADSFLAG) | |
242 | !endif | |
670ec357 | 243 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
a0744a6b | 244 | __DEBUGINFO = /Zi |
670ec357 VS |
245 | !endif |
246 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
a0744a6b | 247 | __DEBUGINFO = |
670ec357 VS |
248 | !endif |
249 | !if "$(DEBUG_INFO)" == "0" | |
a0744a6b | 250 | __DEBUGINFO = |
670ec357 VS |
251 | !endif |
252 | !if "$(DEBUG_INFO)" == "1" | |
a0744a6b | 253 | __DEBUGINFO = /Zi |
670ec357 | 254 | !endif |
a0744a6b | 255 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
c2c04edc | 256 | __DEBUGINFO_2 = /DEBUG |
670ec357 | 257 | !endif |
a0744a6b | 258 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
c2c04edc | 259 | __DEBUGINFO_2 = |
670ec357 | 260 | !endif |
a0744a6b | 261 | !if "$(DEBUG_INFO)" == "0" |
c2c04edc | 262 | __DEBUGINFO_2 = |
a0744a6b VS |
263 | !endif |
264 | !if "$(DEBUG_INFO)" == "1" | |
c2c04edc | 265 | __DEBUGINFO_2 = /DEBUG |
670ec357 | 266 | !endif |
21c6080d JS |
267 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
268 | ____DEBUGRUNTIME = /D_DEBUG | |
670ec357 | 269 | !endif |
21c6080d JS |
270 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
271 | ____DEBUGRUNTIME = | |
670ec357 | 272 | !endif |
21c6080d JS |
273 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
274 | ____DEBUGRUNTIME = | |
670ec357 | 275 | !endif |
21c6080d JS |
276 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
277 | ____DEBUGRUNTIME = /D_DEBUG | |
a0744a6b | 278 | !endif |
21c6080d JS |
279 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
280 | __DEBUGRUNTIME = d | |
a0744a6b | 281 | !endif |
21c6080d JS |
282 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
283 | __DEBUGRUNTIME = | |
a0744a6b | 284 | !endif |
21c6080d JS |
285 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
286 | __DEBUGRUNTIME = | |
a0744a6b | 287 | !endif |
21c6080d JS |
288 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
289 | __DEBUGRUNTIME = d | |
670ec357 VS |
290 | !endif |
291 | !if "$(BUILD)" == "debug" | |
a0744a6b | 292 | __OPTIMIZEFLAG = /Od |
670ec357 VS |
293 | !endif |
294 | !if "$(BUILD)" == "release" | |
a0744a6b | 295 | __OPTIMIZEFLAG = /O2 |
670ec357 | 296 | !endif |
e1265174 MW |
297 | !if "$(USE_THREADS)" == "0" |
298 | __THREADSFLAG = L | |
670ec357 | 299 | !endif |
e1265174 MW |
300 | !if "$(USE_THREADS)" == "1" |
301 | __THREADSFLAG = T | |
670ec357 | 302 | !endif |
e1265174 MW |
303 | !if "$(USE_RTTI)" == "0" |
304 | __RTTIFLAG = | |
670ec357 | 305 | !endif |
e1265174 MW |
306 | !if "$(USE_RTTI)" == "1" |
307 | __RTTIFLAG = /GR | |
670ec357 VS |
308 | !endif |
309 | !if "$(USE_EXCEPTIONS)" == "0" | |
e1265174 | 310 | __EXCEPTIONSFLAG = |
670ec357 VS |
311 | !endif |
312 | !if "$(USE_EXCEPTIONS)" == "1" | |
8c9f8f91 | 313 | __EXCEPTIONSFLAG = /EHsc |
670ec357 VS |
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 | |
8c9f8f91 JS |
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 | |
670ec357 VS |
339 | !if "$(UNICODE)" == "1" |
340 | __UNICODE_DEFINE_p = /D_UNICODE | |
341 | !endif | |
2113bc77 MW |
342 | !if "$(MSLU)" == "1" |
343 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
344 | !endif | |
3abcf424 RD |
345 | !if "$(USE_GDIPLUS)" == "1" |
346 | __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1 | |
347 | !endif | |
a0744a6b VS |
348 | !if "$(SHARED)" == "1" |
349 | __DLLFLAG_p = /DWXUSINGDLL | |
113e181a RN |
350 | !endif |
351 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
352 | __WXLIB_BASE_p = \ |
353 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
670ec357 VS |
354 | !endif |
355 | !if "$(MONOLITHIC)" == "1" | |
356 | __WXLIB_MONO_p = \ | |
c33fae85 | 357 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
670ec357 | 358 | !endif |
670ec357 VS |
359 | !if "$(MSLU)" == "1" |
360 | __UNICOWS_LIB_p = unicows.lib | |
361 | !endif | |
3abcf424 RD |
362 | !if "$(USE_GDIPLUS)" == "1" |
363 | __GDIPLUS_LIB_p = gdiplus.lib | |
364 | !endif | |
670ec357 VS |
365 | |
366 | ||
367 | all: $(OBJS) | |
368 | $(OBJS): | |
369 | -if not exist $(OBJS) mkdir $(OBJS) | |
370 | ||
371 | ### Targets: ### | |
372 | ||
c2c04edc | 373 | all: $(OBJS)\test.exe $(__test_gui___depname) data $(OBJS)\printfbench.exe |
670ec357 VS |
374 | |
375 | clean: | |
376 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
377 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
cb327439 | 378 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
670ec357 VS |
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 | |
a0744a6b VS |
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 | |
c2c04edc KO |
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 | |
670ec357 | 388 | |
8899b155 | 389 | $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS) |
c2c04edc | 390 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<< |
3abcf424 | 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 |
670ec357 VS |
392 | << |
393 | ||
a0744a6b VS |
394 | !if "$(USE_GUI)" == "1" |
395 | $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res | |
c2c04edc | 396 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(CPPUNIT_LIBS) /SUBSYSTEM:CONSOLE @<< |
3abcf424 | 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 |
a0744a6b VS |
398 | << |
399 | !endif | |
400 | ||
387f829e VS |
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 | ||
c2c04edc KO |
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) @<< | |
3abcf424 | 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 |
c2c04edc KO |
408 | << |
409 | ||
8899b155 RN |
410 | $(OBJS)\test_dummy.obj: .\dummy.cpp |
411 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) /Yctestprec.h $** | |
412 | ||
670ec357 VS |
413 | $(OBJS)\test_test.obj: .\test.cpp |
414 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
415 | ||
8899b155 RN |
416 | $(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp |
417 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
418 | ||
e6477b92 MW |
419 | $(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp |
420 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
421 | ||
dd65d8c8 | 422 | $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp |
e70833fb | 423 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
4827cbd9 | 424 | |
113e181a | 425 | $(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp |
bc10103e VS |
426 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
427 | ||
113e181a | 428 | $(OBJS)\test_fileconftest.obj: .\fileconf\fileconftest.cpp |
ab921f5f RN |
429 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
430 | ||
0912690b | 431 | $(OBJS)\test_filekind.obj: .\filekind\filekind.cpp |
3fa86423 WS |
432 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
433 | ||
0912690b | 434 | $(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp |
4827cbd9 | 435 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
3c70014d | 436 | |
0912690b | 437 | $(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp |
3c70014d | 438 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
cf1014a2 | 439 | |
113e181a | 440 | $(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp |
dd65d8c8 RN |
441 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
442 | ||
113e181a | 443 | $(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp |
cf1014a2 | 444 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
1b035b8c | 445 | |
f9c3d39b MB |
446 | $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp |
447 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
448 | ||
7d9cfc54 MB |
449 | $(OBJS)\test_lists.obj: .\lists\lists.cpp |
450 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
451 | ||
113e181a | 452 | $(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp |
1b035b8c | 453 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
7735998c | 454 | |
d31a29b5 VZ |
455 | $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp |
456 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
457 | ||
113e181a | 458 | $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp |
dd65d8c8 RN |
459 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
460 | ||
113e181a | 461 | $(OBJS)\test_regextest.obj: .\regex\regextest.cpp |
dd65d8c8 RN |
462 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
463 | ||
113e181a | 464 | $(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp |
dd65d8c8 RN |
465 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
466 | ||
0d90d6ea JS |
467 | $(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp |
468 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
469 | ||
1cd53e88 VS |
470 | $(OBJS)\test_strings.obj: .\strings\strings.cpp |
471 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
472 | ||
405b7d91 WS |
473 | $(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp |
474 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
475 | ||
20a34d96 VZ |
476 | $(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp |
477 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
478 | ||
387f829e VS |
479 | $(OBJS)\test_unicode.obj: .\strings\unicode.cpp |
480 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
481 | ||
cf8ee08b VS |
482 | $(OBJS)\test_crt.obj: .\strings\crt.cpp |
483 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
484 | ||
3b2cb431 JS |
485 | $(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp |
486 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
487 | ||
7735998c VS |
488 | $(OBJS)\test_bstream.obj: .\streams\bstream.cpp |
489 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
490 | ||
7d9cfc54 MB |
491 | $(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp |
492 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
493 | ||
7735998c VS |
494 | $(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp |
495 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
496 | ||
e2255c89 MW |
497 | $(OBJS)\test_fileback.obj: .\streams\fileback.cpp |
498 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
499 | ||
7735998c VS |
500 | $(OBJS)\test_filestream.obj: .\streams\filestream.cpp |
501 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
502 | ||
cb327439 MW |
503 | $(OBJS)\test_largefile.obj: .\streams\largefile.cpp |
504 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
505 | ||
7735998c VS |
506 | $(OBJS)\test_memstream.obj: .\streams\memstream.cpp |
507 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
508 | ||
c33fae85 RN |
509 | $(OBJS)\test_sstream.obj: .\streams\sstream.cpp |
510 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
511 | ||
e1265174 MW |
512 | $(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp |
513 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
514 | ||
8899b155 RN |
515 | $(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp |
516 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** | |
517 | ||
7735998c | 518 | $(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp |
d31a29b5 VZ |
519 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
520 | ||
521 | $(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp | |
7735998c | 522 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
816b59de | 523 | |
dd65d8c8 | 524 | $(OBJS)\test_uris.obj: .\uris\uris.cpp |
edcccd84 | 525 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $** |
a0744a6b VS |
526 | |
527 | $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc | |
3abcf424 | 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 $** |
a0744a6b VS |
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) $** | |
98a50e20 VS |
535 | |
536 | $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp | |
537 | $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $** | |
cb327439 MW |
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 | ||
c2c04edc KO |
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 |