]> git.saurik.com Git - wxWidgets.git/blame - tests/benchmarks/Makefile.in
Disable test for setting the creation time under Unix.
[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)
a4830bb5
VZ
123@COND_MONOLITHIC_1@__LIB_SCINTILLA_IF_MONO_p = \
124@COND_MONOLITHIC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
7b363ab6
VZ
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)
dc2ae355 131@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
d12d9eda 132@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
dc2ae355
VZ
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
7b4138e2
FM
137COND_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)
dc2ae355
VZ
140COND_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)
57c74474
VZ
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)
8ece421c
VZ
146@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
147@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
148COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
dc2ae355 149 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
8ece421c
VZ
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)
dc2ae355
VZ
153
154### Targets: ###
155
7b363ab6 156all: bench$(EXEEXT) data $(__bench_gui___depname) $(__bench_gui_bundle___depname) data-image
dc2ae355 157
8ece421c 158install:
dc2ae355
VZ
159
160uninstall:
161
162install-strip: install
163
164clean:
165 rm -rf ./.deps ./.pch
166 rm -f ./*.o
167 rm -f bench$(EXEEXT)
7b363ab6
VZ
168 rm -f bench_gui$(EXEEXT)
169 rm -rf bench_gui.app
dc2ae355
VZ
170
171distclean: clean
172 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
173
174bench$(EXEEXT): $(BENCH_OBJECTS)
57c74474 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)
dc2ae355
VZ
176
177 $(__bench___mac_setfilecmd)
dc2ae355 178
c21faa0a
VS
179data:
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
7b363ab6 191@COND_USE_GUI_1@bench_gui$(EXEEXT): $(BENCH_GUI_OBJECTS) $(__bench_gui___win32rc)
a4830bb5 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)
bed99c22 193@COND_USE_GUI_1@
7b363ab6
VZ
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
bed99c22
VZ
200@COND_PLATFORM_MACOSX_1_USE_GUI_1@
201@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6
VZ
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
bed99c22
VZ
206@COND_PLATFORM_MACOSX_1_USE_GUI_1@
207@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6 208@COND_PLATFORM_MACOSX_1_USE_GUI_1@ /bin/echo "APPL????" >bench_gui.app/Contents/PkgInfo
bed99c22
VZ
209@COND_PLATFORM_MACOSX_1_USE_GUI_1@
210@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6 211@COND_PLATFORM_MACOSX_1_USE_GUI_1@ ln -f bench_gui$(EXEEXT) bench_gui.app/Contents/MacOS/bench_gui
bed99c22
VZ
212@COND_PLATFORM_MACOSX_1_USE_GUI_1@
213@COND_PLATFORM_MACOSX_1_USE_GUI_1@
7b363ab6
VZ
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
bed99c22 218data-image:
7b363ab6
VZ
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
dc2ae355
VZ
230bench_bench.o: $(srcdir)/bench.cpp
231 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
232
bf0f3b26
VZ
233bench_datetime.o: $(srcdir)/datetime.cpp
234 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/datetime.cpp
235
c21faa0a
VS
236bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp
237 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp
238
239bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp
240 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp
241
65669e31
VZ
242bench_ipcclient.o: $(srcdir)/ipcclient.cpp
243 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp
244
f7f7b59a
VZ
245bench_log.o: $(srcdir)/log.cpp
246 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/log.cpp
247
3e356d41
VZ
248bench_mbconv.o: $(srcdir)/mbconv.cpp
249 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp
250
dc2ae355
VZ
251bench_strings.o: $(srcdir)/strings.cpp
252 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
253
49f11e84
VZ
254bench_tls.o: $(srcdir)/tls.cpp
255 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
256
7b4138e2
FM
257bench_printfbench.o: $(srcdir)/printfbench.cpp
258 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp
259
7b363ab6
VZ
260bench_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
263bench_gui_bench.o: $(srcdir)/bench.cpp
264 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/bench.cpp
265
266bench_gui_image.o: $(srcdir)/image.cpp
267 $(CXXC) -c -o $@ $(BENCH_GUI_CXXFLAGS) $(srcdir)/image.cpp
268
dc2ae355 269
dc2ae355 270# Include dependency info, if present:
8ece421c 271@IF_GNU_MAKE@-include ./.deps/*.d
dc2ae355 272
7b363ab6 273.PHONY: all install uninstall clean distclean data bench_gui_bundle data-image