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 # =========================================================================
11 exec_prefix = @exec_prefix@
12 datarootdir = @datarootdir@
18 top_srcdir = @top_srcdir@
24 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
26 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
27 TOOLKIT_VERSION = @TOOLKIT_VERSION@
28 EXTRALIBS = @EXTRALIBS@
29 EXTRALIBS_GUI = @EXTRALIBS_GUI@
30 CXXWARNINGS = @CXXWARNINGS@
31 HOST_SUFFIX = @HOST_SUFFIX@
32 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
33 wx_top_builddir = @wx_top_builddir@
39 LIBDIRNAME = $(wx_top_builddir)/lib
40 BENCH_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
41 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
42 -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \
54 ### Conditionally set variables: ###
56 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
57 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
58 @COND_USE_GUI_0@PORTNAME = base
59 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
60 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
61 @COND_BUILD_debug@WXDEBUGFLAG = d
62 @COND_UNICODE_1@WXUNICODEFLAG = u
63 @COND_WXUNIV_1@WXUNIVNAME = univ
64 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
65 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
66 @COND_PLATFORM_MAC_0@__bench___mac_setfilecmd = @true
67 @COND_PLATFORM_MAC_1@__bench___mac_setfilecmd = \
68 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL bench$(EXEEXT)
69 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
70 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
71 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
72 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
73 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
74 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
75 COND_MONOLITHIC_0___WXLIB_NET_p = \
76 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
77 @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
78 COND_MONOLITHIC_0___WXLIB_BASE_p = \
79 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
80 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
81 COND_MONOLITHIC_1___WXLIB_MONO_p = \
82 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
83 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
84 @COND_MONOLITHIC_1@__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
85 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
86 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
87 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
88 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
89 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
90 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
91 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
92 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
93 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
94 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
98 all: bench$(EXEEXT) data
104 install-strip: install
107 rm -rf ./.deps ./.pch
112 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
114 bench$(EXEEXT): $(BENCH_OBJECTS)
115 $(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)
117 $(__bench___mac_setfilecmd)
121 @for f in htmltest.html; do \
122 if test ! -f ./$$f -a ! -d ./$$f ; \
124 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
127 cp -pRf $(srcdir)/$$f . ;; \
131 bench_bench.o: $(srcdir)/bench.cpp
132 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
134 bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp
135 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp
137 bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp
138 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp
140 bench_ipcclient.o: $(srcdir)/ipcclient.cpp
141 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp
143 bench_mbconv.o: $(srcdir)/mbconv.cpp
144 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp
146 bench_strings.o: $(srcdir)/strings.cpp
147 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
149 bench_tls.o: $(srcdir)/tls.cpp
150 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
152 bench_printfbench.o: $(srcdir)/printfbench.cpp
153 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp
156 # Include dependency info, if present:
157 @IF_GNU_MAKE@-include ./.deps/*.d
159 .PHONY: all install uninstall clean distclean data