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