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