]>
Commit | Line | Data |
---|---|---|
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 | ||
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_GUI = @EXTRALIBS_GUI@ | |
30 | CXXWARNINGS = @CXXWARNINGS@ | |
31 | HOST_SUFFIX = @HOST_SUFFIX@ | |
32 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
dc2ae355 VZ |
33 | wx_top_builddir = @wx_top_builddir@ |
34 | ||
35 | ### Variables: ### | |
36 | ||
37 | DESTDIR = | |
38 | WX_RELEASE = 2.9 | |
39 | LIBDIRNAME = $(wx_top_builddir)/lib | |
d12d9eda | 40 | BENCH_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ |
dc2ae355 VZ |
41 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ |
42 | -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CXXWARNINGS) $(CPPFLAGS) \ | |
43 | $(CXXFLAGS) | |
44 | BENCH_OBJECTS = \ | |
45 | bench_bench.o \ | |
bf0f3b26 | 46 | bench_datetime.o \ |
c21faa0a VS |
47 | bench_htmlpars.o \ |
48 | bench_htmltag.o \ | |
65669e31 | 49 | bench_ipcclient.o \ |
3e356d41 | 50 | bench_mbconv.o \ |
49f11e84 | 51 | bench_strings.o \ |
7b4138e2 FM |
52 | bench_tls.o \ |
53 | bench_printfbench.o | |
dc2ae355 VZ |
54 | |
55 | ### Conditionally set variables: ### | |
56 | ||
57 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
58 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
59 | @COND_USE_GUI_0@PORTNAME = base | |
60 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
61 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
d12d9eda | 62 | @COND_BUILD_debug@WXDEBUGFLAG = d |
dc2ae355 VZ |
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__ | |
d12d9eda | 71 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 |
dc2ae355 VZ |
72 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS |
73 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
74 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
75 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
65669e31 VZ |
76 | COND_MONOLITHIC_0___WXLIB_NET_p = \ |
77 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
78 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
7b4138e2 FM |
79 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
80 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
81 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
dc2ae355 VZ |
82 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
83 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
84 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
57c74474 VZ |
85 | @COND_MONOLITHIC_1@__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p) |
86 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ | |
87 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ | |
88 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
8ece421c VZ |
89 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ |
90 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
91 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
dc2ae355 | 92 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
8ece421c VZ |
93 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) |
94 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
95 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
dc2ae355 VZ |
96 | |
97 | ### Targets: ### | |
98 | ||
c21faa0a | 99 | all: bench$(EXEEXT) data |
dc2ae355 | 100 | |
8ece421c | 101 | install: |
dc2ae355 VZ |
102 | |
103 | uninstall: | |
104 | ||
105 | install-strip: install | |
106 | ||
107 | clean: | |
108 | rm -rf ./.deps ./.pch | |
109 | rm -f ./*.o | |
110 | rm -f bench$(EXEEXT) | |
111 | ||
112 | distclean: clean | |
113 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
114 | ||
115 | bench$(EXEEXT): $(BENCH_OBJECTS) | |
57c74474 | 116 | $(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 |
117 | |
118 | $(__bench___mac_setfilecmd) | |
dc2ae355 | 119 | |
c21faa0a VS |
120 | data: |
121 | @mkdir -p . | |
122 | @for f in htmltest.html; do \ | |
123 | if test ! -f ./$$f -a ! -d ./$$f ; \ | |
124 | then x=yep ; \ | |
125 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
126 | fi; \ | |
127 | case "$$x" in ?*) \ | |
128 | cp -pRf $(srcdir)/$$f . ;; \ | |
129 | esac; \ | |
130 | done | |
131 | ||
dc2ae355 VZ |
132 | bench_bench.o: $(srcdir)/bench.cpp |
133 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp | |
134 | ||
bf0f3b26 VZ |
135 | bench_datetime.o: $(srcdir)/datetime.cpp |
136 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/datetime.cpp | |
137 | ||
c21faa0a VS |
138 | bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp |
139 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp | |
140 | ||
141 | bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp | |
142 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp | |
143 | ||
65669e31 VZ |
144 | bench_ipcclient.o: $(srcdir)/ipcclient.cpp |
145 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp | |
146 | ||
3e356d41 VZ |
147 | bench_mbconv.o: $(srcdir)/mbconv.cpp |
148 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp | |
149 | ||
dc2ae355 VZ |
150 | bench_strings.o: $(srcdir)/strings.cpp |
151 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp | |
152 | ||
49f11e84 VZ |
153 | bench_tls.o: $(srcdir)/tls.cpp |
154 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp | |
155 | ||
7b4138e2 FM |
156 | bench_printfbench.o: $(srcdir)/printfbench.cpp |
157 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/printfbench.cpp | |
158 | ||
dc2ae355 | 159 | |
dc2ae355 | 160 | # Include dependency info, if present: |
8ece421c | 161 | @IF_GNU_MAKE@-include ./.deps/*.d |
dc2ae355 | 162 | |
c21faa0a | 163 | .PHONY: all install uninstall clean distclean data |