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 # =========================================================================
11 exec_prefix = @exec_prefix@
12 datarootdir = @datarootdir@
18 top_srcdir = @top_srcdir@
24 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
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@
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) \
50 ### Conditionally set variables: ###
52 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
53 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
54 @COND_USE_GUI_0@PORTNAME = base
55 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
56 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
57 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
58 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
59 @COND_UNICODE_1@WXUNICODEFLAG = u
60 @COND_WXUNIV_1@WXUNIVNAME = univ
61 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
62 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
63 @COND_PLATFORM_MAC_0@__bench___mac_setfilecmd = @true
64 @COND_PLATFORM_MAC_1@__bench___mac_setfilecmd = \
65 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL bench$(EXEEXT)
66 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
67 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
68 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
69 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
70 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
71 COND_MONOLITHIC_0___WXLIB_BASE_p = \
72 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
73 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
74 COND_MONOLITHIC_1___WXLIB_MONO_p = \
75 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
76 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
77 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
78 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
79 COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
80 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
81 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
82 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
83 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
93 install-strip: install
101 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
103 bench$(EXEEXT): $(BENCH_OBJECTS)
104 $(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)
106 $(__bench___mac_setfilecmd)
107 $(SAMPLES_RPATH_POSTLINK)
109 bench_bench.o: $(srcdir)/bench.cpp
110 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/bench.cpp
112 bench_strings.o: $(srcdir)/strings.cpp
113 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/strings.cpp
115 bench_tls.o: $(srcdir)/tls.cpp
116 $(CXXC) -c -o $@ $(BENCH_CXXFLAGS) $(srcdir)/tls.cpp
119 $(srcdir)/include/wx/stc/stc.h: \
120 $(srcdir)/src/stc/scintilla/include/Scintilla.iface \
121 $(srcdir)/src/stc/stc.cpp.in \
122 $(srcdir)/src/stc/stc.h.in \
123 $(srcdir)/src/stc/gen_iface.py
124 cd $(srcdir)/src/stc && ./gen_iface.py
125 monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
126 $(srcdir)/include/wx/stc/stc.h
128 # Include dependency info, if present:
129 @IF_GNU_MAKE@-include .deps/*.d
131 .PHONY: all install uninstall clean distclean