]> git.saurik.com Git - wxWidgets.git/blob - tests/benchmarks/Makefile.in
805c23164b3923bc703cb18352456146d338e948
[wxWidgets.git] / tests / benchmarks / Makefile.in
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.9 (http://www.bakefile.org)
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 datarootdir = @datarootdir@
13 INSTALL = @INSTALL@
14 EXEEXT = @EXEEXT@
15 WINDRES = @WINDRES@
16 SETFILE = @SETFILE@
17 BK_DEPS = @BK_DEPS@
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 LIBS = @LIBS@
21 CXX = @CXX@
22 CXXFLAGS = @CXXFLAGS@
23 CPPFLAGS = @CPPFLAGS@
24 LDFLAGS = @LDFLAGS@
25 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
26 TOOLKIT = @TOOLKIT@
27 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28 TOOLKIT_VERSION = @TOOLKIT_VERSION@
29 TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
30 EXTRALIBS = @EXTRALIBS@
31 EXTRALIBS_XML = @EXTRALIBS_XML@
32 EXTRALIBS_GUI = @EXTRALIBS_GUI@
33 CXXWARNINGS = @CXXWARNINGS@
34 HOST_SUFFIX = @HOST_SUFFIX@
35 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
36 wx_top_builddir = @wx_top_builddir@
37
38 ### Variables: ###
39
40 DESTDIR =
41 WX_RELEASE = 2.9
42 WX_VERSION = $(WX_RELEASE).5
43 LIBDIRNAME = $(wx_top_builddir)/lib
44 BENCH_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
45 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
46 -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \
47 $(CXXFLAGS)
48 BENCH_OBJECTS = \
49 bench_bench.o \
50 bench_datetime.o \
51 bench_htmlpars.o \
52 bench_htmltag.o \
53 bench_ipcclient.o \
54 bench_log.o \
55 bench_mbconv.o \
56 bench_strings.o \
57 bench_tls.o \
58 bench_printfbench.o
59 BENCH_GUI_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
60 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
61 $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples \
62 $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
63 BENCH_GUI_OBJECTS = \
64 $(__bench_gui___win32rc) \
65 $(__bench_gui_os2_lib_res) \
66 bench_gui_bench.o \
67 bench_gui_image.o
68
69 ### Conditionally set variables: ###
70
71 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
72 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
73 @COND_USE_GUI_0@PORTNAME = base
74 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
75 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
76 @COND_BUILD_debug@WXDEBUGFLAG = d
77 @COND_UNICODE_1@WXUNICODEFLAG = u
78 @COND_WXUNIV_1@WXUNIVNAME = univ
79 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
80 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \
81 @COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI)
82 @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
83 @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
84 @COND_PLATFORM_MAC_0@__bench___mac_setfilecmd = @true
85 @COND_PLATFORM_MAC_1@__bench___mac_setfilecmd = \
86 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL bench$(EXEEXT)
87 COND_MONOLITHIC_0___WXLIB_NET_p = \
88 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
89 @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
90 @COND_MONOLITHIC_1@__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
91 @COND_USE_GUI_1@__bench_gui___depname = bench_gui$(EXEEXT)
92 @COND_PLATFORM_MAC_0@__bench_gui___mac_setfilecmd = @true
93 @COND_PLATFORM_MAC_1@__bench_gui___mac_setfilecmd = \
94 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL bench_gui$(EXEEXT)
95 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
96 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_5 = --define wxDEBUG_LEVEL=0
97 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_5 = --define wxNO_EXCEPTIONS
98 @COND_USE_RTTI_0@__RTTI_DEFINE_p_5 = --define wxNO_RTTI
99 @COND_USE_THREADS_0@__THREAD_DEFINE_p_5 = --define wxNO_THREADS
100 @COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
101 @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
102 @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
103 @COND_PLATFORM_WIN32_1@__bench_gui___win32rc = bench_gui_sample_rc.o
104 @COND_PLATFORM_OS2_1@__bench_gui_os2_lib_res = \
105 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
106 @COND_PLATFORM_MACOSX_1_USE_GUI_1@__bench_gui_app_Contents_PkgInfo___depname \
107 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = bench_gui.app/Contents/PkgInfo
108 @COND_PLATFORM_MACOSX_1_USE_GUI_1@__bench_gui_bundle___depname \
109 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ = bench_gui_bundle
110 @COND_TOOLKIT_MAC@____bench_gui_BUNDLE_TGT_REF_DEP = \
111 @COND_TOOLKIT_MAC@ $(__bench_gui_app_Contents_PkgInfo___depname)
112 @COND_TOOLKIT_OSX_CARBON@____bench_gui_BUNDLE_TGT_REF_DEP \
113 @COND_TOOLKIT_OSX_CARBON@ = $(__bench_gui_app_Contents_PkgInfo___depname)
114 @COND_TOOLKIT_OSX_COCOA@____bench_gui_BUNDLE_TGT_REF_DEP \
115 @COND_TOOLKIT_OSX_COCOA@ = $(__bench_gui_app_Contents_PkgInfo___depname)
116 @COND_TOOLKIT_OSX_IPHONE@____bench_gui_BUNDLE_TGT_REF_DEP \
117 @COND_TOOLKIT_OSX_IPHONE@ = $(__bench_gui_app_Contents_PkgInfo___depname)
118 @COND_TOOLKIT_COCOA@____bench_gui_BUNDLE_TGT_REF_DEP = \
119 @COND_TOOLKIT_COCOA@ $(__bench_gui_app_Contents_PkgInfo___depname)
120 COND_MONOLITHIC_0___WXLIB_CORE_p = \
121 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
122 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
123 @COND_MONOLITHIC_1@__LIB_SCINTILLA_IF_MONO_p = \
124 @COND_MONOLITHIC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
125 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
126 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
127 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
128 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
129 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
130 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
131 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
132 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
133 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
134 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
135 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
136 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
137 COND_MONOLITHIC_0___WXLIB_BASE_p = \
138 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
139 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
140 COND_MONOLITHIC_1___WXLIB_MONO_p = \
141 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
142 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
143 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
144 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
145 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
146 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
147 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
148 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
149 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
150 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
151 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
152 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
153
154 ### Targets: ###
155
156 all: bench$(EXEEXT) data $(__bench_gui___depname) $(__bench_gui_bundle___depname) data-image
157
158 install:
159
160 uninstall:
161
162 install-strip: install
163
164 clean:
165 rm -rf ./.deps ./.pch
166 rm -f ./*.o
167 rm -f bench$(EXEEXT)
168 rm -f bench_gui$(EXEEXT)
169 rm -rf bench_gui.app
170
171 distclean: clean
172 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
173
174 bench$(EXEEXT): $(BENCH_OBJECTS)
175 $(CXX) -o $@ $(BENCH_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
176
177 $(__bench___mac_setfilecmd)
178
179 data:
180 @mkdir -p .
181 @for f in htmltest.html; do \
182 if test ! -f ./$$f -a ! -d ./$$f ; \
183 then x=yep ; \
184 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
185 fi; \
186 case "$$x" in ?*) \
187 cp -pRf $(srcdir)/$$f . ;; \
188 esac; \
189 done
190
191 @COND_USE_GUI_1@bench_gui$(EXEEXT): $(BENCH_GUI_OBJECTS) $(__bench_gui___win32rc)
192 @COND_USE_GUI_1@ $(CXX) -o $@ $(BENCH_GUI_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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) $(LIBS)
193 @COND_USE_GUI_1@
194 @COND_USE_GUI_1@ $(__bench_gui___mac_setfilecmd)
195
196 @COND_PLATFORM_MACOSX_1_USE_GUI_1@bench_gui.app/Contents/PkgInfo: $(__bench_gui___depname) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
197 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p bench_gui.app/Contents
198 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p bench_gui.app/Contents/MacOS
199 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p bench_gui.app/Contents/Resources
200 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
201 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
202 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
203 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/bench_gui/" \
204 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \
205 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >bench_gui.app/Contents/Info.plist
206 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
207 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
208 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ /bin/echo "APPL????" >bench_gui.app/Contents/PkgInfo
209 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
210 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
211 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f bench_gui$(EXEEXT) bench_gui.app/Contents/MacOS/bench_gui
212 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
213 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
214 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns bench_gui.app/Contents/Resources/wxmac.icns
215
216 @COND_PLATFORM_MACOSX_1_USE_GUI_1@bench_gui_bundle: $(____bench_gui_BUNDLE_TGT_REF_DEP)
217
218 data-image:
219 @mkdir -p .
220 @for f in ../../samples/image/horse.bmp ../../samples/image/horse.jpg ../../samples/image/horse.png ../../samples/image/horse.tif; do \
221 if test ! -f ./$$f -a ! -d ./$$f ; \
222 then x=yep ; \
223 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
224 fi; \
225 case "$$x" in ?*) \
226 cp -pRf $(srcdir)/$$f . ;; \
227 esac; \
228 done
229
230 bench_bench.o: $(srcdir)/bench.cpp
231 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
232
233 bench_datetime.o: $(srcdir)/datetime.cpp
234 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/datetime.cpp
235
236 bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp
237 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp
238
239 bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp
240 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp
241
242 bench_ipcclient.o: $(srcdir)/ipcclient.cpp
243 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp
244
245 bench_log.o: $(srcdir)/log.cpp
246 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/log.cpp
247
248 bench_mbconv.o: $(srcdir)/mbconv.cpp
249 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp
250
251 bench_strings.o: $(srcdir)/strings.cpp
252 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
253
254 bench_tls.o: $(srcdir)/tls.cpp
255 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
256
257 bench_printfbench.o: $(srcdir)/printfbench.cpp
258 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp
259
260 bench_gui_sample_rc.o: $(srcdir)/../../samples/sample.rc
261 $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) $(__DEBUG_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
262
263 bench_gui_bench.o: $(srcdir)/bench.cpp
264 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/bench.cpp
265
266 bench_gui_image.o: $(srcdir)/image.cpp
267 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/image.cpp
268
269
270 # Include dependency info, if present:
271 @IF_GNU_MAKE@-include ./.deps/*.d
272
273 .PHONY: all install uninstall clean distclean data bench_gui_bundle data-image