]> git.saurik.com Git - wxWidgets.git/blob - tests/benchmarks/Makefile.in
Applied #15226 wxRichTextCtrl: Implement setting properties with undo for objects...
[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 = 3.0
42 WX_VERSION = $(WX_RELEASE).0
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_USE_STC_1@__LIB_SCINTILLA_IF_MONO_p \
124 @COND_MONOLITHIC_1_USE_STC_1@ = \
125 @COND_MONOLITHIC_1_USE_STC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
126 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
127 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
128 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
129 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
130 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
131 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
132 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
133 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
134 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
135 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
136 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
137 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
138 COND_MONOLITHIC_0___WXLIB_BASE_p = \
139 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
140 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
141 COND_MONOLITHIC_1___WXLIB_MONO_p = \
142 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
143 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
144 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
145 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
146 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
147 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
148 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
149 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
150 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
151 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
152 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
153 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
154
155 ### Targets: ###
156
157 all: bench$(EXEEXT) data $(__bench_gui___depname) $(__bench_gui_bundle___depname) data-image
158
159 install:
160
161 uninstall:
162
163 install-strip: install
164
165 clean:
166 rm -rf ./.deps ./.pch
167 rm -f ./*.o
168 rm -f bench$(EXEEXT)
169 rm -f bench_gui$(EXEEXT)
170 rm -rf bench_gui.app
171
172 distclean: clean
173 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
174
175 bench$(EXEEXT): $(BENCH_OBJECTS)
176 $(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)
177
178 $(__bench___mac_setfilecmd)
179
180 data:
181 @mkdir -p .
182 @for f in htmltest.html; do \
183 if test ! -f ./$$f -a ! -d ./$$f ; \
184 then x=yep ; \
185 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
186 fi; \
187 case "$$x" in ?*) \
188 cp -pRf $(srcdir)/$$f . ;; \
189 esac; \
190 done
191
192 @COND_USE_GUI_1@bench_gui$(EXEEXT): $(BENCH_GUI_OBJECTS) $(__bench_gui___win32rc)
193 @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)
194 @COND_USE_GUI_1@
195 @COND_USE_GUI_1@ $(__bench_gui___mac_setfilecmd)
196
197 @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
198 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p bench_gui.app/Contents
199 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p bench_gui.app/Contents/MacOS
200 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ mkdir -p bench_gui.app/Contents/Resources
201 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
202 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
203 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
204 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/EXECUTABLE/bench_gui/" \
205 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ -e "s/VERSION/$(WX_VERSION)/" \
206 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >bench_gui.app/Contents/Info.plist
207 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
208 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
209 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ /bin/echo "APPL????" >bench_gui.app/Contents/PkgInfo
210 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
211 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
212 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f bench_gui$(EXEEXT) bench_gui.app/Contents/MacOS/bench_gui
213 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
214 @COND_PLATFORM_MACOSX_1_USE_GUI_1@
215 @COND_PLATFORM_MACOSX_1_USE_GUI_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns bench_gui.app/Contents/Resources/wxmac.icns
216
217 @COND_PLATFORM_MACOSX_1_USE_GUI_1@bench_gui_bundle: $(____bench_gui_BUNDLE_TGT_REF_DEP)
218
219 data-image:
220 @mkdir -p .
221 @for f in ../../samples/image/horse.bmp ../../samples/image/horse.jpg ../../samples/image/horse.png ../../samples/image/horse.tif; do \
222 if test ! -f ./$$f -a ! -d ./$$f ; \
223 then x=yep ; \
224 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
225 fi; \
226 case "$$x" in ?*) \
227 cp -pRf $(srcdir)/$$f . ;; \
228 esac; \
229 done
230
231 bench_bench.o: $(srcdir)/bench.cpp
232 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
233
234 bench_datetime.o: $(srcdir)/datetime.cpp
235 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/datetime.cpp
236
237 bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp
238 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp
239
240 bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp
241 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp
242
243 bench_ipcclient.o: $(srcdir)/ipcclient.cpp
244 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp
245
246 bench_log.o: $(srcdir)/log.cpp
247 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/log.cpp
248
249 bench_mbconv.o: $(srcdir)/mbconv.cpp
250 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp
251
252 bench_strings.o: $(srcdir)/strings.cpp
253 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
254
255 bench_tls.o: $(srcdir)/tls.cpp
256 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
257
258 bench_printfbench.o: $(srcdir)/printfbench.cpp
259 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp
260
261 bench_gui_sample_rc.o: $(srcdir)/../../samples/sample.rc
262 $(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
263
264 bench_gui_bench.o: $(srcdir)/bench.cpp
265 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/bench.cpp
266
267 bench_gui_image.o: $(srcdir)/image.cpp
268 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/image.cpp
269
270
271 # Include dependency info, if present:
272 @IF_GNU_MAKE@-include ./.deps/*.d
273
274 .PHONY: all install uninstall clean distclean data bench_gui_bundle data-image