]> git.saurik.com Git - wxWidgets.git/blame - tests/benchmarks/Makefile.in
proper default for iphone
[wxWidgets.git] / tests / benchmarks / Makefile.in
CommitLineData
dc2ae355
VZ
1# =========================================================================
2# This makefile was generated by
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)
dc2ae355
VZ
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12datarootdir = @datarootdir@
13INSTALL = @INSTALL@
14EXEEXT = @EXEEXT@
7b363ab6 15WINDRES = @WINDRES@
dc2ae355
VZ
16SETFILE = @SETFILE@
17BK_DEPS = @BK_DEPS@
18srcdir = @srcdir@
19top_srcdir = @top_srcdir@
20LIBS = @LIBS@
21CXX = @CXX@
22CXXFLAGS = @CXXFLAGS@
23CPPFLAGS = @CPPFLAGS@
24LDFLAGS = @LDFLAGS@
25WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
26TOOLKIT = @TOOLKIT@
27TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28TOOLKIT_VERSION = @TOOLKIT_VERSION@
7b363ab6 29TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
dc2ae355 30EXTRALIBS = @EXTRALIBS@
51ec29ea 31EXTRALIBS_XML = @EXTRALIBS_XML@
dc2ae355
VZ
32EXTRALIBS_GUI = @EXTRALIBS_GUI@
33CXXWARNINGS = @CXXWARNINGS@
34HOST_SUFFIX = @HOST_SUFFIX@
35SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
dc2ae355
VZ
36wx_top_builddir = @wx_top_builddir@
37
38### Variables: ###
39
40DESTDIR =
41WX_RELEASE = 2.9
7b363ab6 42WX_VERSION = $(WX_RELEASE).5
dc2ae355 43LIBDIRNAME = $(wx_top_builddir)/lib
d12d9eda 44BENCH_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
dc2ae355
VZ
45 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
46 -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \
47 $(CXXFLAGS)
48BENCH_OBJECTS = \
49 bench_bench.o \
bf0f3b26 50 bench_datetime.o \
c21faa0a
VS
51 bench_htmlpars.o \
52 bench_htmltag.o \
65669e31 53 bench_ipcclient.o \
f7f7b59a 54 bench_log.o \
3e356d41 55 bench_mbconv.o \
49f11e84 56 bench_strings.o \
7b4138e2
FM
57 bench_tls.o \
58 bench_printfbench.o
7b363ab6
VZ
59BENCH_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)
63BENCH_GUI_OBJECTS = \
64 $(__bench_gui___win32rc) \
65 $(__bench_gui_os2_lib_res) \
66 bench_gui_bench.o \
67 bench_gui_image.o
dc2ae355
VZ
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
d12d9eda 76@COND_BUILD_debug@WXDEBUGFLAG = d
dc2ae355
VZ
77@COND_UNICODE_1@WXUNICODEFLAG = u
78@COND_WXUNIV_1@WXUNIVNAME = univ
79@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
51ec29ea
VZ
80@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \
81@COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI)
7b363ab6 82@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
bed99c22 83@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
dc2ae355
VZ
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)
7b363ab6
VZ
87COND_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)
120COND_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)
c80ae454
VZ
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)
7b363ab6
VZ
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)
dc2ae355 132@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
d12d9eda 133@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
dc2ae355
VZ
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
7b4138e2
FM
138COND_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)
dc2ae355
VZ
141COND_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)
57c74474
VZ
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)
8ece421c
VZ
147@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
148@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
149COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
dc2ae355 150 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
8ece421c
VZ
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)
dc2ae355
VZ
154
155### Targets: ###
156
7b363ab6 157all: bench$(EXEEXT) data $(__bench_gui___depname) $(__bench_gui_bundle___depname) data-image
dc2ae355 158
8ece421c 159install:
dc2ae355
VZ
160
161uninstall:
162
163install-strip: install
164
165clean:
166 rm -rf ./.deps ./.pch
167 rm -f ./*.o
168 rm -f bench$(EXEEXT)
7b363ab6
VZ
169 rm -f bench_gui$(EXEEXT)
170 rm -rf bench_gui.app
dc2ae355
VZ
171
172distclean: clean
173 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
174
175bench$(EXEEXT): $(BENCH_OBJECTS)
57c74474 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)
dc2ae355
VZ
177
178 $(__bench___mac_setfilecmd)
dc2ae355 179
c21faa0a
VS
180data:
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
7b363ab6 192@COND_USE_GUI_1@bench_gui$(EXEEXT): $(BENCH_GUI_OBJECTS) $(__bench_gui___win32rc)
a4830bb5 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)
bed99c22 194@COND_USE_GUI_1@
7b363ab6
VZ
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
bed99c22
VZ
201@COND_PLATFORM_MACOSX_1_USE_GUI_1@
202@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6
VZ
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
bed99c22
VZ
207@COND_PLATFORM_MACOSX_1_USE_GUI_1@
208@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6 209@COND_PLATFORM_MACOSX_1_USE_GUI_1@ /bin/echo "APPL????" >bench_gui.app/Contents/PkgInfo
bed99c22
VZ
210@COND_PLATFORM_MACOSX_1_USE_GUI_1@
211@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6 212@COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f bench_gui$(EXEEXT) bench_gui.app/Contents/MacOS/bench_gui
bed99c22
VZ
213@COND_PLATFORM_MACOSX_1_USE_GUI_1@
214@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6
VZ
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
bed99c22 219data-image:
7b363ab6
VZ
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
dc2ae355
VZ
231bench_bench.o: $(srcdir)/bench.cpp
232 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
233
bf0f3b26
VZ
234bench_datetime.o: $(srcdir)/datetime.cpp
235 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/datetime.cpp
236
c21faa0a
VS
237bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp
238 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp
239
240bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp
241 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp
242
65669e31
VZ
243bench_ipcclient.o: $(srcdir)/ipcclient.cpp
244 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp
245
f7f7b59a
VZ
246bench_log.o: $(srcdir)/log.cpp
247 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/log.cpp
248
3e356d41
VZ
249bench_mbconv.o: $(srcdir)/mbconv.cpp
250 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp
251
dc2ae355
VZ
252bench_strings.o: $(srcdir)/strings.cpp
253 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
254
49f11e84
VZ
255bench_tls.o: $(srcdir)/tls.cpp
256 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
257
7b4138e2
FM
258bench_printfbench.o: $(srcdir)/printfbench.cpp
259 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp
260
7b363ab6
VZ
261bench_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
264bench_gui_bench.o: $(srcdir)/bench.cpp
265 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/bench.cpp
266
267bench_gui_image.o: $(srcdir)/image.cpp
268 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/image.cpp
269
dc2ae355 270
dc2ae355 271# Include dependency info, if present:
8ece421c 272@IF_GNU_MAKE@-include ./.deps/*.d
dc2ae355 273
7b363ab6 274.PHONY: all install uninstall clean distclean data bench_gui_bundle data-image