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_USE_STC_1@__LIB_SCINTILLA_IF_MONO_p \
109 @COND_MONOLITHIC_1_USE_STC_1@ = \
110 @COND_MONOLITHIC_1_USE_STC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
111 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
112 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
113 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
114 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
115 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
116 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
117 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
118 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
119 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
120 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
121 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
122 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
123 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
124 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
125 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
126 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
130 all: hhp2cached$(EXEEXT)
132 install: install_hhp2cached
134 uninstall: uninstall_hhp2cached
136 install-strip: install
137 $(STRIP) $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
140 rm -rf ./.deps ./.pch
142 rm -f hhp2cached$(EXEEXT)
145 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
147 hhp2cached$(EXEEXT): $(HHP2CACHED_OBJECTS) $(__hhp2cached___win32rc)
148 $(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)
150 $(__hhp2cached___mac_setfilecmd)
151 $(__hhp2cached___os2_emxbindcmd)
153 install_hhp2cached: hhp2cached$(EXEEXT)
154 $(INSTALL_DIR) $(DESTDIR)$(bindir)
155 $(INSTALL_PROGRAM) hhp2cached$(EXEEXT) $(DESTDIR)$(bindir)
157 uninstall_hhp2cached:
158 rm -f $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
160 hhp2cached_hhp2cached.o: $(srcdir)/hhp2cached.cpp
161 $(CXXC) -c -o $@ $(HHP2CACHED_CXXFLAGS) $(srcdir)/hhp2cached.cpp
163 hhp2cached_hhp2cached_rc.o: $(srcdir)/hhp2cached.rc
164 $(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
167 # Include dependency info, if present:
168 @IF_GNU_MAKE@-include ./.deps/*.d
170 .PHONY: all install uninstall clean distclean install_hhp2cached \