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