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