]> git.saurik.com Git - wxWidgets.git/blob - tests/benchmarks/Makefile.in
adding constants for newer OSX versions to make sure our conditional expressions...
[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 SETFILE = @SETFILE@
16 BK_DEPS = @BK_DEPS@
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 LIBS = @LIBS@
20 CXX = @CXX@
21 CXXFLAGS = @CXXFLAGS@
22 CPPFLAGS = @CPPFLAGS@
23 LDFLAGS = @LDFLAGS@
24 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
25 TOOLKIT = @TOOLKIT@
26 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
27 TOOLKIT_VERSION = @TOOLKIT_VERSION@
28 EXTRALIBS = @EXTRALIBS@
29 EXTRALIBS_XML = @EXTRALIBS_XML@
30 EXTRALIBS_GUI = @EXTRALIBS_GUI@
31 CXXWARNINGS = @CXXWARNINGS@
32 HOST_SUFFIX = @HOST_SUFFIX@
33 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
34 wx_top_builddir = @wx_top_builddir@
35
36 ### Variables: ###
37
38 DESTDIR =
39 WX_RELEASE = 2.9
40 LIBDIRNAME = $(wx_top_builddir)/lib
41 BENCH_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
42 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
43 -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \
44 $(CXXFLAGS)
45 BENCH_OBJECTS = \
46 bench_bench.o \
47 bench_datetime.o \
48 bench_htmlpars.o \
49 bench_htmltag.o \
50 bench_ipcclient.o \
51 bench_log.o \
52 bench_mbconv.o \
53 bench_strings.o \
54 bench_tls.o \
55 bench_printfbench.o
56
57 ### Conditionally set variables: ###
58
59 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
60 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
61 @COND_USE_GUI_0@PORTNAME = base
62 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
63 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
64 @COND_BUILD_debug@WXDEBUGFLAG = d
65 @COND_UNICODE_1@WXUNICODEFLAG = u
66 @COND_WXUNIV_1@WXUNIVNAME = univ
67 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
68 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \
69 @COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI)
70 @COND_PLATFORM_MAC_0@__bench___mac_setfilecmd = @true
71 @COND_PLATFORM_MAC_1@__bench___mac_setfilecmd = \
72 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL bench$(EXEEXT)
73 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
74 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
75 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
76 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
77 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
78 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
79 COND_MONOLITHIC_0___WXLIB_NET_p = \
80 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
81 @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
82 COND_MONOLITHIC_0___WXLIB_BASE_p = \
83 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
84 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
85 COND_MONOLITHIC_1___WXLIB_MONO_p = \
86 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
87 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
88 @COND_MONOLITHIC_1@__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
89 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
90 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
91 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
92 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
93 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
94 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
95 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
96 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
97 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
98 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
99
100 ### Targets: ###
101
102 all: bench$(EXEEXT) data
103
104 install:
105
106 uninstall:
107
108 install-strip: install
109
110 clean:
111 rm -rf ./.deps ./.pch
112 rm -f ./*.o
113 rm -f bench$(EXEEXT)
114
115 distclean: clean
116 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
117
118 bench$(EXEEXT): $(BENCH_OBJECTS)
119 $(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)
120
121 $(__bench___mac_setfilecmd)
122
123 data:
124 @mkdir -p .
125 @for f in htmltest.html; do \
126 if test ! -f ./$$f -a ! -d ./$$f ; \
127 then x=yep ; \
128 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
129 fi; \
130 case "$$x" in ?*) \
131 cp -pRf $(srcdir)/$$f . ;; \
132 esac; \
133 done
134
135 bench_bench.o: $(srcdir)/bench.cpp
136 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
137
138 bench_datetime.o: $(srcdir)/datetime.cpp
139 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/datetime.cpp
140
141 bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp
142 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp
143
144 bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp
145 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp
146
147 bench_ipcclient.o: $(srcdir)/ipcclient.cpp
148 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp
149
150 bench_log.o: $(srcdir)/log.cpp
151 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/log.cpp
152
153 bench_mbconv.o: $(srcdir)/mbconv.cpp
154 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp
155
156 bench_strings.o: $(srcdir)/strings.cpp
157 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
158
159 bench_tls.o: $(srcdir)/tls.cpp
160 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
161
162 bench_printfbench.o: $(srcdir)/printfbench.cpp
163 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp
164
165
166 # Include dependency info, if present:
167 @IF_GNU_MAKE@-include ./.deps/*.d
168
169 .PHONY: all install uninstall clean distclean data