]> git.saurik.com Git - wxWidgets.git/blame - tests/Makefile.in
fix off by one byg in ReserveId() (closes #10020)
[wxWidgets.git] / tests / Makefile.in
CommitLineData
670ec357
VS
1# =========================================================================
2# This makefile was generated by
6e0fbb3d 3# Bakefile 0.2.3 (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@
69199aad
VZ
17BK_DEPS = @BK_DEPS@
18BK_MAKE_PCH = @BK_MAKE_PCH@
670ec357
VS
19srcdir = @srcdir@
20top_srcdir = @top_srcdir@
69199aad 21LIBS = @LIBS@
670ec357
VS
22CXX = @CXX@
23CXXFLAGS = @CXXFLAGS@
24CPPFLAGS = @CPPFLAGS@
25LDFLAGS = @LDFLAGS@
589e20d0 26WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
670ec357
VS
27CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
28CPPUNIT_LIBS = @CPPUNIT_LIBS@
29TOOLKIT = @TOOLKIT@
30TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
31TOOLKIT_VERSION = @TOOLKIT_VERSION@
8ced02f6 32TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
670ec357 33EXTRALIBS = @EXTRALIBS@
5e05df3c 34EXTRALIBS_XML = @EXTRALIBS_XML@
0e3165d7 35EXTRALIBS_GUI = @EXTRALIBS_GUI@
173f3c03 36CXXWARNINGS = @CXXWARNINGS@
670ec357
VS
37HOST_SUFFIX = @HOST_SUFFIX@
38SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
39SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
69199aad 40wx_top_builddir = @wx_top_builddir@
670ec357
VS
41
42### Variables: ###
43
44DESTDIR =
ae4ccf12 45WX_RELEASE = 2.9
25bb1412 46WX_VERSION = $(WX_RELEASE).0
69199aad 47LIBDIRNAME = $(wx_top_builddir)/lib
8899b155 48TEST_CXXFLAGS = $(__test_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
8c9f8f91 49 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
173f3c03
VZ
50 -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(CXXWARNINGS) \
51 $(CPPFLAGS) $(CXXFLAGS)
670ec357
VS
52TEST_OBJECTS = \
53 test_test.o \
17a7bf57 54 test_archivetest.o \
e6477b92 55 test_ziptest.o \
cdd7933f 56 test_tartest.o \
dd65d8c8 57 test_arrays.o \
a8098f86 58 test_base64.o \
5769cf0f 59 test_cmdlinetest.o \
9222c613 60 test_fileconf.o \
113e181a 61 test_datetimetest.o \
0912690b 62 test_filekind.o \
113e181a
RN
63 test_filenametest.o \
64 test_filesystest.o \
65 test_fontmaptest.o \
66 test_formatconvertertest.o \
f9c3d39b 67 test_hashes.o \
02f935fb 68 test_intltest.o \
7d9cfc54 69 test_lists.o \
113e181a 70 test_longlongtest.o \
d31a29b5 71 test_convautotest.o \
113e181a 72 test_mbconvtest.o \
604fba2d 73 test_misctests.o \
e7ce668e 74 test_ipc.o \
113e181a
RN
75 test_regextest.o \
76 test_wxregextest.o \
3c589493 77 test_scopeguardtest.o \
99d8bc65 78 test_iostream.o \
1cd53e88 79 test_strings.o \
405b7d91 80 test_stdstrings.o \
20a34d96 81 test_tokenizer.o \
c9f78968 82 test_unichar.o \
387f829e 83 test_unicode.o \
c9f78968 84 test_vararg.o \
cf8ee08b 85 test_crt.o \
3b2cb431 86 test_vsnprintf.o \
7735998c 87 test_bstream.o \
7d9cfc54 88 test_datastreamtest.o \
7735998c 89 test_ffilestream.o \
e2255c89 90 test_fileback.o \
7735998c 91 test_filestream.o \
1530fc09 92 test_iostreams.o \
cb327439 93 test_largefile.o \
7735998c 94 test_memstream.o \
f9caf1af 95 test_socketstream.o \
ceec2216 96 test_sstream.o \
e1265174 97 test_tempfile.o \
8899b155 98 test_textstreamtest.o \
816b59de 99 test_zlibstream.o \
fb86a4bb 100 test_textfiletest.o \
173f3c03 101 test_atomic.o \
6aaee6af 102 test_queue.o \
8b73c531 103 test_tls.o \
e966f815 104 test_uris.o \
6490a288
VZ
105 test_vectors.o \
106 test_evtconnection.o \
6e4ae332 107 test_weakref.o \
5e05df3c
VS
108 test_xlocale.o \
109 test_xmltest.o
8899b155 110TEST_ODEP = $(___pch_testprec_test_testprec_h_gch___depname)
a0744a6b 111TEST_GUI_CXXFLAGS = $(__test_gui_PCH_INC) -D__WX$(TOOLKIT)__ \
8c9f8f91 112 $(__WXUNIV_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
0d90d6ea 113 $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../samples \
173f3c03 114 $(CPPUNIT_CFLAGS) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
a0744a6b
VS
115TEST_GUI_OBJECTS = \
116 $(__test_gui___win32rc) \
117 $(__test_gui_os2_lib_res) \
98a50e20 118 test_gui_test.o \
d3c073a2
DE
119 test_gui_rect.o \
120 test_gui_size.o \
9222c613 121 test_gui_point.o \
c0d9b217 122 test_gui_config.o \
dc7f9c9c 123 test_gui_comboboxtest.o \
c8f80d27 124 test_gui_textctrltest.o \
f0f6a32d 125 test_gui_textentrytest.o \
3e50a139 126 test_gui_rawbmp.o \
841a25bb 127 test_gui_guifuncs.o \
1a86d2e5 128 test_gui_selstoretest.o \
5af86f4d
VZ
129 test_gui_clientsize.o \
130 test_gui_setsize.o
a0744a6b 131TEST_GUI_ODEP = $(___pch_testprec_test_gui_testprec_h_gch___depname)
c2c04edc
KO
132PRINTFBENCH_CXXFLAGS = $(__printfbench_PCH_INC) -D__WX$(TOOLKIT)__ \
133 $(__WXUNIV_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
134 $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 \
173f3c03 135 $(CPPUNIT_CFLAGS) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
c2c04edc
KO
136PRINTFBENCH_OBJECTS = \
137 printfbench_printfbench.o
138PRINTFBENCH_ODEP = $(___pch_testprec_printfbench_testprec_h_gch___depname)
670ec357
VS
139
140### Conditionally set variables: ###
141
142@COND_DEPS_TRACKING_0@CXXC = $(CXX)
69199aad 143@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
670ec357
VS
144@COND_USE_GUI_0@PORTNAME = base
145@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
146@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
147@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
148@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
149@COND_UNICODE_1@WXUNICODEFLAG = u
150@COND_WXUNIV_1@WXUNIVNAME = univ
0e3165d7
DE
151@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
152@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
a0744a6b
VS
153@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
154@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
6e0fbb3d 155@COND_PLATFORM_MAC_0@__test___mac_setfilecmd = @true
670ec357
VS
156@COND_PLATFORM_MAC_1@__test___mac_setfilecmd = \
157@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test$(EXEEXT)
8899b155 158@COND_GCC_PCH_1@__test_PCH_INC = -I.pch/testprec_test
cf9b63b3
VZ
159@COND_ICC_PCH_1@__test_PCH_INC = -use_pch .pch/testprec_test/testprec.h.gch
160@COND_USE_PCH_1@___pch_testprec_test_testprec_h_gch___depname \
161@COND_USE_PCH_1@ = .pch/testprec_test/testprec.h.gch
113e181a
RN
162COND_MONOLITHIC_0___WXLIB_NET_p = \
163 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
164@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
5e05df3c
VS
165COND_MONOLITHIC_0___WXLIB_XML_p = \
166 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX)
167@COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p)
a0744a6b 168@COND_USE_GUI_1@__test_gui___depname = test_gui$(EXEEXT)
6e0fbb3d 169@COND_PLATFORM_MAC_0@__test_gui___mac_setfilecmd = @true
a0744a6b 170@COND_PLATFORM_MAC_1@__test_gui___mac_setfilecmd = \
8b73c531 171@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test_gui$(EXEEXT)
a0744a6b 172@COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
8c9f8f91 173@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_5 = --define wxNO_EXCEPTIONS
8c9f8f91 174@COND_USE_RTTI_0@__RTTI_DEFINE_p_5 = --define wxNO_RTTI
8c9f8f91 175@COND_USE_THREADS_0@__THREAD_DEFINE_p_5 = --define wxNO_THREADS
a0744a6b 176@COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
8ced02f6
DE
177@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
178@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
a0744a6b
VS
179@COND_PLATFORM_WIN32_1@__test_gui___win32rc = test_gui_sample_rc.o
180@COND_PLATFORM_OS2_1@__test_gui_os2_lib_res = \
181@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
e8352927
VS
182@COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_app_Contents_PkgInfo___depname \
183@COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui.app/Contents/PkgInfo
184@COND_PLATFORM_MACOSX_1_USE_GUI_1@__test_gui_bundle___depname \
185@COND_PLATFORM_MACOSX_1_USE_GUI_1@ = test_gui_bundle
a0744a6b 186@COND_TOOLKIT_MAC@____test_gui_BUNDLE_TGT_REF_DEP = \
e8352927 187@COND_TOOLKIT_MAC@ $(__test_gui_app_Contents_PkgInfo___depname)
f0f6a32d
VZ
188@COND_TOOLKIT_OSX_CARBON@____test_gui_BUNDLE_TGT_REF_DEP \
189@COND_TOOLKIT_OSX_CARBON@ = $(__test_gui_app_Contents_PkgInfo___depname)
190@COND_TOOLKIT_OSX_COCOA@____test_gui_BUNDLE_TGT_REF_DEP \
191@COND_TOOLKIT_OSX_COCOA@ = $(__test_gui_app_Contents_PkgInfo___depname)
192@COND_TOOLKIT_OSX_IPHONE@____test_gui_BUNDLE_TGT_REF_DEP \
193@COND_TOOLKIT_OSX_IPHONE@ = $(__test_gui_app_Contents_PkgInfo___depname)
194@COND_TOOLKIT_COCOA@____test_gui_BUNDLE_TGT_REF_DEP = \
195@COND_TOOLKIT_COCOA@ $(__test_gui_app_Contents_PkgInfo___depname)
a0744a6b 196@COND_GCC_PCH_1@__test_gui_PCH_INC = -I.pch/testprec_test_gui
cf9b63b3
VZ
197@COND_ICC_PCH_1@__test_gui_PCH_INC = -use_pch \
198@COND_ICC_PCH_1@ .pch/testprec_test_gui/testprec.h.gch
199@COND_USE_PCH_1@___pch_testprec_test_gui_testprec_h_gch___depname \
200@COND_USE_PCH_1@ = .pch/testprec_test_gui/testprec.h.gch
a0744a6b
VS
201COND_MONOLITHIC_0___WXLIB_CORE_p = \
202 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
203@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
3b2cb431
JS
204@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
205@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
206@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
207@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
208@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
209@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
210@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
211@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
212@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
6e0fbb3d 213@COND_PLATFORM_MAC_0@__printfbench___mac_setfilecmd = @true
c2c04edc
KO
214@COND_PLATFORM_MAC_1@__printfbench___mac_setfilecmd = \
215@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL printfbench$(EXEEXT)
216@COND_GCC_PCH_1@__printfbench_PCH_INC = -I.pch/testprec_printfbench
217@COND_ICC_PCH_1@__printfbench_PCH_INC = -use_pch \
218@COND_ICC_PCH_1@ .pch/testprec_printfbench/testprec.h.gch
219@COND_USE_PCH_1@___pch_testprec_printfbench_testprec_h_gch___depname \
220@COND_USE_PCH_1@ = .pch/testprec_printfbench/testprec.h.gch
a0744a6b 221@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
8c9f8f91
JS
222@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
223@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
224@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
a0744a6b 225@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
ceec2216 226COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 227 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 228@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
670ec357 229COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 230 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
670ec357 231@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
670ec357 232@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 233@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
234COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
235 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
236@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
670ec357 237@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 238@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
670ec357
VS
239
240### Targets: ###
241
02f935fb 242all: test$(EXEEXT) $(__test_gui___depname) $(__test_gui_bundle___depname) data fr printfbench$(EXEEXT)
670ec357
VS
243
244install: all
245
246uninstall:
247
248install-strip: install
249
250clean:
251 rm -rf ./.deps ./.pch
252 rm -f ./*.o
253 rm -f test$(EXEEXT)
a0744a6b
VS
254 rm -f test_gui$(EXEEXT)
255 rm -rf test_gui.app
c2c04edc 256 rm -f printfbench$(EXEEXT)
670ec357
VS
257
258distclean: clean
cb327439 259 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
670ec357
VS
260
261test$(EXEEXT): $(TEST_OBJECTS)
5e05df3c 262 $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LIBS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
670ec357 263
d3c073a2
DE
264 $(__test___mac_setfilecmd)
265 $(SAMPLES_RPATH_POSTLINK)
670ec357 266
cf9b63b3 267@COND_USE_PCH_1@.pch/testprec_test/testprec.h.gch:
69199aad 268@COND_USE_PCH_1@ $(BK_MAKE_PCH) .pch/testprec_test/testprec.h.gch testprec.h $(CXX) $(TEST_CXXFLAGS)
8899b155 269
a0744a6b 270@COND_USE_GUI_1@test_gui$(EXEEXT): $(TEST_GUI_OBJECTS) $(__test_gui___win32rc)
6aaee6af 271@COND_USE_GUI_1@ $(CXX) -o $@ $(TEST_GUI_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LIBS) $(__WXLIB_CORE_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)
8b73c531 272@COND_USE_GUI_1@
d3c073a2
DE
273@COND_USE_GUI_1@ $(__test_gui___mac_setfilecmd)
274@COND_USE_GUI_1@ $(SAMPLES_RPATH_POSTLINK)
a0744a6b 275
4eba7d7d 276@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
277@COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents
278@COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/MacOS
279@COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p test_gui.app/Contents/Resources
280@COND_PLATFORM_MACOSX_1_USE_GUI_1@
281@COND_PLATFORM_MACOSX_1_USE_GUI_1@
282@COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
283@COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/test_gui/" \
284@COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \
4eba7d7d 285@COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >test_gui.app/Contents/Info.plist
e8352927
VS
286@COND_PLATFORM_MACOSX_1_USE_GUI_1@
287@COND_PLATFORM_MACOSX_1_USE_GUI_1@
288@COND_PLATFORM_MACOSX_1_USE_GUI_1@ echo -n "APPL????" >test_gui.app/Contents/PkgInfo
289@COND_PLATFORM_MACOSX_1_USE_GUI_1@
290@COND_PLATFORM_MACOSX_1_USE_GUI_1@
291@COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f test_gui$(EXEEXT) test_gui.app/Contents/MacOS/test_gui
292@COND_PLATFORM_MACOSX_1_USE_GUI_1@
293@COND_PLATFORM_MACOSX_1_USE_GUI_1@
4eba7d7d 294@COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns test_gui.app/Contents/Resources/wxmac.icns
a0744a6b 295
e8352927 296@COND_PLATFORM_MACOSX_1_USE_GUI_1@test_gui_bundle: $(____test_gui_BUNDLE_TGT_REF_DEP)
a0744a6b 297
cf9b63b3 298@COND_USE_PCH_1@.pch/testprec_test_gui/testprec.h.gch:
69199aad 299@COND_USE_PCH_1@ $(BK_MAKE_PCH) .pch/testprec_test_gui/testprec.h.gch testprec.h $(CXX) $(TEST_GUI_CXXFLAGS)
a0744a6b 300
387f829e
VS
301data:
302 @mkdir -p .
303 @for f in testdata.fc; do \
0d90d6ea 304 if test ! -f ./$$f -a ! -d ./$$f ; \
cb327439
MW
305 then x=yep ; \
306 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
387f829e 307 fi; \
cb327439
MW
308 case "$$x" in ?*) \
309 cp -pRf $(srcdir)/$$f . ;; \
310 esac; \
387f829e
VS
311 done
312
02f935fb
VS
313fr:
314 @mkdir -p ./intl/fr
315 @for f in internat.po internat.mo; do \
316 if test ! -f ./intl/fr/$$f -a ! -d ./intl/fr/$$f ; \
317 then x=yep ; \
318 else x=`find $(srcdir)/intl/fr/$$f -newer ./intl/fr/$$f -print` ; \
319 fi; \
320 case "$$x" in ?*) \
321 cp -pRf $(srcdir)/intl/fr/$$f ./intl/fr ;; \
322 esac; \
323 done
324
c2c04edc 325printfbench$(EXEEXT): $(PRINTFBENCH_OBJECTS)
6aaee6af 326 $(CXX) -o $@ $(PRINTFBENCH_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
c2c04edc
KO
327
328 $(__printfbench___mac_setfilecmd)
329 $(SAMPLES_RPATH_POSTLINK)
330
331@COND_USE_PCH_1@.pch/testprec_printfbench/testprec.h.gch:
69199aad 332@COND_USE_PCH_1@ $(BK_MAKE_PCH) .pch/testprec_printfbench/testprec.h.gch testprec.h $(CXX) $(PRINTFBENCH_CXXFLAGS)
c2c04edc 333
8899b155 334test_test.o: $(srcdir)/test.cpp $(TEST_ODEP)
cb327439 335 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/test.cpp
8899b155
RN
336
337test_archivetest.o: $(srcdir)/archive/archivetest.cpp $(TEST_ODEP)
cb327439 338 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/archivetest.cpp
670ec357 339
e6477b92
MW
340test_ziptest.o: $(srcdir)/archive/ziptest.cpp $(TEST_ODEP)
341 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/ziptest.cpp
342
cdd7933f
MW
343test_tartest.o: $(srcdir)/archive/tartest.cpp $(TEST_ODEP)
344 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/archive/tartest.cpp
345
8899b155 346test_arrays.o: $(srcdir)/arrays/arrays.cpp $(TEST_ODEP)
cb327439 347 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/arrays/arrays.cpp
17a7bf57 348
a8098f86
VZ
349test_base64.o: $(srcdir)/base64/base64.cpp $(TEST_ODEP)
350 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/base64/base64.cpp
351
5769cf0f
VZ
352test_cmdlinetest.o: $(srcdir)/cmdline/cmdlinetest.cpp $(TEST_ODEP)
353 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/cmdline/cmdlinetest.cpp
354
9222c613
VZ
355test_fileconf.o: $(srcdir)/config/fileconf.cpp $(TEST_ODEP)
356 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/config/fileconf.cpp
357
8899b155 358test_datetimetest.o: $(srcdir)/datetime/datetimetest.cpp $(TEST_ODEP)
cb327439 359 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/datetime/datetimetest.cpp
e70833fb 360
0912690b
MW
361test_filekind.o: $(srcdir)/filekind/filekind.cpp $(TEST_ODEP)
362 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filekind/filekind.cpp
363
8899b155 364test_filenametest.o: $(srcdir)/filename/filenametest.cpp $(TEST_ODEP)
cb327439 365 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filename/filenametest.cpp
ab921f5f 366
8899b155 367test_filesystest.o: $(srcdir)/filesys/filesystest.cpp $(TEST_ODEP)
cb327439 368 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/filesys/filesystest.cpp
3fa86423 369
8899b155 370test_fontmaptest.o: $(srcdir)/fontmap/fontmaptest.cpp $(TEST_ODEP)
cb327439 371 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/fontmap/fontmaptest.cpp
4827cbd9 372
8899b155 373test_formatconvertertest.o: $(srcdir)/formatconverter/formatconvertertest.cpp $(TEST_ODEP)
cb327439 374 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/formatconverter/formatconvertertest.cpp
dd65d8c8 375
8899b155 376test_hashes.o: $(srcdir)/hashes/hashes.cpp $(TEST_ODEP)
cb327439 377 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/hashes/hashes.cpp
cf1014a2 378
02f935fb
VS
379test_intltest.o: $(srcdir)/intl/intltest.cpp $(TEST_ODEP)
380 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/intl/intltest.cpp
381
7d9cfc54 382test_lists.o: $(srcdir)/lists/lists.cpp $(TEST_ODEP)
cb327439 383 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/lists/lists.cpp
7d9cfc54 384
8899b155 385test_longlongtest.o: $(srcdir)/longlong/longlongtest.cpp $(TEST_ODEP)
cb327439 386 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/longlong/longlongtest.cpp
f9c3d39b 387
d31a29b5
VZ
388test_convautotest.o: $(srcdir)/mbconv/convautotest.cpp $(TEST_ODEP)
389 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/convautotest.cpp
390
8899b155 391test_mbconvtest.o: $(srcdir)/mbconv/mbconvtest.cpp $(TEST_ODEP)
cb327439 392 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/mbconv/mbconvtest.cpp
1b035b8c 393
604fba2d
VZ
394test_misctests.o: $(srcdir)/misc/misctests.cpp $(TEST_ODEP)
395 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/misc/misctests.cpp
396
e7ce668e
VZ
397test_ipc.o: $(srcdir)/net/ipc.cpp $(TEST_ODEP)
398 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/net/ipc.cpp
399
8899b155 400test_regextest.o: $(srcdir)/regex/regextest.cpp $(TEST_ODEP)
cb327439 401 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/regextest.cpp
dd65d8c8 402
8899b155 403test_wxregextest.o: $(srcdir)/regex/wxregextest.cpp $(TEST_ODEP)
cb327439 404 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/regex/wxregextest.cpp
dd65d8c8 405
3c589493
VZ
406test_scopeguardtest.o: $(srcdir)/scopeguard/scopeguardtest.cpp $(TEST_ODEP)
407 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/scopeguard/scopeguardtest.cpp
408
1530fc09
VZ
409test_iostream.o: $(srcdir)/strings/iostream.cpp $(TEST_ODEP)
410 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/iostream.cpp
411
8899b155 412test_strings.o: $(srcdir)/strings/strings.cpp $(TEST_ODEP)
cb327439 413 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/strings.cpp
dd65d8c8 414
8899b155 415test_stdstrings.o: $(srcdir)/strings/stdstrings.cpp $(TEST_ODEP)
cb327439 416 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/stdstrings.cpp
1cd53e88 417
20a34d96
VZ
418test_tokenizer.o: $(srcdir)/strings/tokenizer.cpp $(TEST_ODEP)
419 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/tokenizer.cpp
420
c9f78968
VS
421test_unichar.o: $(srcdir)/strings/unichar.cpp $(TEST_ODEP)
422 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unichar.cpp
423
8899b155 424test_unicode.o: $(srcdir)/strings/unicode.cpp $(TEST_ODEP)
cb327439 425 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/unicode.cpp
405b7d91 426
c9f78968
VS
427test_vararg.o: $(srcdir)/strings/vararg.cpp $(TEST_ODEP)
428 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vararg.cpp
429
8899b155 430test_crt.o: $(srcdir)/strings/crt.cpp $(TEST_ODEP)
cb327439 431 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/crt.cpp
387f829e 432
3b2cb431
JS
433test_vsnprintf.o: $(srcdir)/strings/vsnprintf.cpp $(TEST_ODEP)
434 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/strings/vsnprintf.cpp
435
8899b155 436test_bstream.o: $(srcdir)/streams/bstream.cpp $(TEST_ODEP)
cb327439 437 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/bstream.cpp
cf8ee08b 438
7d9cfc54 439test_datastreamtest.o: $(srcdir)/streams/datastreamtest.cpp $(TEST_ODEP)
cb327439 440 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/datastreamtest.cpp
7d9cfc54 441
8899b155 442test_ffilestream.o: $(srcdir)/streams/ffilestream.cpp $(TEST_ODEP)
cb327439 443 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/ffilestream.cpp
7735998c 444
e2255c89
MW
445test_fileback.o: $(srcdir)/streams/fileback.cpp $(TEST_ODEP)
446 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/fileback.cpp
447
8899b155 448test_filestream.o: $(srcdir)/streams/filestream.cpp $(TEST_ODEP)
cb327439
MW
449 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/filestream.cpp
450
1530fc09
VZ
451test_iostreams.o: $(srcdir)/streams/iostreams.cpp $(TEST_ODEP)
452 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/iostreams.cpp
453
cb327439
MW
454test_largefile.o: $(srcdir)/streams/largefile.cpp $(TEST_ODEP)
455 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/largefile.cpp
7735998c 456
8899b155 457test_memstream.o: $(srcdir)/streams/memstream.cpp $(TEST_ODEP)
cb327439 458 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/memstream.cpp
7735998c 459
f9caf1af
VZ
460test_socketstream.o: $(srcdir)/streams/socketstream.cpp $(TEST_ODEP)
461 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/socketstream.cpp
462
8899b155 463test_sstream.o: $(srcdir)/streams/sstream.cpp $(TEST_ODEP)
cb327439 464 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/sstream.cpp
7735998c 465
e1265174
MW
466test_tempfile.o: $(srcdir)/streams/tempfile.cpp $(TEST_ODEP)
467 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/tempfile.cpp
468
8899b155 469test_textstreamtest.o: $(srcdir)/streams/textstreamtest.cpp $(TEST_ODEP)
cb327439 470 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/textstreamtest.cpp
ceec2216 471
8899b155 472test_zlibstream.o: $(srcdir)/streams/zlibstream.cpp $(TEST_ODEP)
cb327439 473 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/streams/zlibstream.cpp
7735998c 474
fb86a4bb
VZ
475test_textfiletest.o: $(srcdir)/textfile/textfiletest.cpp $(TEST_ODEP)
476 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/textfile/textfiletest.cpp
477
173f3c03
VZ
478test_atomic.o: $(srcdir)/thread/atomic.cpp $(TEST_ODEP)
479 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/atomic.cpp
480
6aaee6af
VZ
481test_queue.o: $(srcdir)/thread/queue.cpp $(TEST_ODEP)
482 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/queue.cpp
483
8b73c531
VZ
484test_tls.o: $(srcdir)/thread/tls.cpp $(TEST_ODEP)
485 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/thread/tls.cpp
486
8899b155 487test_uris.o: $(srcdir)/uris/uris.cpp $(TEST_ODEP)
cb327439 488 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/uris/uris.cpp
edcccd84 489
e966f815
VS
490test_vectors.o: $(srcdir)/vectors/vectors.cpp $(TEST_ODEP)
491 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/vectors/vectors.cpp
492
6490a288
VZ
493test_evtconnection.o: $(srcdir)/weakref/evtconnection.cpp $(TEST_ODEP)
494 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/evtconnection.cpp
495
496test_weakref.o: $(srcdir)/weakref/weakref.cpp $(TEST_ODEP)
497 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/weakref/weakref.cpp
498
6e4ae332
VZ
499test_xlocale.o: $(srcdir)/xlocale/xlocale.cpp $(TEST_ODEP)
500 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xlocale/xlocale.cpp
501
5e05df3c
VS
502test_xmltest.o: $(srcdir)/xml/xmltest.cpp $(TEST_ODEP)
503 $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $(srcdir)/xml/xmltest.cpp
504
0d90d6ea 505test_gui_sample_rc.o: $(srcdir)/../samples/sample.rc $(TEST_GUI_ODEP)
c9f78968 506 $(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
a0744a6b
VS
507
508test_gui_test.o: $(srcdir)/test.cpp $(TEST_GUI_ODEP)
cb327439 509 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/test.cpp
a0744a6b 510
98a50e20 511test_gui_rect.o: $(srcdir)/geometry/rect.cpp $(TEST_GUI_ODEP)
cb327439 512 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/rect.cpp
98a50e20 513
d3c073a2 514test_gui_size.o: $(srcdir)/geometry/size.cpp $(TEST_GUI_ODEP)
cb327439 515 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/size.cpp
d3c073a2
DE
516
517test_gui_point.o: $(srcdir)/geometry/point.cpp $(TEST_GUI_ODEP)
cb327439 518 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/geometry/point.cpp
d3c073a2 519
9222c613
VZ
520test_gui_config.o: $(srcdir)/config/config.cpp $(TEST_GUI_ODEP)
521 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/config/config.cpp
522
dc7f9c9c
VZ
523test_gui_comboboxtest.o: $(srcdir)/controls/comboboxtest.cpp $(TEST_GUI_ODEP)
524 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/comboboxtest.cpp
525
c0d9b217
VZ
526test_gui_textctrltest.o: $(srcdir)/controls/textctrltest.cpp $(TEST_GUI_ODEP)
527 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textctrltest.cpp
528
f0f6a32d
VZ
529test_gui_textentrytest.o: $(srcdir)/controls/textentrytest.cpp $(TEST_GUI_ODEP)
530 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/controls/textentrytest.cpp
531
3e50a139
VZ
532test_gui_rawbmp.o: $(srcdir)/image/rawbmp.cpp $(TEST_GUI_ODEP)
533 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/image/rawbmp.cpp
534
841a25bb
VZ
535test_gui_guifuncs.o: $(srcdir)/misc/guifuncs.cpp $(TEST_GUI_ODEP)
536 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/guifuncs.cpp
537
c8f80d27
VZ
538test_gui_selstoretest.o: $(srcdir)/misc/selstoretest.cpp $(TEST_GUI_ODEP)
539 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/misc/selstoretest.cpp
540
1a86d2e5
VZ
541test_gui_clientsize.o: $(srcdir)/window/clientsize.cpp $(TEST_GUI_ODEP)
542 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/clientsize.cpp
543
5af86f4d
VZ
544test_gui_setsize.o: $(srcdir)/window/setsize.cpp $(TEST_GUI_ODEP)
545 $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/window/setsize.cpp
546
c2c04edc
KO
547printfbench_printfbench.o: $(srcdir)/benchmarks/printfbench.cpp $(PRINTFBENCH_ODEP)
548 $(CXXC) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(srcdir)/benchmarks/printfbench.cpp
549
670ec357 550
02e22828
VZ
551$(srcdir)/include/wx/stc/stc.h: \
552$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
553$(srcdir)/src/stc/stc.cpp.in \
554$(srcdir)/src/stc/stc.h.in \
555$(srcdir)/src/stc/gen_iface.py
556 cd $(srcdir)/src/stc && ./gen_iface.py
557monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
558$(srcdir)/include/wx/stc/stc.h
559
670ec357
VS
560# Include dependency info, if present:
561@IF_GNU_MAKE@-include .deps/*.d
562
02f935fb 563.PHONY: all install uninstall clean distclean test_gui_bundle data fr