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