1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 exec_prefix = @exec_prefix@
17 top_srcdir = @top_srcdir@
23 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
25 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
26 TOOLKIT_VERSION = @TOOLKIT_VERSION@
27 EXTRALIBS = @EXTRALIBS@
28 EXTRALIBS_GUI = @EXTRALIBS_GUI@
29 HOST_SUFFIX = @HOST_SUFFIX@
30 wx_top_builddir = @wx_top_builddir@
36 LIBDIRNAME = $(wx_top_builddir)/lib
37 HELPGEN_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
38 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
39 -I$(srcdir) $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CPPFLAGS) $(CXXFLAGS)
46 HelpGen_scriptbinder.o \
47 HelpGen_sourcepainter.o \
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_1@__HelpGen___mac_setfilecmd = \
64 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL HelpGen$(EXEEXT)
65 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
66 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
67 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
68 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
69 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
70 COND_MONOLITHIC_0___WXLIB_BASE_p = \
71 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
72 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
73 COND_MONOLITHIC_1___WXLIB_MONO_p = \
74 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
75 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
76 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
77 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
78 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
79 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
80 COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
81 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
82 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
83 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
84 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
94 install-strip: install
99 rm -f HelpGen$(EXEEXT)
102 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
104 HelpGen$(EXEEXT): $(HELPGEN_OBJECTS)
105 $(CXX) -o $@ $(HELPGEN_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
107 $(__HelpGen___mac_setfilecmd)
109 HelpGen_HelpGen.o: $(srcdir)/HelpGen.cpp
110 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/HelpGen.cpp
112 HelpGen_cjparser.o: $(srcdir)/cjparser.cpp
113 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/cjparser.cpp
115 HelpGen_docripper.o: $(srcdir)/docripper.cpp
116 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/docripper.cpp
118 HelpGen_ifcontext.o: $(srcdir)/ifcontext.cpp
119 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/ifcontext.cpp
121 HelpGen_markup.o: $(srcdir)/markup.cpp
122 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/markup.cpp
124 HelpGen_scriptbinder.o: $(srcdir)/scriptbinder.cpp
125 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/scriptbinder.cpp
127 HelpGen_sourcepainter.o: $(srcdir)/sourcepainter.cpp
128 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/sourcepainter.cpp
130 HelpGen_srcparser.o: $(srcdir)/srcparser.cpp
131 $(CXXC) -c -o $@ $(HELPGEN_CXXFLAGS) $(srcdir)/srcparser.cpp
134 # Include dependency info, if present:
135 @IF_GNU_MAKE@-include .deps/*.d
137 .PHONY: all install uninstall clean distclean