]>
Commit | Line | Data |
---|---|---|
dc2ae355 VZ |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.3 (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_GUI = @EXTRALIBS_GUI@ | |
30 | CXXWARNINGS = @CXXWARNINGS@ | |
31 | HOST_SUFFIX = @HOST_SUFFIX@ | |
32 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
33 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ | |
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) \ | |
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 \ | |
c21faa0a VS |
47 | bench_htmlpars.o \ |
48 | bench_htmltag.o \ | |
49f11e84 VZ |
49 | bench_strings.o \ |
50 | bench_tls.o | |
dc2ae355 VZ |
51 | |
52 | ### Conditionally set variables: ### | |
53 | ||
54 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
55 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
56 | @COND_USE_GUI_0@PORTNAME = base | |
57 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
58 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
59 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
60 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
61 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
62 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
63 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) | |
64 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
65 | @COND_PLATFORM_MAC_0@__bench___mac_setfilecmd = @true | |
66 | @COND_PLATFORM_MAC_1@__bench___mac_setfilecmd = \ | |
67 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL bench$(EXEEXT) | |
68 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
69 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
70 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
71 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
72 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
73 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
74 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
75 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
76 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
77 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
78 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
79 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ | |
80 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
81 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ | |
82 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
83 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
84 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
85 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
86 | ||
87 | ### Targets: ### | |
88 | ||
c21faa0a | 89 | all: bench$(EXEEXT) data |
dc2ae355 VZ |
90 | |
91 | install: all | |
92 | ||
93 | uninstall: | |
94 | ||
95 | install-strip: install | |
96 | ||
97 | clean: | |
98 | rm -rf ./.deps ./.pch | |
99 | rm -f ./*.o | |
100 | rm -f bench$(EXEEXT) | |
101 | ||
102 | distclean: clean | |
103 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
104 | ||
105 | bench$(EXEEXT): $(BENCH_OBJECTS) | |
7664a67f | 106 | $(CXX) -o $@ $(BENCH_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) |
dc2ae355 VZ |
107 | |
108 | $(__bench___mac_setfilecmd) | |
109 | $(SAMPLES_RPATH_POSTLINK) | |
110 | ||
c21faa0a VS |
111 | data: |
112 | @mkdir -p . | |
113 | @for f in htmltest.html; do \ | |
114 | if test ! -f ./$$f -a ! -d ./$$f ; \ | |
115 | then x=yep ; \ | |
116 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
117 | fi; \ | |
118 | case "$$x" in ?*) \ | |
119 | cp -pRf $(srcdir)/$$f . ;; \ | |
120 | esac; \ | |
121 | done | |
122 | ||
dc2ae355 VZ |
123 | bench_bench.o: $(srcdir)/bench.cpp |
124 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp | |
125 | ||
c21faa0a VS |
126 | bench_htmlpars.o: $(srcdir)/htmlparser/htmlpars.cpp |
127 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmlpars.cpp | |
128 | ||
129 | bench_htmltag.o: $(srcdir)/htmlparser/htmltag.cpp | |
130 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/htmlparser/htmltag.cpp | |
131 | ||
dc2ae355 VZ |
132 | bench_strings.o: $(srcdir)/strings.cpp |
133 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp | |
134 | ||
49f11e84 VZ |
135 | bench_tls.o: $(srcdir)/tls.cpp |
136 | $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp | |
137 | ||
dc2ae355 VZ |
138 | |
139 | $(srcdir)/include/wx/stc/stc.h: \ | |
140 | $(srcdir)/src/stc/scintilla/include/Scintilla.iface \ | |
141 | $(srcdir)/src/stc/stc.cpp.in \ | |
142 | $(srcdir)/src/stc/stc.h.in \ | |
143 | $(srcdir)/src/stc/gen_iface.py | |
144 | cd $(srcdir)/src/stc && ./gen_iface.py | |
145 | monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \ | |
146 | $(srcdir)/include/wx/stc/stc.h | |
147 | ||
148 | # Include dependency info, if present: | |
7664a67f | 149 | @IF_GNU_MAKE@-include .deps/*.d |
dc2ae355 | 150 | |
c21faa0a | 151 | .PHONY: all install uninstall clean distclean data |