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