]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.6 (http://www.bakefile.org) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
10 | prefix = @prefix@ | |
11 | exec_prefix = @exec_prefix@ | |
12 | datarootdir = @datarootdir@ | |
13 | INSTALL = @INSTALL@ | |
14 | EXEEXT = @EXEEXT@ | |
15 | WINDRES = @WINDRES@ | |
16 | SETFILE = @SETFILE@ | |
17 | ICC_PCH_USE_SWITCH = @ICC_PCH_USE_SWITCH@ | |
18 | BK_DEPS = @BK_DEPS@ | |
19 | BK_MAKE_PCH = @BK_MAKE_PCH@ | |
20 | srcdir = @srcdir@ | |
21 | top_srcdir = @top_srcdir@ | |
22 | LIBS = @LIBS@ | |
23 | CXX = @CXX@ | |
24 | CXXFLAGS = @CXXFLAGS@ | |
25 | CPPFLAGS = @CPPFLAGS@ | |
26 | LDFLAGS = @LDFLAGS@ | |
27 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ | |
28 | CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@ | |
29 | CPPUNIT_LIBS = @CPPUNIT_LIBS@ | |
30 | TOOLKIT = @TOOLKIT@ | |
31 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
32 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
33 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ | |
34 | EXTRALIBS = @EXTRALIBS@ | |
35 | EXTRALIBS_XML = @EXTRALIBS_XML@ | |
36 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ | |
37 | EXTRALIBS_MEDIA = @EXTRALIBS_MEDIA@ | |
38 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
39 | EXTRALIBS_SDL = @EXTRALIBS_SDL@ | |
40 | CXXWARNINGS = @CXXWARNINGS@ | |
41 | HOST_SUFFIX = @HOST_SUFFIX@ | |
42 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
43 | wx_top_builddir = @wx_top_builddir@ | |
44 | ||
45 | ### Variables: ### | |
46 | ||
47 | DESTDIR = | |
48 | WX_RELEASE = 2.9 | |
49 | WX_VERSION = $(WX_RELEASE).0 | |
50 | LIBDIRNAME = $(wx_top_builddir)/lib | |
51 | TEST_CXXFLAGS = $(__test_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
52 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
53 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(CXXWARNINGS) \ | |
54 | $(CPPFLAGS) $(CXXFLAGS) | |
55 | TEST_OBJECTS = \ | |
56 | test_test.o \ | |
57 | test_archivetest.o \ | |
58 | test_ziptest.o \ | |
59 | test_tartest.o \ | |
60 | test_arrays.o \ | |
61 | test_base64.o \ | |
62 | test_cmdlinetest.o \ | |
63 | test_fileconf.o \ | |
64 | test_datetimetest.o \ | |
65 | test_evthandler.o \ | |
66 | test_timertest.o \ | |
67 | test_exec.o \ | |
68 | test_filekind.o \ | |
69 | test_filenametest.o \ | |
70 | test_filesystest.o \ | |
71 | test_fontmaptest.o \ | |
72 | test_formatconvertertest.o \ | |
73 | test_hashes.o \ | |
74 | test_intltest.o \ | |
75 | test_lists.o \ | |
76 | test_longlongtest.o \ | |
77 | test_convautotest.o \ | |
78 | test_mbconvtest.o \ | |
79 | test_misctests.o \ | |
80 | test_ipc.o \ | |
81 | test_socket.o \ | |
82 | test_regextest.o \ | |
83 | test_wxregextest.o \ | |
84 | test_scopeguardtest.o \ | |
85 | test_iostream.o \ | |
86 | test_strings.o \ | |
87 | test_stdstrings.o \ | |
88 | test_tokenizer.o \ | |
89 | test_unichar.o \ | |
90 | test_unicode.o \ | |
91 | test_vararg.o \ | |
92 | test_crt.o \ | |
93 | test_vsnprintf.o \ | |
94 | test_bstream.o \ | |
95 | test_datastreamtest.o \ | |
96 | test_ffilestream.o \ | |
97 | test_fileback.o \ | |
98 | test_filestream.o \ | |
99 | test_iostreams.o \ | |
100 | test_largefile.o \ | |
101 | test_memstream.o \ | |
102 | test_socketstream.o \ | |
103 | test_sstream.o \ | |
104 | test_stdstream.o \ | |
105 | test_tempfile.o \ | |
106 | test_textstreamtest.o \ | |
107 | test_zlibstream.o \ | |
108 | test_textfiletest.o \ | |
109 | test_atomic.o \ | |
110 | test_queue.o \ | |
111 | test_tls.o \ | |
112 | test_uris.o \ | |
113 | test_vectors.o \ | |
114 | test_evtconnection.o \ | |
115 | test_weakref.o \ | |
116 | test_xlocale.o \ | |
117 | test_xmltest.o | |
118 | TEST_ODEP = $(_____pch_testprec_test_testprec_h_gch___depname) | |
119 | TEST_GUI_CXXFLAGS = $(__test_gui_PCH_INC) -D__WX$(TOOLKIT)__ \ | |
120 | $(__WXUNIV_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
121 | $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../samples \ | |
122 | $(CPPUNIT_CFLAGS) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS) | |
123 | TEST_GUI_OBJECTS = \ | |
124 | $(__test_gui___win32rc) \ | |
125 | $(__test_gui_os2_lib_res) \ | |
126 | test_gui_test.o \ | |
127 | test_gui_rect.o \ | |
128 | test_gui_size.o \ | |
129 | test_gui_point.o \ | |
130 | test_gui_measuring.o \ | |
131 | test_gui_config.o \ | |
132 | test_gui_comboboxtest.o \ | |
133 | test_gui_headerctrltest.o \ | |
134 | test_gui_listctrltest.o \ | |
135 | test_gui_textctrltest.o \ | |
136 | test_gui_textentrytest.o \ | |
137 | test_gui_treectrltest.o \ | |
138 | test_gui_clone.o \ | |
139 | test_gui_propagation.o \ | |
140 | test_gui_fonttest.o \ | |
141 | test_gui_rawbmp.o \ | |
142 | test_gui_htmlwindow.o \ | |
143 | test_gui_guifuncs.o \ | |
144 | test_gui_selstoretest.o \ | |
145 | test_gui_garbage.o \ | |
146 | test_gui_settings.o \ | |
147 | test_gui_socket.o \ | |
148 | test_gui_clientsize.o \ | |
149 | test_gui_setsize.o | |
150 | TEST_GUI_ODEP = $(_____pch_testprec_test_gui_testprec_h_gch___depname) | |
151 | PRINTFBENCH_CXXFLAGS = $(__printfbench_PCH_INC) -D__WX$(TOOLKIT)__ \ | |
152 | $(__WXUNIV_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
153 | $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 \ | |
154 | $(CPPUNIT_CFLAGS) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS) | |
155 | PRINTFBENCH_OBJECTS = \ | |
156 | printfbench_printfbench.o | |
157 | PRINTFBENCH_ODEP = $(_____pch_testprec_printfbench_testprec_h_gch___depname) | |
158 | ||
159 | ### Conditionally set variables: ### | |
160 | ||
161 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
162 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
163 | @COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL) | |
164 | @COND_USE_GUI_0@PORTNAME = base | |
165 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
166 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
167 | @COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d | |
168 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
169 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
170 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
171 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) | |
172 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
173 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
174 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
175 | @COND_PLATFORM_MAC_0@__test___mac_setfilecmd = @true | |
176 | @COND_PLATFORM_MAC_1@__test___mac_setfilecmd = \ | |
177 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test$(EXEEXT) | |
178 | @COND_GCC_PCH_1@__test_PCH_INC = -I./.pch/testprec_test | |
179 | @COND_ICC_PCH_1@__test_PCH_INC = $(ICC_PCH_USE_SWITCH) \ | |
180 | @COND_ICC_PCH_1@ ./.pch/testprec_test/testprec.h.gch | |
181 | @COND_USE_PCH_1@_____pch_testprec_test_testprec_h_gch___depname \ | |
182 | @COND_USE_PCH_1@ = ./.pch/testprec_test/testprec.h.gch | |
183 | @COND_USE_GUI_1@__test_gui___depname = test_gui$(EXEEXT) | |
184 | @COND_PLATFORM_MAC_0@__test_gui___mac_setfilecmd = @true | |
185 | @COND_PLATFORM_MAC_1@__test_gui___mac_setfilecmd = \ | |
186 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test_gui$(EXEEXT) | |
187 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__ | |
188 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_5 = --define wxNO_EXCEPTIONS | |
189 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_5 = --define wxNO_RTTI | |
190 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_5 = --define wxNO_THREADS | |
191 | @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL | |
192 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ | |
193 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
194 | @COND_PLATFORM_WIN32_1@__test_gui___win32rc = test_gui_sample_rc.o | |
195 | @COND_PLATFORM_OS2_1@__test_gui_os2_lib_res = \ | |
196 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
197 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_app_Contents_PkgInfo___depname \ | |
198 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui.app/Contents/PkgInfo | |
199 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_bundle___depname \ | |
200 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui_bundle | |
201 | @COND_TOOLKIT_MAC@____test_gui_BUNDLE_TGT_REF_DEP = \ | |
202 | @COND_TOOLKIT_MAC@ $(__test_gui_app_Contents_PkgInfo___depname) | |
203 | @COND_TOOLKIT_OSX_CARBON@____test_gui_BUNDLE_TGT_REF_DEP \ | |
204 | @COND_TOOLKIT_OSX_CARBON@ = $(__test_gui_app_Contents_PkgInfo___depname) | |
205 | @COND_TOOLKIT_OSX_COCOA@____test_gui_BUNDLE_TGT_REF_DEP \ | |
206 | @COND_TOOLKIT_OSX_COCOA@ = $(__test_gui_app_Contents_PkgInfo___depname) | |
207 | @COND_TOOLKIT_OSX_IPHONE@____test_gui_BUNDLE_TGT_REF_DEP \ | |
208 | @COND_TOOLKIT_OSX_IPHONE@ = $(__test_gui_app_Contents_PkgInfo___depname) | |
209 | @COND_TOOLKIT_COCOA@____test_gui_BUNDLE_TGT_REF_DEP = \ | |
210 | @COND_TOOLKIT_COCOA@ $(__test_gui_app_Contents_PkgInfo___depname) | |
211 | @COND_GCC_PCH_1@__test_gui_PCH_INC = -I./.pch/testprec_test_gui | |
212 | @COND_ICC_PCH_1@__test_gui_PCH_INC = $(ICC_PCH_USE_SWITCH) \ | |
213 | @COND_ICC_PCH_1@ ./.pch/testprec_test_gui/testprec.h.gch | |
214 | @COND_USE_PCH_1@_____pch_testprec_test_gui_testprec_h_gch___depname \ | |
215 | @COND_USE_PCH_1@ = ./.pch/testprec_test_gui/testprec.h.gch | |
216 | COND_MONOLITHIC_0_USE_MEDIA_1___WXLIB_MEDIA_p = \ | |
217 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media-$(WX_RELEASE)$(HOST_SUFFIX) | |
218 | @COND_MONOLITHIC_0_USE_MEDIA_1@__WXLIB_MEDIA_p = $(COND_MONOLITHIC_0_USE_MEDIA_1___WXLIB_MEDIA_p) | |
219 | COND_MONOLITHIC_0___WXLIB_XRC_p = \ | |
220 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc-$(WX_RELEASE)$(HOST_SUFFIX) | |
221 | @COND_MONOLITHIC_0@__WXLIB_XRC_p = $(COND_MONOLITHIC_0___WXLIB_XRC_p) | |
222 | COND_MONOLITHIC_0___WXLIB_ADV_p = \ | |
223 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX) | |
224 | @COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p) | |
225 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ | |
226 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) | |
227 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) | |
228 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
229 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) | |
230 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
231 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ | |
232 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \ | |
233 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
234 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \ | |
235 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \ | |
236 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
237 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ | |
238 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ | |
239 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
240 | @COND_PLATFORM_MAC_0@__printfbench___mac_setfilecmd = @true | |
241 | @COND_PLATFORM_MAC_1@__printfbench___mac_setfilecmd = \ | |
242 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL printfbench$(EXEEXT) | |
243 | @COND_GCC_PCH_1@__printfbench_PCH_INC = -I./.pch/testprec_printfbench | |
244 | @COND_ICC_PCH_1@__printfbench_PCH_INC = \ | |
245 | @COND_ICC_PCH_1@ $(ICC_PCH_USE_SWITCH) \ | |
246 | @COND_ICC_PCH_1@ ./.pch/testprec_printfbench/testprec.h.gch | |
247 | @COND_USE_PCH_1@_____pch_testprec_printfbench_testprec_h_gch___depname \ | |
248 | @COND_USE_PCH_1@ = ./.pch/testprec_printfbench/testprec.h.gch | |
249 | COND_MONOLITHIC_0___WXLIB_NET_p = \ | |
250 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
251 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
252 | COND_MONOLITHIC_0___WXLIB_XML_p = \ | |
253 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX) | |
254 | @COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p) | |
255 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
256 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
257 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
258 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
259 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
260 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
261 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
262 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
263 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
264 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
265 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
266 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ | |
267 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
268 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
269 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
270 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) | |
271 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
272 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
273 | ||
274 | ### Targets: ### | |
275 | ||
276 | all: test$(EXEEXT) $(__test_gui___depname) $(__test_gui_bundle___depname) data fr printfbench$(EXEEXT) | |
277 | ||
278 | install: | |
279 | ||
280 | uninstall: | |
281 | ||
282 | install-strip: install | |
283 | ||
284 | clean: | |
285 | rm -rf ./.deps ./.pch | |
286 | rm -f ./*.o | |
287 | rm -f test$(EXEEXT) | |
288 | rm -f test_gui$(EXEEXT) | |
289 | rm -rf test_gui.app | |
290 | rm -f printfbench$(EXEEXT) | |
291 | ||
292 | distclean: clean | |
293 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
294 | ||
295 | test$(EXEEXT): $(TEST_OBJECTS) | |
296 | $(CXX) -o $@ $(TEST_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) | |
297 | ||
298 | $(__test___mac_setfilecmd) | |
299 | ||
300 | @COND_USE_PCH_1@./.pch/testprec_test/testprec.h.gch: | |
301 | @COND_USE_PCH_1@ $(BK_MAKE_PCH) ./.pch/testprec_test/testprec.h.gch testprec.h $(CXX) $(TEST_CXXFLAGS) | |
302 | ||
303 | @COND_USE_GUI_1@test_gui$(EXEEXT): $(TEST_GUI_OBJECTS) $(__test_gui___win32rc) | |
304 | @COND_USE_GUI_1@ $(CXX) -o $@ $(TEST_GUI_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_MEDIA_p) $(EXTRALIBS_MEDIA) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) | |
305 | @COND_USE_GUI_1@ | |
306 | @COND_USE_GUI_1@ $(__test_gui___mac_setfilecmd) | |
307 | ||
308 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@test_gui.app/Contents/PkgInfo: $(__test_gui___depname) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns | |
309 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents | |
310 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/MacOS | |
311 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/Resources | |
312 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
313 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
314 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
315 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/test_gui/" \ | |
316 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \ | |
317 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >test_gui.app/Contents/Info.plist | |
318 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
319 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
320 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ echo -n "APPL????" >test_gui.app/Contents/PkgInfo | |
321 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
322 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
323 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f test_gui$(EXEEXT) test_gui.app/Contents/MacOS/test_gui | |
324 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
325 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ | |
326 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns test_gui.app/Contents/Resources/wxmac.icns | |
327 | ||
328 | @COND_PLATFORM_MACOSX_1_USE_GUI_1@test_gui_bundle: $(____test_gui_BUNDLE_TGT_REF_DEP) | |
329 | ||
330 | @COND_USE_PCH_1@./.pch/testprec_test_gui/testprec.h.gch: | |
331 | @COND_USE_PCH_1@ $(BK_MAKE_PCH) ./.pch/testprec_test_gui/testprec.h.gch testprec.h $(CXX) $(TEST_GUI_CXXFLAGS) | |
332 | ||
333 | data: | |
334 | @mkdir -p . | |
335 | @for f in testdata.fc; do \ | |
336 | if test ! -f ./$$f -a ! -d ./$$f ; \ | |
337 | then x=yep ; \ | |
338 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
339 | fi; \ | |
340 | case "$$x" in ?*) \ | |
341 | cp -pRf $(srcdir)/$$f . ;; \ | |
342 | esac; \ | |
343 | done | |
344 | ||
345 | fr: | |
346 | @mkdir -p ./intl/fr | |
347 | @for f in internat.po internat.mo; do \ | |
348 | if test ! -f ./intl/fr/$$f -a ! -d ./intl/fr/$$f ; \ | |
349 | then x=yep ; \ | |
350 | else x=`find $(srcdir)/intl/fr/$$f -newer ./intl/fr/$$f -print` ; \ | |
351 | fi; \ | |
352 | case "$$x" in ?*) \ | |
353 | cp -pRf $(srcdir)/intl/fr/$$f ./intl/fr ;; \ | |
354 | esac; \ | |
355 | done | |
356 | ||
357 | printfbench$(EXEEXT): $(PRINTFBENCH_OBJECTS) | |
358 | $(CXX) -o $@ $(PRINTFBENCH_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) | |
359 | ||
360 | $(__printfbench___mac_setfilecmd) | |
361 | ||
362 | @COND_USE_PCH_1@./.pch/testprec_printfbench/testprec.h.gch: | |
363 | @COND_USE_PCH_1@ $(BK_MAKE_PCH) ./.pch/testprec_printfbench/testprec.h.gch testprec.h $(CXX) $(PRINTFBENCH_CXXFLAGS) | |
364 | ||
365 | test_test.o: $(srcdir)/test.cpp $(TEST_ODEP) | |
366 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/test.cpp | |
367 | ||
368 | test_archivetest.o: $(srcdir)/archive/archivetest.cpp $(TEST_ODEP) | |
369 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/archivetest.cpp | |
370 | ||
371 | test_ziptest.o: $(srcdir)/archive/ziptest.cpp $(TEST_ODEP) | |
372 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/ziptest.cpp | |
373 | ||
374 | test_tartest.o: $(srcdir)/archive/tartest.cpp $(TEST_ODEP) | |
375 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/tartest.cpp | |
376 | ||
377 | test_arrays.o: $(srcdir)/arrays/arrays.cpp $(TEST_ODEP) | |
378 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/arrays/arrays.cpp | |
379 | ||
380 | test_base64.o: $(srcdir)/base64/base64.cpp $(TEST_ODEP) | |
381 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/base64/base64.cpp | |
382 | ||
383 | test_cmdlinetest.o: $(srcdir)/cmdline/cmdlinetest.cpp $(TEST_ODEP) | |
384 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/cmdline/cmdlinetest.cpp | |
385 | ||
386 | test_fileconf.o: $(srcdir)/config/fileconf.cpp $(TEST_ODEP) | |
387 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/config/fileconf.cpp | |
388 | ||
389 | test_datetimetest.o: $(srcdir)/datetime/datetimetest.cpp $(TEST_ODEP) | |
390 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/datetime/datetimetest.cpp | |
391 | ||
392 | test_evthandler.o: $(srcdir)/events/evthandler.cpp $(TEST_ODEP) | |
393 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/evthandler.cpp | |
394 | ||
395 | test_timertest.o: $(srcdir)/events/timertest.cpp $(TEST_ODEP) | |
396 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/timertest.cpp | |
397 | ||
398 | test_exec.o: $(srcdir)/exec/exec.cpp $(TEST_ODEP) | |
399 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/exec/exec.cpp | |
400 | ||
401 | test_filekind.o: $(srcdir)/filekind/filekind.cpp $(TEST_ODEP) | |
402 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filekind/filekind.cpp | |
403 | ||
404 | test_filenametest.o: $(srcdir)/filename/filenametest.cpp $(TEST_ODEP) | |
405 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filename/filenametest.cpp | |
406 | ||
407 | test_filesystest.o: $(srcdir)/filesys/filesystest.cpp $(TEST_ODEP) | |
408 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filesys/filesystest.cpp | |
409 | ||
410 | test_fontmaptest.o: $(srcdir)/fontmap/fontmaptest.cpp $(TEST_ODEP) | |
411 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/fontmap/fontmaptest.cpp | |
412 | ||
413 | test_formatconvertertest.o: $(srcdir)/formatconverter/formatconvertertest.cpp $(TEST_ODEP) | |
414 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/formatconverter/formatconvertertest.cpp | |
415 | ||
416 | test_hashes.o: $(srcdir)/hashes/hashes.cpp $(TEST_ODEP) | |
417 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/hashes/hashes.cpp | |
418 | ||
419 | test_intltest.o: $(srcdir)/intl/intltest.cpp $(TEST_ODEP) | |
420 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/intl/intltest.cpp | |
421 | ||
422 | test_lists.o: $(srcdir)/lists/lists.cpp $(TEST_ODEP) | |
423 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/lists/lists.cpp | |
424 | ||
425 | test_longlongtest.o: $(srcdir)/longlong/longlongtest.cpp $(TEST_ODEP) | |
426 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/longlong/longlongtest.cpp | |
427 | ||
428 | test_convautotest.o: $(srcdir)/mbconv/convautotest.cpp $(TEST_ODEP) | |
429 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/convautotest.cpp | |
430 | ||
431 | test_mbconvtest.o: $(srcdir)/mbconv/mbconvtest.cpp $(TEST_ODEP) | |
432 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/mbconvtest.cpp | |
433 | ||
434 | test_misctests.o: $(srcdir)/misc/misctests.cpp $(TEST_ODEP) | |
435 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/misctests.cpp | |
436 | ||
437 | test_ipc.o: $(srcdir)/net/ipc.cpp $(TEST_ODEP) | |
438 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/net/ipc.cpp | |
439 | ||
440 | test_socket.o: $(srcdir)/net/socket.cpp $(TEST_ODEP) | |
441 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/net/socket.cpp | |
442 | ||
443 | test_regextest.o: $(srcdir)/regex/regextest.cpp $(TEST_ODEP) | |
444 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/regextest.cpp | |
445 | ||
446 | test_wxregextest.o: $(srcdir)/regex/wxregextest.cpp $(TEST_ODEP) | |
447 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/wxregextest.cpp | |
448 | ||
449 | test_scopeguardtest.o: $(srcdir)/scopeguard/scopeguardtest.cpp $(TEST_ODEP) | |
450 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/scopeguard/scopeguardtest.cpp | |
451 | ||
452 | test_iostream.o: $(srcdir)/strings/iostream.cpp $(TEST_ODEP) | |
453 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/iostream.cpp | |
454 | ||
455 | test_strings.o: $(srcdir)/strings/strings.cpp $(TEST_ODEP) | |
456 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/strings.cpp | |
457 | ||
458 | test_stdstrings.o: $(srcdir)/strings/stdstrings.cpp $(TEST_ODEP) | |
459 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/stdstrings.cpp | |
460 | ||
461 | test_tokenizer.o: $(srcdir)/strings/tokenizer.cpp $(TEST_ODEP) | |
462 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/tokenizer.cpp | |
463 | ||
464 | test_unichar.o: $(srcdir)/strings/unichar.cpp $(TEST_ODEP) | |
465 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unichar.cpp | |
466 | ||
467 | test_unicode.o: $(srcdir)/strings/unicode.cpp $(TEST_ODEP) | |
468 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unicode.cpp | |
469 | ||
470 | test_vararg.o: $(srcdir)/strings/vararg.cpp $(TEST_ODEP) | |
471 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vararg.cpp | |
472 | ||
473 | test_crt.o: $(srcdir)/strings/crt.cpp $(TEST_ODEP) | |
474 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/crt.cpp | |
475 | ||
476 | test_vsnprintf.o: $(srcdir)/strings/vsnprintf.cpp $(TEST_ODEP) | |
477 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vsnprintf.cpp | |
478 | ||
479 | test_bstream.o: $(srcdir)/streams/bstream.cpp $(TEST_ODEP) | |
480 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/bstream.cpp | |
481 | ||
482 | test_datastreamtest.o: $(srcdir)/streams/datastreamtest.cpp $(TEST_ODEP) | |
483 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/datastreamtest.cpp | |
484 | ||
485 | test_ffilestream.o: $(srcdir)/streams/ffilestream.cpp $(TEST_ODEP) | |
486 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/ffilestream.cpp | |
487 | ||
488 | test_fileback.o: $(srcdir)/streams/fileback.cpp $(TEST_ODEP) | |
489 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/fileback.cpp | |
490 | ||
491 | test_filestream.o: $(srcdir)/streams/filestream.cpp $(TEST_ODEP) | |
492 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/filestream.cpp | |
493 | ||
494 | test_iostreams.o: $(srcdir)/streams/iostreams.cpp $(TEST_ODEP) | |
495 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/iostreams.cpp | |
496 | ||
497 | test_largefile.o: $(srcdir)/streams/largefile.cpp $(TEST_ODEP) | |
498 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/largefile.cpp | |
499 | ||
500 | test_memstream.o: $(srcdir)/streams/memstream.cpp $(TEST_ODEP) | |
501 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/memstream.cpp | |
502 | ||
503 | test_socketstream.o: $(srcdir)/streams/socketstream.cpp $(TEST_ODEP) | |
504 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/socketstream.cpp | |
505 | ||
506 | test_sstream.o: $(srcdir)/streams/sstream.cpp $(TEST_ODEP) | |
507 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/sstream.cpp | |
508 | ||
509 | test_stdstream.o: $(srcdir)/streams/stdstream.cpp $(TEST_ODEP) | |
510 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/stdstream.cpp | |
511 | ||
512 | test_tempfile.o: $(srcdir)/streams/tempfile.cpp $(TEST_ODEP) | |
513 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/tempfile.cpp | |
514 | ||
515 | test_textstreamtest.o: $(srcdir)/streams/textstreamtest.cpp $(TEST_ODEP) | |
516 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/textstreamtest.cpp | |
517 | ||
518 | test_zlibstream.o: $(srcdir)/streams/zlibstream.cpp $(TEST_ODEP) | |
519 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/zlibstream.cpp | |
520 | ||
521 | test_textfiletest.o: $(srcdir)/textfile/textfiletest.cpp $(TEST_ODEP) | |
522 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/textfile/textfiletest.cpp | |
523 | ||
524 | test_atomic.o: $(srcdir)/thread/atomic.cpp $(TEST_ODEP) | |
525 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/atomic.cpp | |
526 | ||
527 | test_queue.o: $(srcdir)/thread/queue.cpp $(TEST_ODEP) | |
528 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/queue.cpp | |
529 | ||
530 | test_tls.o: $(srcdir)/thread/tls.cpp $(TEST_ODEP) | |
531 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/tls.cpp | |
532 | ||
533 | test_uris.o: $(srcdir)/uris/uris.cpp $(TEST_ODEP) | |
534 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/uris/uris.cpp | |
535 | ||
536 | test_vectors.o: $(srcdir)/vectors/vectors.cpp $(TEST_ODEP) | |
537 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/vectors/vectors.cpp | |
538 | ||
539 | test_evtconnection.o: $(srcdir)/weakref/evtconnection.cpp $(TEST_ODEP) | |
540 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/evtconnection.cpp | |
541 | ||
542 | test_weakref.o: $(srcdir)/weakref/weakref.cpp $(TEST_ODEP) | |
543 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/weakref.cpp | |
544 | ||
545 | test_xlocale.o: $(srcdir)/xlocale/xlocale.cpp $(TEST_ODEP) | |
546 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xlocale/xlocale.cpp | |
547 | ||
548 | test_xmltest.o: $(srcdir)/xml/xmltest.cpp $(TEST_ODEP) | |
549 | $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xml/xmltest.cpp | |
550 | ||
551 | test_gui_sample_rc.o: $(srcdir)/../samples/sample.rc $(TEST_GUI_ODEP) | |
552 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) $(__EXCEPTIONS_DEFINE_p_5) $(__RTTI_DEFINE_p_5) $(__THREAD_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include | |
553 | ||
554 | test_gui_test.o: $(srcdir)/test.cpp $(TEST_GUI_ODEP) | |
555 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/test.cpp | |
556 | ||
557 | test_gui_rect.o: $(srcdir)/geometry/rect.cpp $(TEST_GUI_ODEP) | |
558 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/rect.cpp | |
559 | ||
560 | test_gui_size.o: $(srcdir)/geometry/size.cpp $(TEST_GUI_ODEP) | |
561 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/size.cpp | |
562 | ||
563 | test_gui_point.o: $(srcdir)/geometry/point.cpp $(TEST_GUI_ODEP) | |
564 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/point.cpp | |
565 | ||
566 | test_gui_measuring.o: $(srcdir)/graphics/measuring.cpp $(TEST_GUI_ODEP) | |
567 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/measuring.cpp | |
568 | ||
569 | test_gui_config.o: $(srcdir)/config/config.cpp $(TEST_GUI_ODEP) | |
570 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/config/config.cpp | |
571 | ||
572 | test_gui_comboboxtest.o: $(srcdir)/controls/comboboxtest.cpp $(TEST_GUI_ODEP) | |
573 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/comboboxtest.cpp | |
574 | ||
575 | test_gui_headerctrltest.o: $(srcdir)/controls/headerctrltest.cpp $(TEST_GUI_ODEP) | |
576 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/headerctrltest.cpp | |
577 | ||
578 | test_gui_listctrltest.o: $(srcdir)/controls/listctrltest.cpp $(TEST_GUI_ODEP) | |
579 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/listctrltest.cpp | |
580 | ||
581 | test_gui_textctrltest.o: $(srcdir)/controls/textctrltest.cpp $(TEST_GUI_ODEP) | |
582 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textctrltest.cpp | |
583 | ||
584 | test_gui_textentrytest.o: $(srcdir)/controls/textentrytest.cpp $(TEST_GUI_ODEP) | |
585 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textentrytest.cpp | |
586 | ||
587 | test_gui_treectrltest.o: $(srcdir)/controls/treectrltest.cpp $(TEST_GUI_ODEP) | |
588 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/treectrltest.cpp | |
589 | ||
590 | test_gui_clone.o: $(srcdir)/events/clone.cpp $(TEST_GUI_ODEP) | |
591 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/events/clone.cpp | |
592 | ||
593 | test_gui_propagation.o: $(srcdir)/events/propagation.cpp $(TEST_GUI_ODEP) | |
594 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/events/propagation.cpp | |
595 | ||
596 | test_gui_fonttest.o: $(srcdir)/font/fonttest.cpp $(TEST_GUI_ODEP) | |
597 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/font/fonttest.cpp | |
598 | ||
599 | test_gui_rawbmp.o: $(srcdir)/image/rawbmp.cpp $(TEST_GUI_ODEP) | |
600 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/image/rawbmp.cpp | |
601 | ||
602 | test_gui_htmlwindow.o: $(srcdir)/html/htmlwindow.cpp $(TEST_GUI_ODEP) | |
603 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/html/htmlwindow.cpp | |
604 | ||
605 | test_gui_guifuncs.o: $(srcdir)/misc/guifuncs.cpp $(TEST_GUI_ODEP) | |
606 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/guifuncs.cpp | |
607 | ||
608 | test_gui_selstoretest.o: $(srcdir)/misc/selstoretest.cpp $(TEST_GUI_ODEP) | |
609 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/selstoretest.cpp | |
610 | ||
611 | test_gui_garbage.o: $(srcdir)/misc/garbage.cpp $(TEST_GUI_ODEP) | |
612 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/garbage.cpp | |
613 | ||
614 | test_gui_settings.o: $(srcdir)/misc/settings.cpp $(TEST_GUI_ODEP) | |
615 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/settings.cpp | |
616 | ||
617 | test_gui_socket.o: $(srcdir)/net/socket.cpp $(TEST_GUI_ODEP) | |
618 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/net/socket.cpp | |
619 | ||
620 | test_gui_clientsize.o: $(srcdir)/window/clientsize.cpp $(TEST_GUI_ODEP) | |
621 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/clientsize.cpp | |
622 | ||
623 | test_gui_setsize.o: $(srcdir)/window/setsize.cpp $(TEST_GUI_ODEP) | |
624 | $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/setsize.cpp | |
625 | ||
626 | printfbench_printfbench.o: $(srcdir)/benchmarks/printfbench.cpp $(PRINTFBENCH_ODEP) | |
627 | $(CXXC) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(srcdir)/benchmarks/printfbench.cpp | |
628 | ||
629 | ||
630 | # notice the ugly hack with using CXXWARNINGS: we can't use CPPFLAGS as | |
631 | # currently the value in the makefile would be ignored if we did, but | |
632 | # warnings don't matter when we expect compilation to fail anyhow so we can | |
633 | # use this variable to enable the compilation of code which is supposed to | |
634 | # fail | |
635 | failtest: | |
636 | @$(RM) test_evthandler.o | |
637 | @for d in GLOBAL STATIC METHOD FUNCTOR NO_HANDLER DERIVED WRONG_CLASS; do \ | |
638 | if $(MAKE) CXXWARNINGS=-DTEST_INVALID_BIND_$$d test_evthandler.o 2>/dev/null; then \ | |
639 | echo "*** Compilation with TEST_INVALID_BIND_$$d unexpectedly succeeded.">&2; \ | |
640 | exit 1; \ | |
641 | fi; \ | |
642 | done; \ | |
643 | exit 0 | |
644 | ||
645 | .PHONY: failtest | |
646 | ||
647 | # Include dependency info, if present: | |
648 | @IF_GNU_MAKE@-include ./.deps/*.d | |
649 | ||
650 | .PHONY: all install uninstall clean distclean test_gui_bundle data fr |