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