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