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