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