]> git.saurik.com Git - wxWidgets.git/blame - tests/benchmarks/Makefile.in
compilation fix for wxOSX/Cocoa: don't use Carbon functions in common to all OS X...
[wxWidgets.git] / tests / benchmarks / Makefile.in
CommitLineData
dc2ae355
VZ
1# =========================================================================
2# This makefile was generated by
ab5c51e5 3# Bakefile 0.2.6 (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@
15SETFILE = @SETFILE@
16BK_DEPS = @BK_DEPS@
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19LIBS = @LIBS@
20CXX = @CXX@
21CXXFLAGS = @CXXFLAGS@
22CPPFLAGS = @CPPFLAGS@
23LDFLAGS = @LDFLAGS@
24WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
25TOOLKIT = @TOOLKIT@
26TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
27TOOLKIT_VERSION = @TOOLKIT_VERSION@
28EXTRALIBS = @EXTRALIBS@
29EXTRALIBS_GUI = @EXTRALIBS_GUI@
30CXXWARNINGS = @CXXWARNINGS@
31HOST_SUFFIX = @HOST_SUFFIX@
32SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
dc2ae355
VZ
33wx_top_builddir = @wx_top_builddir@
34
35### Variables: ###
36
37DESTDIR =
38WX_RELEASE = 2.9
39LIBDIRNAME = $(wx_top_builddir)/lib
40BENCH_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
41 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
42 -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \
43 $(CXXFLAGS)
44BENCH_OBJECTS = \
45 bench_bench.o \
c21faa0a
VS
46 bench_htmlpars.o \
47 bench_htmltag.o \
65669e31 48 bench_ipcclient.o \
3e356d41 49 bench_mbconv.o \
49f11e84 50 bench_strings.o \
7b4138e2
FM
51 bench_tls.o \
52 bench_printfbench.o
dc2ae355
VZ
53
54### Conditionally set variables: ###
55
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
8ece421c 61@COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d
dc2ae355
VZ
62@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
63@COND_UNICODE_1@WXUNICODEFLAG = u
64@COND_WXUNIV_1@WXUNIVNAME = univ
65@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
66@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
67@COND_PLATFORM_MAC_0@__bench___mac_setfilecmd = @true
68@COND_PLATFORM_MAC_1@__bench___mac_setfilecmd = \
69@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL bench$(EXEEXT)
70@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
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
65669e31
VZ
75COND_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)
7b4138e2
FM
78COND_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)
dc2ae355
VZ
81COND_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)
8ece421c
VZ
84@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
85@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
86COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
dc2ae355 87 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
8ece421c
VZ
88@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
89@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
90@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
dc2ae355
VZ
91
92### Targets: ###
93
c21faa0a 94all: bench$(EXEEXT) data
dc2ae355 95
8ece421c 96install:
dc2ae355
VZ
97
98uninstall:
99
100install-strip: install
101
102clean:
103 rm -rf ./.deps ./.pch
104 rm -f ./*.o
105 rm -f bench$(EXEEXT)
106
107distclean: clean
108 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
109
110bench$(EXEEXT): $(BENCH_OBJECTS)
7b4138e2 111 $(CXX) -o $@ $(BENCH_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
dc2ae355
VZ
112
113 $(__bench___mac_setfilecmd)
dc2ae355 114
c21faa0a
VS
115data:
116 @mkdir -p .
117 @for f in htmltest.html; do \
118 if test ! -f ./$$f -a ! -d ./$$f ; \
119 then x=yep ; \
120 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
121 fi; \
122 case "$$x" in ?*) \
123 cp -pRf $(srcdir)/$$f . ;; \
124 esac; \
125 done
126
dc2ae355
VZ
127bench_bench.o: $(srcdir)/bench.cpp
128 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
129
c21faa0a
VS
130bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp
131 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp
132
133bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp
134 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp
135
65669e31
VZ
136bench_ipcclient.o: $(srcdir)/ipcclient.cpp
137 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp
138
3e356d41
VZ
139bench_mbconv.o: $(srcdir)/mbconv.cpp
140 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp
141
dc2ae355
VZ
142bench_strings.o: $(srcdir)/strings.cpp
143 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
144
49f11e84
VZ
145bench_tls.o: $(srcdir)/tls.cpp
146 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
147
7b4138e2
FM
148bench_printfbench.o: $(srcdir)/printfbench.cpp
149 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp
150
dc2ae355 151
dc2ae355 152# Include dependency info, if present:
8ece421c 153@IF_GNU_MAKE@-include ./.deps/*.d
dc2ae355 154
c21faa0a 155.PHONY: all install uninstall clean distclean data