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