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