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