1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.4 (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 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
50 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \
51 $(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_DEBUG_FLAG_default@WXDEBUGFLAG = d
65 @COND_DEBUG_FLAG_1@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) $(EXTRALIBS_GUI)
70 @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
71 @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
72 @COND_PLATFORM_MAC_0@__hhp2cached___mac_setfilecmd = @true
73 @COND_PLATFORM_MAC_1@__hhp2cached___mac_setfilecmd = \
74 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL hhp2cached$(EXEEXT)
75 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
76 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
77 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
78 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
79 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
80 @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
81 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
82 @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
83 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
84 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
85 COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd = $(NM) hhp2cached$(EXEEXT) \
86 | if grep -q pmwin.763 ; then emxbind -ep hhp2cached$(EXEEXT) ; fi
87 @COND_PLATFORM_OS2_1@__hhp2cached___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd)
88 @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
89 @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
90 @COND_PLATFORM_OS2_1@__hhp2cached_os2_lib_res = \
91 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
92 @COND_PLATFORM_WIN32_1@__hhp2cached___win32rc = hhp2cached_hhp2cached_rc.o
93 COND_MONOLITHIC_0___WXLIB_HTML_p = \
94 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
95 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
96 COND_MONOLITHIC_0___WXLIB_CORE_p = \
97 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
98 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
99 COND_MONOLITHIC_0___WXLIB_BASE_p = \
100 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
101 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
102 COND_MONOLITHIC_1___WXLIB_MONO_p = \
103 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
104 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
105 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
106 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
107 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
108 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
109 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
110 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
111 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
112 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
113 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
114 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
115 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
116 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
117 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
118 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
119 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
120 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
124 all: hhp2cached$(EXEEXT)
126 install: install_hhp2cached
128 uninstall: uninstall_hhp2cached
130 install-strip: install
131 $(STRIP) $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
134 rm -rf ./.deps ./.pch
136 rm -f hhp2cached$(EXEEXT)
139 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
141 hhp2cached$(EXEEXT): $(HHP2CACHED_OBJECTS) $(__hhp2cached___win32rc)
142 $(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)
144 $(__hhp2cached___mac_setfilecmd)
145 $(__hhp2cached___os2_emxbindcmd)
147 install_hhp2cached: hhp2cached$(EXEEXT)
148 $(INSTALL_DIR) $(DESTDIR)$(bindir)
149 $(INSTALL_PROGRAM) hhp2cached$(EXEEXT) $(DESTDIR)$(bindir)
151 uninstall_hhp2cached:
152 rm -f $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT)
154 hhp2cached_hhp2cached.o: $(srcdir)/hhp2cached.cpp
155 $(CXXC) -c -o $@ $(HHP2CACHED_CXXFLAGS) $(srcdir)/hhp2cached.cpp
157 hhp2cached_hhp2cached_rc.o: $(srcdir)/hhp2cached.rc
158 $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_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
161 $(srcdir)/include/wx/stc/stc.h: \
162 $(srcdir)/src/stc/scintilla/include/Scintilla.iface \
163 $(srcdir)/src/stc/stc.cpp.in \
164 $(srcdir)/src/stc/stc.h.in \
165 $(srcdir)/src/stc/gen_iface.py
166 cd $(srcdir)/src/stc && ./gen_iface.py
167 monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
168 $(srcdir)/include/wx/stc/stc.h
170 # Include dependency info, if present:
171 @IF_GNU_MAKE@-include ./.deps/*.d
173 .PHONY: all install uninstall clean distclean install_hhp2cached \