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_HTML = @EXTRALIBS_HTML@
38 EXTRALIBS_GUI = @EXTRALIBS_GUI@
39 CXXWARNINGS = @CXXWARNINGS@
40 HOST_SUFFIX = @HOST_SUFFIX@
41 wx_top_builddir = @wx_top_builddir@
47 LIBDIRNAME = $(wx_top_builddir)/lib
48 HHP2CACHED_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
49 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
50 $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples \
51 $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
52 HHP2CACHED_OBJECTS = \
53 $(__hhp2cached_os2_lib_res) \
54 hhp2cached_hhp2cached.o \
55 $(__hhp2cached___win32rc)
57 ### Conditionally set variables: ###
59 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
60 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
61 @COND_USE_GUI_0@PORTNAME = base
62 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
63 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
64 @COND_BUILD_debug@WXDEBUGFLAG = d
65 @COND_UNICODE_1@WXUNICODEFLAG = u
66 @COND_WXUNIV_1@WXUNIVNAME = univ
67 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
68 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
69 @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
70 @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
71 @COND_PLATFORM_MAC_0@__hhp2cached___mac_setfilecmd = @true
72 @COND_PLATFORM_MAC_1@__hhp2cached___mac_setfilecmd = \
73 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL hhp2cached$(EXEEXT)
74 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
75 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
76 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
77 @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_2 = --define wxDEBUG_LEVEL=0
78 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
79 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
80 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
81 @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
82 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
83 @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
84 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
85 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
86 COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd = $(NM) hhp2cached$(EXEEXT) \
87 | if grep -q pmwin.763 ; then emxbind -ep hhp2cached$(EXEEXT) ; fi
88 @COND_PLATFORM_OS2_1@__hhp2cached___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd)
89 @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
90 @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
91 @COND_PLATFORM_OS2_1@__hhp2cached_os2_lib_res = \
92 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
93 @COND_PLATFORM_WIN32_1@__hhp2cached___win32rc = hhp2cached_hhp2cached_rc.o
94 COND_MONOLITHIC_0___WXLIB_HTML_p = \
95 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
96 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
97 COND_MONOLITHIC_0___WXLIB_CORE_p = \
98 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
99 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
100 COND_MONOLITHIC_0___WXLIB_BASE_p = \
101 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
102 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
103 COND_MONOLITHIC_1___WXLIB_MONO_p = \
104 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
105 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
106 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
107 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
108 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
109 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
110 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
111 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
112 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
113 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
114 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
115 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
116 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
117 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
118 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
119 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
120 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
121 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
125 all: hhp2cached$(EXEEXT)
127 install: install_hhp2cached
129 uninstall: uninstall_hhp2cached
131 install-strip: install
132 $(STRIP) $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
135 rm -rf ./.deps ./.pch
137 rm -f hhp2cached$(EXEEXT)
140 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
142 hhp2cached$(EXEEXT): $(HHP2CACHED_OBJECTS) $(__hhp2cached___win32rc)
143 $(CXX) -o $@ $(HHP2CACHED_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(LDFLAGS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_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)
145 $(__hhp2cached___mac_setfilecmd)
146 $(__hhp2cached___os2_emxbindcmd)
148 install_hhp2cached: hhp2cached$(EXEEXT)
149 $(INSTALL_DIR) $(DESTDIR)$(bindir)
150 $(INSTALL_PROGRAM) hhp2cached$(EXEEXT) $(DESTDIR)$(bindir)
152 uninstall_hhp2cached:
153 rm -f $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
155 hhp2cached_hhp2cached.o: $(srcdir)/hhp2cached.cpp
156 $(CXXC) -c -o $@ $(HHP2CACHED_CXXFLAGS) $(srcdir)/hhp2cached.cpp
158 hhp2cached_hhp2cached_rc.o: $(srcdir)/hhp2cached.rc
159 $(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
162 # Include dependency info, if present:
163 @IF_GNU_MAKE@-include ./.deps/*.d
165 .PHONY: all install uninstall clean distclean install_hhp2cached \