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