]>
Commit | Line | Data |
---|---|---|
dc2ae355 VZ |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
506e9b7e | 3 | # Bakefile 0.2.5 (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 | |
40 | BENCH_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) | |
44 | BENCH_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 VZ |
50 | bench_strings.o \ |
51 | bench_tls.o | |
dc2ae355 VZ |
52 | |
53 | ### Conditionally set variables: ### | |
54 | ||
55 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
56 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
57 | @COND_USE_GUI_0@PORTNAME = base | |
58 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
59 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
8ece421c | 60 | @COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d |
dc2ae355 VZ |
61 | @COND_DEBUG_FLAG_1@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_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
71 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
72 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
73 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
74 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
75 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
76 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
65669e31 VZ |
77 | COND_MONOLITHIC_0___WXLIB_NET_p = \ |
78 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX) | |
79 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
dc2ae355 VZ |
80 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
81 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
82 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
8ece421c VZ |
83 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ |
84 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
85 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
dc2ae355 | 86 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
8ece421c VZ |
87 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) |
88 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
89 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
dc2ae355 VZ |
90 | |
91 | ### Targets: ### | |
92 | ||
c21faa0a | 93 | all: bench$(EXEEXT) data |
dc2ae355 | 94 | |
8ece421c | 95 | install: |
dc2ae355 VZ |
96 | |
97 | uninstall: | |
98 | ||
99 | install-strip: install | |
100 | ||
101 | clean: | |
102 | rm -rf ./.deps ./.pch | |
103 | rm -f ./*.o | |
104 | rm -f bench$(EXEEXT) | |
105 | ||
106 | distclean: clean | |
107 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
108 | ||
109 | bench$(EXEEXT): $(BENCH_OBJECTS) | |
65669e31 | 110 | $(CXX) -o $@ $(BENCH_OBJECTS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_BASE_p) $(__WXLIB_NET_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) |
dc2ae355 VZ |
111 | |
112 | $(__bench___mac_setfilecmd) | |
dc2ae355 | 113 | |
c21faa0a VS |
114 | data: |
115 | @mkdir -p . | |
116 | @for f in htmltest.html; do \ | |
117 | if test ! -f ./$$f -a ! -d ./$$f ; \ | |
118 | then x=yep ; \ | |
119 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
120 | fi; \ | |
121 | case "$$x" in ?*) \ | |
122 | cp -pRf $(srcdir)/$$f . ;; \ | |
123 | esac; \ | |
124 | done | |
125 | ||
dc2ae355 VZ |
126 | bench_bench.o: $(srcdir)/bench.cpp |
127 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp | |
128 | ||
c21faa0a VS |
129 | bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp |
130 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp | |
131 | ||
132 | bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp | |
133 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp | |
134 | ||
65669e31 VZ |
135 | bench_ipcclient.o: $(srcdir)/ipcclient.cpp |
136 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/ipcclient.cpp | |
137 | ||
3e356d41 VZ |
138 | bench_mbconv.o: $(srcdir)/mbconv.cpp |
139 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/mbconv.cpp | |
140 | ||
dc2ae355 VZ |
141 | bench_strings.o: $(srcdir)/strings.cpp |
142 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp | |
143 | ||
49f11e84 VZ |
144 | bench_tls.o: $(srcdir)/tls.cpp |
145 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp | |
146 | ||
dc2ae355 | 147 | |
7da00c46 KO |
148 | @COND_USE_STC_1@$(srcdir)/include/wx/stc/stc.h: \ |
149 | @COND_USE_STC_1@$(srcdir)/src/stc/scintilla/include/Scintilla.iface \ | |
150 | @COND_USE_STC_1@$(srcdir)/src/stc/stc.cpp.in \ | |
151 | @COND_USE_STC_1@$(srcdir)/src/stc/stc.h.in \ | |
152 | @COND_USE_STC_1@$(srcdir)/src/stc/gen_iface.py | |
153 | @COND_USE_STC_1@ cd $(srcdir)/src/stc && ./gen_iface.py | |
154 | @COND_USE_STC_1@monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \ | |
155 | @COND_USE_STC_1@ $(srcdir)/include/wx/stc/stc.h | |
dc2ae355 VZ |
156 | |
157 | # Include dependency info, if present: | |
8ece421c | 158 | @IF_GNU_MAKE@-include ./.deps/*.d |
dc2ae355 | 159 | |
c21faa0a | 160 | .PHONY: all install uninstall clean distclean data |