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