]> git.saurik.com Git - wxWidgets.git/blame - tests/Makefile.in
Don't consider extra ".." an error in wxFileName::Normalize().
[wxWidgets.git] / tests / Makefile.in
CommitLineData
670ec357
VS
1# =========================================================================
2# This makefile was generated by
a7ebaf0d 3# Bakefile 0.2.8 (http://www.bakefile.org)
670ec357
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
6e0fbb3d 12datarootdir = @datarootdir@
670ec357
VS
13INSTALL = @INSTALL@
14EXEEXT = @EXEEXT@
cf9b63b3 15WINDRES = @WINDRES@
670ec357 16SETFILE = @SETFILE@
72a7c559 17ICC_PCH_USE_SWITCH = @ICC_PCH_USE_SWITCH@
69199aad
VZ
18BK_DEPS = @BK_DEPS@
19BK_MAKE_PCH = @BK_MAKE_PCH@
670ec357
VS
20srcdir = @srcdir@
21top_srcdir = @top_srcdir@
69199aad 22LIBS = @LIBS@
670ec357
VS
23CXX = @CXX@
24CXXFLAGS = @CXXFLAGS@
25CPPFLAGS = @CPPFLAGS@
26LDFLAGS = @LDFLAGS@
589e20d0 27WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
670ec357
VS
28CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
29CPPUNIT_LIBS = @CPPUNIT_LIBS@
30TOOLKIT = @TOOLKIT@
31TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
32TOOLKIT_VERSION = @TOOLKIT_VERSION@
8ced02f6 33TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
670ec357 34EXTRALIBS = @EXTRALIBS@
5e05df3c 35EXTRALIBS_XML = @EXTRALIBS_XML@
c39058f6 36EXTRALIBS_HTML = @EXTRALIBS_HTML@
9e48b1f5 37EXTRALIBS_MEDIA = @EXTRALIBS_MEDIA@
0e3165d7 38EXTRALIBS_GUI = @EXTRALIBS_GUI@
9e48b1f5 39EXTRALIBS_SDL = @EXTRALIBS_SDL@
173f3c03 40CXXWARNINGS = @CXXWARNINGS@
670ec357
VS
41HOST_SUFFIX = @HOST_SUFFIX@
42SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
69199aad 43wx_top_builddir = @wx_top_builddir@
670ec357
VS
44
45### Variables: ###
46
47DESTDIR =
ae4ccf12 48WX_RELEASE = 2.9
232fdc63 49WX_VERSION = $(WX_RELEASE).2
69199aad 50LIBDIRNAME = $(wx_top_builddir)/lib
8899b155 51TEST_CXXFLAGS = $(__test_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
d12d9eda
VZ
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)
670ec357
VS
55TEST_OBJECTS = \
56 test_test.o \
178c7760 57 test_anytest.o \
17a7bf57 58 test_archivetest.o \
e6477b92 59 test_ziptest.o \
cdd7933f 60 test_tartest.o \
dd65d8c8 61 test_arrays.o \
a8098f86 62 test_base64.o \
5769cf0f 63 test_cmdlinetest.o \
9222c613 64 test_fileconf.o \
7b8ccf33 65 test_regconf.o \
113e181a 66 test_datetimetest.o \
4fc218c2 67 test_evthandler.o \
6b8ef0b3 68 test_evtsource.o \
45cb7053 69 test_stopwatch.o \
438febca 70 test_timertest.o \
ca5016d4 71 test_exec.o \
e7747eb2 72 test_dir.o \
69fc8587 73 test_filefn.o \
227989f3 74 test_filetest.o \
0912690b 75 test_filekind.o \
113e181a
RN
76 test_filenametest.o \
77 test_filesystest.o \
78 test_fontmaptest.o \
79 test_formatconvertertest.o \
6b8ef0b3 80 test_fswatchertest.o \
f9c3d39b 81 test_hashes.o \
81ec0e15
FM
82 test_output.o \
83 test_input.o \
02f935fb 84 test_intltest.o \
7d9cfc54 85 test_lists.o \
ece5e6a4 86 test_logtest.o \
113e181a 87 test_longlongtest.o \
d31a29b5 88 test_convautotest.o \
113e181a 89 test_mbconvtest.o \
69fc8587
FM
90 test_dynamiclib.o \
91 test_environ.o \
109e2ca4 92 test_metatest.o \
604fba2d 93 test_misctests.o \
49e323a5
FM
94 test_module.o \
95 test_pathlist.o \
7db064f6 96 test_typeinfotest.o \
e7ce668e 97 test_ipc.o \
62fb86a5 98 test_socket.o \
113e181a
RN
99 test_regextest.o \
100 test_wxregextest.o \
3c589493 101 test_scopeguardtest.o \
99d8bc65 102 test_iostream.o \
1cd53e88 103 test_strings.o \
405b7d91 104 test_stdstrings.o \
20a34d96 105 test_tokenizer.o \
c9f78968 106 test_unichar.o \
387f829e 107 test_unicode.o \
c9f78968 108 test_vararg.o \
cf8ee08b 109 test_crt.o \
3b2cb431 110 test_vsnprintf.o \
7735998c 111 test_bstream.o \
7d9cfc54 112 test_datastreamtest.o \
7735998c 113 test_ffilestream.o \
e2255c89 114 test_fileback.o \
7735998c 115 test_filestream.o \
1530fc09 116 test_iostreams.o \
cb327439 117 test_largefile.o \
7735998c 118 test_memstream.o \
f9caf1af 119 test_socketstream.o \
ceec2216 120 test_sstream.o \
72a7c559 121 test_stdstream.o \
e1265174 122 test_tempfile.o \
8899b155 123 test_textstreamtest.o \
816b59de 124 test_zlibstream.o \
fb86a4bb 125 test_textfiletest.o \
173f3c03 126 test_atomic.o \
1f5496a0 127 test_misc.o \
6aaee6af 128 test_queue.o \
8b73c531 129 test_tls.o \
ec0e0939 130 test_ftp.o \
e966f815 131 test_uris.o \
21fe35af 132 test_url.o \
6490a288
VZ
133 test_vectors.o \
134 test_evtconnection.o \
6e4ae332 135 test_weakref.o \
5e05df3c
VS
136 test_xlocale.o \
137 test_xmltest.o
8ece421c 138TEST_ODEP = $(_____pch_testprec_test_testprec_h_gch___depname)
a0744a6b 139TEST_GUI_CXXFLAGS = $(__test_gui_PCH_INC) -D__WX$(TOOLKIT)__ \
d12d9eda
VZ
140 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
141 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) \
142 -I$(srcdir)/../samples $(CPPUNIT_CFLAGS) $(CXXWARNINGS) $(CPPFLAGS) \
143 $(CXXFLAGS)
a0744a6b
VS
144TEST_GUI_OBJECTS = \
145 $(__test_gui___win32rc) \
146 $(__test_gui_os2_lib_res) \
232fdc63 147 test_gui_asserthelper.o \
98a50e20 148 test_gui_test.o \
232fdc63 149 test_gui_testableframe.o \
d3c073a2
DE
150 test_gui_rect.o \
151 test_gui_size.o \
9222c613 152 test_gui_point.o \
27297c82 153 test_gui_bitmap.o \
b0edecea 154 test_gui_colour.o \
a37da0fa 155 test_gui_ellipsization.o \
b3710b10 156 test_gui_measuring.o \
c0d9b217 157 test_gui_config.o \
232fdc63
VZ
158 test_gui_bitmapcomboboxtest.o \
159 test_gui_bitmaptogglebuttontest.o \
160 test_gui_bookctrlbasetest.o \
161 test_gui_buttontest.o \
162 test_gui_checkboxtest.o \
163 test_gui_checklistboxtest.o \
164 test_gui_choicebooktest.o \
165 test_gui_choicetest.o \
dc7f9c9c 166 test_gui_comboboxtest.o \
232fdc63
VZ
167 test_gui_frametest.o \
168 test_gui_gaugetest.o \
169 test_gui_gridtest.o \
56873923 170 test_gui_headerctrltest.o \
232fdc63
VZ
171 test_gui_hyperlinkctrltest.o \
172 test_gui_itemcontainertest.o \
32ee98eb 173 test_gui_label.o \
232fdc63
VZ
174 test_gui_listbasetest.o \
175 test_gui_listbooktest.o \
176 test_gui_listboxtest.o \
56873923 177 test_gui_listctrltest.o \
232fdc63
VZ
178 test_gui_listviewtest.o \
179 test_gui_notebooktest.o \
180 test_gui_pickerbasetest.o \
181 test_gui_pickertest.o \
182 test_gui_radioboxtest.o \
183 test_gui_radiobuttontest.o \
184 test_gui_rearrangelisttest.o \
185 test_gui_richtextctrltest.o \
186 test_gui_slidertest.o \
187 test_gui_spinctrldbltest.o \
188 test_gui_spinctrltest.o \
c8f80d27 189 test_gui_textctrltest.o \
f0f6a32d 190 test_gui_textentrytest.o \
232fdc63
VZ
191 test_gui_togglebuttontest.o \
192 test_gui_toolbooktest.o \
193 test_gui_treebooktest.o \
fa97ee24 194 test_gui_treectrltest.o \
681694bc 195 test_gui_virtlistctrltest.o \
232fdc63 196 test_gui_windowtest.o \
031b101f 197 test_gui_clone.o \
1649d288 198 test_gui_propagation.o \
042ddf5d 199 test_gui_keyboard.o \
5b06a80f 200 test_gui_fonttest.o \
21fe35af 201 test_gui_image.o \
3e50a139 202 test_gui_rawbmp.o \
c39058f6 203 test_gui_htmlwindow.o \
65571ec7 204 test_gui_menu.o \
841a25bb 205 test_gui_guifuncs.o \
1a86d2e5 206 test_gui_selstoretest.o \
9e48b1f5 207 test_gui_garbage.o \
e3527f7b 208 test_gui_settings.o \
1156062f 209 test_gui_socket.o \
869c7a94 210 test_gui_boxsizer.o \
5af86f4d 211 test_gui_clientsize.o \
0526c8cc
VZ
212 test_gui_setsize.o \
213 test_gui_xrctest.o
8ece421c 214TEST_GUI_ODEP = $(_____pch_testprec_test_gui_testprec_h_gch___depname)
670ec357
VS
215
216### Conditionally set variables: ###
217
218@COND_DEPS_TRACKING_0@CXXC = $(CXX)
69199aad 219@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
9e48b1f5 220@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
670ec357
VS
221@COND_USE_GUI_0@PORTNAME = base
222@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
223@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
d12d9eda 224@COND_BUILD_debug@WXDEBUGFLAG = d
670ec357
VS
225@COND_UNICODE_1@WXUNICODEFLAG = u
226@COND_WXUNIV_1@WXUNIVNAME = univ
0e3165d7
DE
227@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
228@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
a0744a6b
VS
229@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
230@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
6e0fbb3d 231@COND_PLATFORM_MAC_0@__test___mac_setfilecmd = @true
670ec357
VS
232@COND_PLATFORM_MAC_1@__test___mac_setfilecmd = \
233@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test$(EXEEXT)
8ece421c 234@COND_GCC_PCH_1@__test_PCH_INC = -I./.pch/testprec_test
72a7c559 235@COND_ICC_PCH_1@__test_PCH_INC = $(ICC_PCH_USE_SWITCH) \
8ece421c
VZ
236@COND_ICC_PCH_1@ ./.pch/testprec_test/testprec.h.gch
237@COND_USE_PCH_1@_____pch_testprec_test_testprec_h_gch___depname \
238@COND_USE_PCH_1@ = ./.pch/testprec_test/testprec.h.gch
a0744a6b 239@COND_USE_GUI_1@__test_gui___depname = test_gui$(EXEEXT)
6e0fbb3d 240@COND_PLATFORM_MAC_0@__test_gui___mac_setfilecmd = @true
a0744a6b 241@COND_PLATFORM_MAC_1@__test_gui___mac_setfilecmd = \
8b73c531 242@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test_gui$(EXEEXT)
a0744a6b 243@COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
d12d9eda 244@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_5 = --define wxDEBUG_LEVEL=0
8c9f8f91 245@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_5 = --define wxNO_EXCEPTIONS
8c9f8f91 246@COND_USE_RTTI_0@__RTTI_DEFINE_p_5 = --define wxNO_RTTI
8c9f8f91 247@COND_USE_THREADS_0@__THREAD_DEFINE_p_5 = --define wxNO_THREADS
a0744a6b 248@COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
8ced02f6
DE
249@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
250@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
a0744a6b
VS
251@COND_PLATFORM_WIN32_1@__test_gui___win32rc = test_gui_sample_rc.o
252@COND_PLATFORM_OS2_1@__test_gui_os2_lib_res = \
253@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
e8352927
VS
254@COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_app_Contents_PkgInfo___depname \
255@COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui.app/Contents/PkgInfo
256@COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_bundle___depname \
257@COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui_bundle
a0744a6b 258@COND_TOOLKIT_MAC@____test_gui_BUNDLE_TGT_REF_DEP = \
e8352927 259@COND_TOOLKIT_MAC@ $(__test_gui_app_Contents_PkgInfo___depname)
f0f6a32d
VZ
260@COND_TOOLKIT_OSX_CARBON@____test_gui_BUNDLE_TGT_REF_DEP \
261@COND_TOOLKIT_OSX_CARBON@ = $(__test_gui_app_Contents_PkgInfo___depname)
262@COND_TOOLKIT_OSX_COCOA@____test_gui_BUNDLE_TGT_REF_DEP \
263@COND_TOOLKIT_OSX_COCOA@ = $(__test_gui_app_Contents_PkgInfo___depname)
264@COND_TOOLKIT_OSX_IPHONE@____test_gui_BUNDLE_TGT_REF_DEP \
265@COND_TOOLKIT_OSX_IPHONE@ = $(__test_gui_app_Contents_PkgInfo___depname)
266@COND_TOOLKIT_COCOA@____test_gui_BUNDLE_TGT_REF_DEP = \
267@COND_TOOLKIT_COCOA@ $(__test_gui_app_Contents_PkgInfo___depname)
8ece421c 268@COND_GCC_PCH_1@__test_gui_PCH_INC = -I./.pch/testprec_test_gui
72a7c559 269@COND_ICC_PCH_1@__test_gui_PCH_INC = $(ICC_PCH_USE_SWITCH) \
8ece421c
VZ
270@COND_ICC_PCH_1@ ./.pch/testprec_test_gui/testprec.h.gch
271@COND_USE_PCH_1@_____pch_testprec_test_gui_testprec_h_gch___depname \
272@COND_USE_PCH_1@ = ./.pch/testprec_test_gui/testprec.h.gch
232fdc63
VZ
273COND_MONOLITHIC_0___WXLIB_RICHTEXT_p = \
274 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext-$(WX_RELEASE)$(HOST_SUFFIX)
275@COND_MONOLITHIC_0@__WXLIB_RICHTEXT_p = $(COND_MONOLITHIC_0___WXLIB_RICHTEXT_p)
9e48b1f5
FM
276COND_MONOLITHIC_0_USE_MEDIA_1___WXLIB_MEDIA_p = \
277 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media-$(WX_RELEASE)$(HOST_SUFFIX)
278@COND_MONOLITHIC_0_USE_MEDIA_1@__WXLIB_MEDIA_p = $(COND_MONOLITHIC_0_USE_MEDIA_1___WXLIB_MEDIA_p)
279COND_MONOLITHIC_0___WXLIB_XRC_p = \
280 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc-$(WX_RELEASE)$(HOST_SUFFIX)
281@COND_MONOLITHIC_0@__WXLIB_XRC_p = $(COND_MONOLITHIC_0___WXLIB_XRC_p)
282COND_MONOLITHIC_0___WXLIB_ADV_p = \
283 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX)
284@COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
c39058f6
VS
285COND_MONOLITHIC_0___WXLIB_HTML_p = \
286 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
287@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
a0744a6b
VS
288COND_MONOLITHIC_0___WXLIB_CORE_p = \
289 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
290@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
8ece421c
VZ
291@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
292@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
293@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
294@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
295@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
296@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
297@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
298@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
299@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
7b4138e2 300@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
d12d9eda 301@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
7b4138e2
FM
302@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
303@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
304@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
305@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
1156062f
VZ
306COND_MONOLITHIC_0___WXLIB_NET_p = \
307 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
308@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
9e48b1f5
FM
309COND_MONOLITHIC_0___WXLIB_XML_p = \
310 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX)
311@COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p)
ceec2216 312COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 313 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 314@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
670ec357 315COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 316 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
670ec357 317@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
8ece421c
VZ
318@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
319@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
320COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
ceec2216 321 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
8ece421c
VZ
322@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
323@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
324@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
670ec357
VS
325
326### Targets: ###
327
7b4138e2 328all: test$(EXEEXT) $(__test_gui___depname) $(__test_gui_bundle___depname) data fr
670ec357 329
8ece421c 330install:
670ec357
VS
331
332uninstall:
333
334install-strip: install
335
336clean:
337 rm -rf ./.deps ./.pch
338 rm -f ./*.o
339 rm -f test$(EXEEXT)
a0744a6b
VS
340 rm -f test_gui$(EXEEXT)
341 rm -rf test_gui.app
670ec357
VS
342
343distclean: clean
cb327439 344 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
670ec357
VS
345
346test$(EXEEXT): $(TEST_OBJECTS)
7b4138e2 347 $(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)
670ec357 348
d3c073a2 349 $(__test___mac_setfilecmd)
670ec357 350
8ece421c
VZ
351@COND_USE_PCH_1@./.pch/testprec_test/testprec.h.gch:
352@COND_USE_PCH_1@ $(BK_MAKE_PCH) ./.pch/testprec_test/testprec.h.gch testprec.h $(CXX) $(TEST_CXXFLAGS)
8899b155 353
a0744a6b 354@COND_USE_GUI_1@test_gui$(EXEEXT): $(TEST_GUI_OBJECTS) $(__test_gui___win32rc)
232fdc63 355@COND_USE_GUI_1@ $(CXX) -o $@ $(TEST_GUI_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LDFLAGS) $(__WXLIB_RICHTEXT_p) $(__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)
8b73c531 356@COND_USE_GUI_1@
d3c073a2 357@COND_USE_GUI_1@ $(__test_gui___mac_setfilecmd)
a0744a6b 358
4eba7d7d 359@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
e8352927
VS
360@COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents
361@COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/MacOS
362@COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/Resources
363@COND_PLATFORM_MACOSX_1_USE_GUI_1@
364@COND_PLATFORM_MACOSX_1_USE_GUI_1@
365@COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
366@COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/test_gui/" \
367@COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \
4eba7d7d 368@COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >test_gui.app/Contents/Info.plist
e8352927
VS
369@COND_PLATFORM_MACOSX_1_USE_GUI_1@
370@COND_PLATFORM_MACOSX_1_USE_GUI_1@
371@COND_PLATFORM_MACOSX_1_USE_GUI_1@ echo -n "APPL????" >test_gui.app/Contents/PkgInfo
372@COND_PLATFORM_MACOSX_1_USE_GUI_1@
373@COND_PLATFORM_MACOSX_1_USE_GUI_1@
23513e07 374@COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f test_gui$(EXEEXT) test_gui.app/Contents/MacOS/test_gui
e8352927
VS
375@COND_PLATFORM_MACOSX_1_USE_GUI_1@
376@COND_PLATFORM_MACOSX_1_USE_GUI_1@
4eba7d7d 377@COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns test_gui.app/Contents/Resources/wxmac.icns
a0744a6b 378
e8352927 379@COND_PLATFORM_MACOSX_1_USE_GUI_1@test_gui_bundle: $(____test_gui_BUNDLE_TGT_REF_DEP)
a0744a6b 380
8ece421c
VZ
381@COND_USE_PCH_1@./.pch/testprec_test_gui/testprec.h.gch:
382@COND_USE_PCH_1@ $(BK_MAKE_PCH) ./.pch/testprec_test_gui/testprec.h.gch testprec.h $(CXX) $(TEST_GUI_CXXFLAGS)
a0744a6b 383
387f829e
VS
384data:
385 @mkdir -p .
21fe35af 386 @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 \
0d90d6ea 387 if test ! -f ./$$f -a ! -d ./$$f ; \
cb327439
MW
388 then x=yep ; \
389 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
387f829e 390 fi; \
cb327439
MW
391 case "$$x" in ?*) \
392 cp -pRf $(srcdir)/$$f . ;; \
393 esac; \
387f829e
VS
394 done
395
02f935fb
VS
396fr:
397 @mkdir -p ./intl/fr
398 @for f in internat.po internat.mo; do \
399 if test ! -f ./intl/fr/$$f -a ! -d ./intl/fr/$$f ; \
400 then x=yep ; \
401 else x=`find $(srcdir)/intl/fr/$$f -newer ./intl/fr/$$f -print` ; \
402 fi; \
403 case "$$x" in ?*) \
404 cp -pRf $(srcdir)/intl/fr/$$f ./intl/fr ;; \
405 esac; \
406 done
407
8899b155 408test_test.o: $(srcdir)/test.cpp $(TEST_ODEP)
cb327439 409 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/test.cpp
8899b155 410
178c7760
JS
411test_anytest.o: $(srcdir)/any/anytest.cpp $(TEST_ODEP)
412 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/any/anytest.cpp
413
8899b155 414test_archivetest.o: $(srcdir)/archive/archivetest.cpp $(TEST_ODEP)
cb327439 415 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/archivetest.cpp
670ec357 416
e6477b92
MW
417test_ziptest.o: $(srcdir)/archive/ziptest.cpp $(TEST_ODEP)
418 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/ziptest.cpp
419
cdd7933f
MW
420test_tartest.o: $(srcdir)/archive/tartest.cpp $(TEST_ODEP)
421 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/tartest.cpp
422
8899b155 423test_arrays.o: $(srcdir)/arrays/arrays.cpp $(TEST_ODEP)
cb327439 424 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/arrays/arrays.cpp
17a7bf57 425
a8098f86
VZ
426test_base64.o: $(srcdir)/base64/base64.cpp $(TEST_ODEP)
427 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/base64/base64.cpp
428
5769cf0f
VZ
429test_cmdlinetest.o: $(srcdir)/cmdline/cmdlinetest.cpp $(TEST_ODEP)
430 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/cmdline/cmdlinetest.cpp
431
9222c613
VZ
432test_fileconf.o: $(srcdir)/config/fileconf.cpp $(TEST_ODEP)
433 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/config/fileconf.cpp
434
7b8ccf33
FM
435test_regconf.o: $(srcdir)/config/regconf.cpp $(TEST_ODEP)
436 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/config/regconf.cpp
437
8899b155 438test_datetimetest.o: $(srcdir)/datetime/datetimetest.cpp $(TEST_ODEP)
cb327439 439 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/datetime/datetimetest.cpp
e70833fb 440
4fc218c2
VZ
441test_evthandler.o: $(srcdir)/events/evthandler.cpp $(TEST_ODEP)
442 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/evthandler.cpp
443
6b8ef0b3
VZ
444test_evtsource.o: $(srcdir)/events/evtsource.cpp $(TEST_ODEP)
445 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/evtsource.cpp
446
45cb7053
FM
447test_stopwatch.o: $(srcdir)/events/stopwatch.cpp $(TEST_ODEP)
448 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/stopwatch.cpp
449
438febca
VZ
450test_timertest.o: $(srcdir)/events/timertest.cpp $(TEST_ODEP)
451 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/events/timertest.cpp
452
ca5016d4
FM
453test_exec.o: $(srcdir)/exec/exec.cpp $(TEST_ODEP)
454 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/exec/exec.cpp
455
e7747eb2
FM
456test_dir.o: $(srcdir)/file/dir.cpp $(TEST_ODEP)
457 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/file/dir.cpp
458
69fc8587
FM
459test_filefn.o: $(srcdir)/file/filefn.cpp $(TEST_ODEP)
460 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/file/filefn.cpp
461
227989f3
VZ
462test_filetest.o: $(srcdir)/file/filetest.cpp $(TEST_ODEP)
463 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/file/filetest.cpp
464
0912690b
MW
465test_filekind.o: $(srcdir)/filekind/filekind.cpp $(TEST_ODEP)
466 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filekind/filekind.cpp
467
8899b155 468test_filenametest.o: $(srcdir)/filename/filenametest.cpp $(TEST_ODEP)
cb327439 469 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filename/filenametest.cpp
ab921f5f 470
8899b155 471test_filesystest.o: $(srcdir)/filesys/filesystest.cpp $(TEST_ODEP)
cb327439 472 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filesys/filesystest.cpp
3fa86423 473
8899b155 474test_fontmaptest.o: $(srcdir)/fontmap/fontmaptest.cpp $(TEST_ODEP)
cb327439 475 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/fontmap/fontmaptest.cpp
4827cbd9 476
8899b155 477test_formatconvertertest.o: $(srcdir)/formatconverter/formatconvertertest.cpp $(TEST_ODEP)
cb327439 478 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/formatconverter/formatconvertertest.cpp
dd65d8c8 479
6b8ef0b3
VZ
480test_fswatchertest.o: $(srcdir)/fswatcher/fswatchertest.cpp $(TEST_ODEP)
481 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/fswatcher/fswatchertest.cpp
482
8899b155 483test_hashes.o: $(srcdir)/hashes/hashes.cpp $(TEST_ODEP)
cb327439 484 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/hashes/hashes.cpp
cf1014a2 485
81ec0e15
FM
486test_output.o: $(srcdir)/interactive/output.cpp $(TEST_ODEP)
487 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/interactive/output.cpp
488
489test_input.o: $(srcdir)/interactive/input.cpp $(TEST_ODEP)
490 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/interactive/input.cpp
491
02f935fb
VS
492test_intltest.o: $(srcdir)/intl/intltest.cpp $(TEST_ODEP)
493 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/intl/intltest.cpp
494
7d9cfc54 495test_lists.o: $(srcdir)/lists/lists.cpp $(TEST_ODEP)
cb327439 496 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/lists/lists.cpp
7d9cfc54 497
ece5e6a4
VZ
498test_logtest.o: $(srcdir)/log/logtest.cpp $(TEST_ODEP)
499 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/log/logtest.cpp
500
8899b155 501test_longlongtest.o: $(srcdir)/longlong/longlongtest.cpp $(TEST_ODEP)
cb327439 502 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/longlong/longlongtest.cpp
f9c3d39b 503
d31a29b5
VZ
504test_convautotest.o: $(srcdir)/mbconv/convautotest.cpp $(TEST_ODEP)
505 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/convautotest.cpp
506
8899b155 507test_mbconvtest.o: $(srcdir)/mbconv/mbconvtest.cpp $(TEST_ODEP)
cb327439 508 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/mbconvtest.cpp
1b035b8c 509
69fc8587
FM
510test_dynamiclib.o: $(srcdir)/misc/dynamiclib.cpp $(TEST_ODEP)
511 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/dynamiclib.cpp
512
513test_environ.o: $(srcdir)/misc/environ.cpp $(TEST_ODEP)
514 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/environ.cpp
515
109e2ca4
JS
516test_metatest.o: $(srcdir)/misc/metatest.cpp $(TEST_ODEP)
517 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/metatest.cpp
518
604fba2d
VZ
519test_misctests.o: $(srcdir)/misc/misctests.cpp $(TEST_ODEP)
520 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/misctests.cpp
521
49e323a5
FM
522test_module.o: $(srcdir)/misc/module.cpp $(TEST_ODEP)
523 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/module.cpp
524
525test_pathlist.o: $(srcdir)/misc/pathlist.cpp $(TEST_ODEP)
526 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/pathlist.cpp
527
7db064f6
JS
528test_typeinfotest.o: $(srcdir)/misc/typeinfotest.cpp $(TEST_ODEP)
529 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/typeinfotest.cpp
530
e7ce668e
VZ
531test_ipc.o: $(srcdir)/net/ipc.cpp $(TEST_ODEP)
532 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/net/ipc.cpp
533
62fb86a5
VZ
534test_socket.o: $(srcdir)/net/socket.cpp $(TEST_ODEP)
535 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/net/socket.cpp
536
8899b155 537test_regextest.o: $(srcdir)/regex/regextest.cpp $(TEST_ODEP)
cb327439 538 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/regextest.cpp
dd65d8c8 539
8899b155 540test_wxregextest.o: $(srcdir)/regex/wxregextest.cpp $(TEST_ODEP)
cb327439 541 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/wxregextest.cpp
dd65d8c8 542
3c589493
VZ
543test_scopeguardtest.o: $(srcdir)/scopeguard/scopeguardtest.cpp $(TEST_ODEP)
544 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/scopeguard/scopeguardtest.cpp
545
1530fc09
VZ
546test_iostream.o: $(srcdir)/strings/iostream.cpp $(TEST_ODEP)
547 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/iostream.cpp
548
8899b155 549test_strings.o: $(srcdir)/strings/strings.cpp $(TEST_ODEP)
cb327439 550 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/strings.cpp
dd65d8c8 551
8899b155 552test_stdstrings.o: $(srcdir)/strings/stdstrings.cpp $(TEST_ODEP)
cb327439 553 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/stdstrings.cpp
1cd53e88 554
20a34d96
VZ
555test_tokenizer.o: $(srcdir)/strings/tokenizer.cpp $(TEST_ODEP)
556 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/tokenizer.cpp
557
c9f78968
VS
558test_unichar.o: $(srcdir)/strings/unichar.cpp $(TEST_ODEP)
559 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unichar.cpp
560
8899b155 561test_unicode.o: $(srcdir)/strings/unicode.cpp $(TEST_ODEP)
cb327439 562 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unicode.cpp
405b7d91 563
c9f78968
VS
564test_vararg.o: $(srcdir)/strings/vararg.cpp $(TEST_ODEP)
565 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vararg.cpp
566
8899b155 567test_crt.o: $(srcdir)/strings/crt.cpp $(TEST_ODEP)
cb327439 568 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/crt.cpp
387f829e 569
3b2cb431
JS
570test_vsnprintf.o: $(srcdir)/strings/vsnprintf.cpp $(TEST_ODEP)
571 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vsnprintf.cpp
572
8899b155 573test_bstream.o: $(srcdir)/streams/bstream.cpp $(TEST_ODEP)
cb327439 574 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/bstream.cpp
cf8ee08b 575
7d9cfc54 576test_datastreamtest.o: $(srcdir)/streams/datastreamtest.cpp $(TEST_ODEP)
cb327439 577 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/datastreamtest.cpp
7d9cfc54 578
8899b155 579test_ffilestream.o: $(srcdir)/streams/ffilestream.cpp $(TEST_ODEP)
cb327439 580 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/ffilestream.cpp
7735998c 581
e2255c89
MW
582test_fileback.o: $(srcdir)/streams/fileback.cpp $(TEST_ODEP)
583 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/fileback.cpp
584
8899b155 585test_filestream.o: $(srcdir)/streams/filestream.cpp $(TEST_ODEP)
cb327439
MW
586 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/filestream.cpp
587
1530fc09
VZ
588test_iostreams.o: $(srcdir)/streams/iostreams.cpp $(TEST_ODEP)
589 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/iostreams.cpp
590
cb327439
MW
591test_largefile.o: $(srcdir)/streams/largefile.cpp $(TEST_ODEP)
592 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/largefile.cpp
7735998c 593
8899b155 594test_memstream.o: $(srcdir)/streams/memstream.cpp $(TEST_ODEP)
cb327439 595 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/memstream.cpp
7735998c 596
f9caf1af
VZ
597test_socketstream.o: $(srcdir)/streams/socketstream.cpp $(TEST_ODEP)
598 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/socketstream.cpp
599
8899b155 600test_sstream.o: $(srcdir)/streams/sstream.cpp $(TEST_ODEP)
cb327439 601 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/sstream.cpp
7735998c 602
72a7c559
VZ
603test_stdstream.o: $(srcdir)/streams/stdstream.cpp $(TEST_ODEP)
604 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/stdstream.cpp
605
e1265174
MW
606test_tempfile.o: $(srcdir)/streams/tempfile.cpp $(TEST_ODEP)
607 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/tempfile.cpp
608
8899b155 609test_textstreamtest.o: $(srcdir)/streams/textstreamtest.cpp $(TEST_ODEP)
cb327439 610 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/textstreamtest.cpp
ceec2216 611
8899b155 612test_zlibstream.o: $(srcdir)/streams/zlibstream.cpp $(TEST_ODEP)
cb327439 613 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/zlibstream.cpp
7735998c 614
fb86a4bb
VZ
615test_textfiletest.o: $(srcdir)/textfile/textfiletest.cpp $(TEST_ODEP)
616 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/textfile/textfiletest.cpp
617
173f3c03
VZ
618test_atomic.o: $(srcdir)/thread/atomic.cpp $(TEST_ODEP)
619 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/atomic.cpp
620
1f5496a0
FM
621test_misc.o: $(srcdir)/thread/misc.cpp $(TEST_ODEP)
622 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/misc.cpp
623
6aaee6af
VZ
624test_queue.o: $(srcdir)/thread/queue.cpp $(TEST_ODEP)
625 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/queue.cpp
626
8b73c531
VZ
627test_tls.o: $(srcdir)/thread/tls.cpp $(TEST_ODEP)
628 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/tls.cpp
629
ec0e0939
FM
630test_ftp.o: $(srcdir)/uris/ftp.cpp $(TEST_ODEP)
631 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/uris/ftp.cpp
632
8899b155 633test_uris.o: $(srcdir)/uris/uris.cpp $(TEST_ODEP)
cb327439 634 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/uris/uris.cpp
edcccd84 635
21fe35af
FM
636test_url.o: $(srcdir)/uris/url.cpp $(TEST_ODEP)
637 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/uris/url.cpp
638
e966f815
VS
639test_vectors.o: $(srcdir)/vectors/vectors.cpp $(TEST_ODEP)
640 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/vectors/vectors.cpp
641
6490a288
VZ
642test_evtconnection.o: $(srcdir)/weakref/evtconnection.cpp $(TEST_ODEP)
643 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/evtconnection.cpp
644
645test_weakref.o: $(srcdir)/weakref/weakref.cpp $(TEST_ODEP)
646 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/weakref.cpp
647
6e4ae332
VZ
648test_xlocale.o: $(srcdir)/xlocale/xlocale.cpp $(TEST_ODEP)
649 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xlocale/xlocale.cpp
650
5e05df3c
VS
651test_xmltest.o: $(srcdir)/xml/xmltest.cpp $(TEST_ODEP)
652 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xml/xmltest.cpp
653
0d90d6ea 654test_gui_sample_rc.o: $(srcdir)/../samples/sample.rc $(TEST_GUI_ODEP)
da8b1d4b 655 $(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
a0744a6b 656
232fdc63
VZ
657test_gui_asserthelper.o: $(srcdir)/asserthelper.cpp $(TEST_GUI_ODEP)
658 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/asserthelper.cpp
659
a0744a6b 660test_gui_test.o: $(srcdir)/test.cpp $(TEST_GUI_ODEP)
cb327439 661 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/test.cpp
a0744a6b 662
232fdc63
VZ
663test_gui_testableframe.o: $(srcdir)/testableframe.cpp $(TEST_GUI_ODEP)
664 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/testableframe.cpp
665
98a50e20 666test_gui_rect.o: $(srcdir)/geometry/rect.cpp $(TEST_GUI_ODEP)
cb327439 667 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/rect.cpp
98a50e20 668
d3c073a2 669test_gui_size.o: $(srcdir)/geometry/size.cpp $(TEST_GUI_ODEP)
cb327439 670 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/size.cpp
d3c073a2
DE
671
672test_gui_point.o: $(srcdir)/geometry/point.cpp $(TEST_GUI_ODEP)
cb327439 673 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/point.cpp
b3710b10 674
27297c82
VZ
675test_gui_bitmap.o: $(srcdir)/graphics/bitmap.cpp $(TEST_GUI_ODEP)
676 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/bitmap.cpp
677
b0edecea
VZ
678test_gui_colour.o: $(srcdir)/graphics/colour.cpp $(TEST_GUI_ODEP)
679 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/colour.cpp
680
a37da0fa
FM
681test_gui_ellipsization.o: $(srcdir)/graphics/ellipsization.cpp $(TEST_GUI_ODEP)
682 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/ellipsization.cpp
683
b3710b10
VZ
684test_gui_measuring.o: $(srcdir)/graphics/measuring.cpp $(TEST_GUI_ODEP)
685 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/graphics/measuring.cpp
d3c073a2 686
9222c613
VZ
687test_gui_config.o: $(srcdir)/config/config.cpp $(TEST_GUI_ODEP)
688 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/config/config.cpp
689
232fdc63
VZ
690test_gui_bitmapcomboboxtest.o: $(srcdir)/controls/bitmapcomboboxtest.cpp $(TEST_GUI_ODEP)
691 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/bitmapcomboboxtest.cpp
692
693test_gui_bitmaptogglebuttontest.o: $(srcdir)/controls/bitmaptogglebuttontest.cpp $(TEST_GUI_ODEP)
694 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/bitmaptogglebuttontest.cpp
695
696test_gui_bookctrlbasetest.o: $(srcdir)/controls/bookctrlbasetest.cpp $(TEST_GUI_ODEP)
697 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/bookctrlbasetest.cpp
698
699test_gui_buttontest.o: $(srcdir)/controls/buttontest.cpp $(TEST_GUI_ODEP)
700 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/buttontest.cpp
701
702test_gui_checkboxtest.o: $(srcdir)/controls/checkboxtest.cpp $(TEST_GUI_ODEP)
703 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/checkboxtest.cpp
704
705test_gui_checklistboxtest.o: $(srcdir)/controls/checklistboxtest.cpp $(TEST_GUI_ODEP)
706 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/checklistboxtest.cpp
707
708test_gui_choicebooktest.o: $(srcdir)/controls/choicebooktest.cpp $(TEST_GUI_ODEP)
709 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/choicebooktest.cpp
710
711test_gui_choicetest.o: $(srcdir)/controls/choicetest.cpp $(TEST_GUI_ODEP)
712 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/choicetest.cpp
713
dc7f9c9c
VZ
714test_gui_comboboxtest.o: $(srcdir)/controls/comboboxtest.cpp $(TEST_GUI_ODEP)
715 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/comboboxtest.cpp
716
232fdc63
VZ
717test_gui_frametest.o: $(srcdir)/controls/frametest.cpp $(TEST_GUI_ODEP)
718 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/frametest.cpp
719
720test_gui_gaugetest.o: $(srcdir)/controls/gaugetest.cpp $(TEST_GUI_ODEP)
721 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/gaugetest.cpp
722
723test_gui_gridtest.o: $(srcdir)/controls/gridtest.cpp $(TEST_GUI_ODEP)
724 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/gridtest.cpp
725
56873923
VZ
726test_gui_headerctrltest.o: $(srcdir)/controls/headerctrltest.cpp $(TEST_GUI_ODEP)
727 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/headerctrltest.cpp
728
232fdc63
VZ
729test_gui_hyperlinkctrltest.o: $(srcdir)/controls/hyperlinkctrltest.cpp $(TEST_GUI_ODEP)
730 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/hyperlinkctrltest.cpp
731
732test_gui_itemcontainertest.o: $(srcdir)/controls/itemcontainertest.cpp $(TEST_GUI_ODEP)
733 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/itemcontainertest.cpp
734
32ee98eb
FM
735test_gui_label.o: $(srcdir)/controls/label.cpp $(TEST_GUI_ODEP)
736 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/label.cpp
737
232fdc63
VZ
738test_gui_listbasetest.o: $(srcdir)/controls/listbasetest.cpp $(TEST_GUI_ODEP)
739 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/listbasetest.cpp
740
741test_gui_listbooktest.o: $(srcdir)/controls/listbooktest.cpp $(TEST_GUI_ODEP)
742 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/listbooktest.cpp
743
744test_gui_listboxtest.o: $(srcdir)/controls/listboxtest.cpp $(TEST_GUI_ODEP)
745 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/listboxtest.cpp
746
56873923
VZ
747test_gui_listctrltest.o: $(srcdir)/controls/listctrltest.cpp $(TEST_GUI_ODEP)
748 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/listctrltest.cpp
749
232fdc63
VZ
750test_gui_listviewtest.o: $(srcdir)/controls/listviewtest.cpp $(TEST_GUI_ODEP)
751 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/listviewtest.cpp
752
753test_gui_notebooktest.o: $(srcdir)/controls/notebooktest.cpp $(TEST_GUI_ODEP)
754 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/notebooktest.cpp
755
756test_gui_pickerbasetest.o: $(srcdir)/controls/pickerbasetest.cpp $(TEST_GUI_ODEP)
757 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/pickerbasetest.cpp
758
759test_gui_pickertest.o: $(srcdir)/controls/pickertest.cpp $(TEST_GUI_ODEP)
760 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/pickertest.cpp
761
762test_gui_radioboxtest.o: $(srcdir)/controls/radioboxtest.cpp $(TEST_GUI_ODEP)
763 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/radioboxtest.cpp
764
765test_gui_radiobuttontest.o: $(srcdir)/controls/radiobuttontest.cpp $(TEST_GUI_ODEP)
766 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/radiobuttontest.cpp
767
768test_gui_rearrangelisttest.o: $(srcdir)/controls/rearrangelisttest.cpp $(TEST_GUI_ODEP)
769 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/rearrangelisttest.cpp
770
771test_gui_richtextctrltest.o: $(srcdir)/controls/richtextctrltest.cpp $(TEST_GUI_ODEP)
772 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/richtextctrltest.cpp
773
774test_gui_slidertest.o: $(srcdir)/controls/slidertest.cpp $(TEST_GUI_ODEP)
775 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/slidertest.cpp
776
777test_gui_spinctrldbltest.o: $(srcdir)/controls/spinctrldbltest.cpp $(TEST_GUI_ODEP)
778 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/spinctrldbltest.cpp
779
780test_gui_spinctrltest.o: $(srcdir)/controls/spinctrltest.cpp $(TEST_GUI_ODEP)
781 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/spinctrltest.cpp
782
c0d9b217
VZ
783test_gui_textctrltest.o: $(srcdir)/controls/textctrltest.cpp $(TEST_GUI_ODEP)
784 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textctrltest.cpp
785
f0f6a32d
VZ
786test_gui_textentrytest.o: $(srcdir)/controls/textentrytest.cpp $(TEST_GUI_ODEP)
787 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textentrytest.cpp
788
232fdc63
VZ
789test_gui_togglebuttontest.o: $(srcdir)/controls/togglebuttontest.cpp $(TEST_GUI_ODEP)
790 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/togglebuttontest.cpp
791
792test_gui_toolbooktest.o: $(srcdir)/controls/toolbooktest.cpp $(TEST_GUI_ODEP)
793 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/toolbooktest.cpp
794
795test_gui_treebooktest.o: $(srcdir)/controls/treebooktest.cpp $(TEST_GUI_ODEP)
796 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/treebooktest.cpp
797
fa97ee24
VZ
798test_gui_treectrltest.o: $(srcdir)/controls/treectrltest.cpp $(TEST_GUI_ODEP)
799 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/treectrltest.cpp
800
681694bc
VZ
801test_gui_virtlistctrltest.o: $(srcdir)/controls/virtlistctrltest.cpp $(TEST_GUI_ODEP)
802 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/virtlistctrltest.cpp
803
232fdc63
VZ
804test_gui_windowtest.o: $(srcdir)/controls/windowtest.cpp $(TEST_GUI_ODEP)
805 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/windowtest.cpp
806
031b101f
VZ
807test_gui_clone.o: $(srcdir)/events/clone.cpp $(TEST_GUI_ODEP)
808 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/events/clone.cpp
809
1649d288
VZ
810test_gui_propagation.o: $(srcdir)/events/propagation.cpp $(TEST_GUI_ODEP)
811 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/events/propagation.cpp
812
042ddf5d
VZ
813test_gui_keyboard.o: $(srcdir)/events/keyboard.cpp $(TEST_GUI_ODEP)
814 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/events/keyboard.cpp
815
5b06a80f
FM
816test_gui_fonttest.o: $(srcdir)/font/fonttest.cpp $(TEST_GUI_ODEP)
817 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/font/fonttest.cpp
818
21fe35af
FM
819test_gui_image.o: $(srcdir)/image/image.cpp $(TEST_GUI_ODEP)
820 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/image/image.cpp
821
3e50a139
VZ
822test_gui_rawbmp.o: $(srcdir)/image/rawbmp.cpp $(TEST_GUI_ODEP)
823 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/image/rawbmp.cpp
824
c39058f6
VS
825test_gui_htmlwindow.o: $(srcdir)/html/htmlwindow.cpp $(TEST_GUI_ODEP)
826 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/html/htmlwindow.cpp
827
65571ec7
VZ
828test_gui_menu.o: $(srcdir)/menu/menu.cpp $(TEST_GUI_ODEP)
829 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/menu/menu.cpp
830
841a25bb
VZ
831test_gui_guifuncs.o: $(srcdir)/misc/guifuncs.cpp $(TEST_GUI_ODEP)
832 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/guifuncs.cpp
833
c8f80d27
VZ
834test_gui_selstoretest.o: $(srcdir)/misc/selstoretest.cpp $(TEST_GUI_ODEP)
835 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/selstoretest.cpp
9e48b1f5
FM
836
837test_gui_garbage.o: $(srcdir)/misc/garbage.cpp $(TEST_GUI_ODEP)
838 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/garbage.cpp
c8f80d27 839
e3527f7b
FM
840test_gui_settings.o: $(srcdir)/misc/settings.cpp $(TEST_GUI_ODEP)
841 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/settings.cpp
842
1156062f
VZ
843test_gui_socket.o: $(srcdir)/net/socket.cpp $(TEST_GUI_ODEP)
844 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/net/socket.cpp
845
869c7a94
VZ
846test_gui_boxsizer.o: $(srcdir)/sizers/boxsizer.cpp $(TEST_GUI_ODEP)
847 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/sizers/boxsizer.cpp
848
1a86d2e5
VZ
849test_gui_clientsize.o: $(srcdir)/window/clientsize.cpp $(TEST_GUI_ODEP)
850 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/clientsize.cpp
851
5af86f4d
VZ
852test_gui_setsize.o: $(srcdir)/window/setsize.cpp $(TEST_GUI_ODEP)
853 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/setsize.cpp
854
0526c8cc
VZ
855test_gui_xrctest.o: $(srcdir)/xml/xrctest.cpp $(TEST_GUI_ODEP)
856 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/xml/xrctest.cpp
857
670ec357 858
449cb073
VZ
859# notice the ugly hack with using CXXWARNINGS: we can't use CPPFLAGS as
860# currently the value in the makefile would be ignored if we did, but
861# warnings don't matter when we expect compilation to fail anyhow so we can
862# use this variable to enable the compilation of code which is supposed to
863# fail
864failtest:
865 @$(RM) test_evthandler.o
48c56e04 866 @for d in GLOBAL STATIC METHOD FUNCTOR NO_HANDLER DERIVED WRONG_CLASS; do \
449cb073
VZ
867 if $(MAKE) CXXWARNINGS=-DTEST_INVALID_BIND_$$d test_evthandler.o 2>/dev/null; then \
868 echo "*** Compilation with TEST_INVALID_BIND_$$d unexpectedly succeeded.">&2; \
869 exit 1; \
870 fi; \
871 done; \
872 exit 0
873
874.PHONY: failtest
875
670ec357 876# Include dependency info, if present:
8ece421c 877@IF_GNU_MAKE@-include ./.deps/*.d
670ec357 878
02f935fb 879.PHONY: all install uninstall clean distclean test_gui_bundle data fr