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