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