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