1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.9 (http://www.bakefile.org)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 exec_prefix = @exec_prefix@
12 datarootdir = @datarootdir@
19 INSTALL_PROGRAM = @INSTALL_PROGRAM@
20 INSTALL_DIR = @INSTALL_DIR@
23 top_srcdir = @top_srcdir@
26 LDFLAGS_GUI = @LDFLAGS_GUI@
31 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
33 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
34 TOOLKIT_VERSION = @TOOLKIT_VERSION@
35 TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
36 EXTRALIBS = @EXTRALIBS@
37 EXTRALIBS_XML = @EXTRALIBS_XML@
38 EXTRALIBS_HTML = @EXTRALIBS_HTML@
39 EXTRALIBS_GUI = @EXTRALIBS_GUI@
40 CXXWARNINGS = @CXXWARNINGS@
41 HOST_SUFFIX = @HOST_SUFFIX@
42 wx_top_builddir = @wx_top_builddir@
48 LIBDIRNAME = $(wx_top_builddir)/lib
49 HHP2CACHED_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
50 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
51 $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples \
52 $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
53 HHP2CACHED_OBJECTS = \
54 $(__hhp2cached_os2_lib_res) \
55 hhp2cached_hhp2cached.o \
56 $(__hhp2cached___win32rc)
58 ### Conditionally set variables: ###
60 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
61 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
62 @COND_USE_GUI_0@PORTNAME = base
63 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
64 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
65 @COND_BUILD_debug@WXDEBUGFLAG = d
66 @COND_UNICODE_1@WXUNICODEFLAG = u
67 @COND_WXUNIV_1@WXUNIVNAME = univ
68 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
69 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \
70 @COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI)
71 @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
72 @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
73 @COND_PLATFORM_MAC_0@__hhp2cached___mac_setfilecmd = @true
74 @COND_PLATFORM_MAC_1@__hhp2cached___mac_setfilecmd = \
75 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL hhp2cached$(EXEEXT)
76 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
77 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
78 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
79 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_2 = --define wxDEBUG_LEVEL=0
80 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
81 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
82 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
83 @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
84 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
85 @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
86 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
87 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
88 COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd = $(NM) hhp2cached$(EXEEXT) \
89 | if grep -q pmwin.763 ; then emxbind -ep hhp2cached$(EXEEXT) ; fi
90 @COND_PLATFORM_OS2_1@__hhp2cached___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd)
91 @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
92 @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
93 @COND_PLATFORM_OS2_1@__hhp2cached_os2_lib_res = \
94 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
95 @COND_PLATFORM_WIN32_1@__hhp2cached___win32rc = hhp2cached_hhp2cached_rc.o
96 COND_MONOLITHIC_0___WXLIB_HTML_p = \
97 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
98 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
99 COND_MONOLITHIC_0___WXLIB_CORE_p = \
100 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
101 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
102 COND_MONOLITHIC_0___WXLIB_BASE_p = \
103 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
104 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
105 COND_MONOLITHIC_1___WXLIB_MONO_p = \
106 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
107 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
108 @COND_MONOLITHIC_1@__LIB_SCINTILLA_IF_MONO_p = \
109 @COND_MONOLITHIC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
110 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
111 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
112 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
113 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
114 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
115 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
116 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
117 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
118 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
119 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
120 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
121 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
122 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
123 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
124 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
125 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
129 all: hhp2cached$(EXEEXT)
131 install: install_hhp2cached
133 uninstall: uninstall_hhp2cached
135 install-strip: install
136 $(STRIP) $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
139 rm -rf ./.deps ./.pch
141 rm -f hhp2cached$(EXEEXT)
144 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
146 hhp2cached$(EXEEXT): $(HHP2CACHED_OBJECTS) $(__hhp2cached___win32rc)
147 $(CXX) -o $@ $(HHP2CACHED_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(LDFLAGS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
149 $(__hhp2cached___mac_setfilecmd)
150 $(__hhp2cached___os2_emxbindcmd)
152 install_hhp2cached: hhp2cached$(EXEEXT)
153 $(INSTALL_DIR) $(DESTDIR)$(bindir)
154 $(INSTALL_PROGRAM) hhp2cached$(EXEEXT) $(DESTDIR)$(bindir)
156 uninstall_hhp2cached:
157 rm -f $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
159 hhp2cached_hhp2cached.o: $(srcdir)/hhp2cached.cpp
160 $(CXXC) -c -o $@ $(HHP2CACHED_CXXFLAGS) $(srcdir)/hhp2cached.cpp
162 hhp2cached_hhp2cached_rc.o: $(srcdir)/hhp2cached.rc
163 $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__DEBUG_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
166 # Include dependency info, if present:
167 @IF_GNU_MAKE@-include ./.deps/*.d
169 .PHONY: all install uninstall clean distclean install_hhp2cached \