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