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