Commit | Line | Data |
---|---|---|
f1e938e0 MB |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
ab5c51e5 | 3 | # Bakefile 0.2.6 (http://www.bakefile.org) |
f1e938e0 MB |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
d572bb75 | 6 | |
d572bb75 | 7 | |
f1e938e0 | 8 | @MAKE_SET@ |
d572bb75 | 9 | |
f1e938e0 MB |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
6e0fbb3d | 12 | datarootdir = @datarootdir@ |
f1e938e0 | 13 | INSTALL = @INSTALL@ |
f1e938e0 | 14 | EXEEXT = @EXEEXT@ |
8ced02f6 | 15 | WINDRES = @WINDRES@ |
f1e938e0 MB |
16 | SETFILE = @SETFILE@ |
17 | STRIP = @STRIP@ | |
b17c1746 DE |
18 | NM = @NM@ |
19 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
20 | INSTALL_DIR = @INSTALL_DIR@ | |
69199aad | 21 | BK_DEPS = @BK_DEPS@ |
b17c1746 DE |
22 | srcdir = @srcdir@ |
23 | top_srcdir = @top_srcdir@ | |
b17c1746 | 24 | bindir = @bindir@ |
69199aad | 25 | LIBS = @LIBS@ |
b17c1746 DE |
26 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
27 | CXX = @CXX@ | |
28 | CXXFLAGS = @CXXFLAGS@ | |
29 | CPPFLAGS = @CPPFLAGS@ | |
30 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 31 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
f1e938e0 MB |
32 | TOOLKIT = @TOOLKIT@ |
33 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
34 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
8ced02f6 | 35 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ |
b17c1746 DE |
36 | EXTRALIBS = @EXTRALIBS@ |
37 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ | |
38 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
7379e476 | 39 | CXXWARNINGS = @CXXWARNINGS@ |
b17c1746 | 40 | HOST_SUFFIX = @HOST_SUFFIX@ |
69199aad | 41 | wx_top_builddir = @wx_top_builddir@ |
d572bb75 | 42 | |
f1e938e0 | 43 | ### Variables: ### |
d572bb75 | 44 | |
a4ad36cd | 45 | DESTDIR = |
ae4ccf12 | 46 | WX_RELEASE = 2.9 |
69199aad | 47 | LIBDIRNAME = $(wx_top_builddir)/lib |
8c9f8f91 JS |
48 | HHP2CACHED_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
49 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
7379e476 VZ |
50 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
51 | $(CPPFLAGS) $(CXXFLAGS) | |
f1e938e0 | 52 | HHP2CACHED_OBJECTS = \ |
a4ad36cd | 53 | $(__hhp2cached_os2_lib_res) \ |
f1e938e0 MB |
54 | hhp2cached_hhp2cached.o \ |
55 | $(__hhp2cached___win32rc) | |
d572bb75 | 56 | |
f1e938e0 | 57 | ### Conditionally set variables: ### |
d572bb75 | 58 | |
f1e938e0 | 59 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
69199aad | 60 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) |
f1e938e0 MB |
61 | @COND_USE_GUI_0@PORTNAME = base |
62 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
63 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
03c6117e | 64 | @COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d |
f1e938e0 MB |
65 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d |
66 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
67 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
0e3165d7 DE |
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 = | |
6e0fbb3d | 72 | @COND_PLATFORM_MAC_0@__hhp2cached___mac_setfilecmd = @true |
b17c1746 | 73 | @COND_PLATFORM_MAC_1@__hhp2cached___mac_setfilecmd = \ |
509f339a | 74 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL hhp2cached$(EXEEXT) |
b17c1746 | 75 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
b17c1746 | 76 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ |
8c9f8f91 | 77 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS |
8c9f8f91 JS |
78 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS |
79 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
8c9f8f91 JS |
80 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI |
81 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
8c9f8f91 | 82 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS |
f1e938e0 | 83 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
f1e938e0 | 84 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL |
b17c1746 DE |
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) | |
8ced02f6 DE |
88 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ |
89 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
b17c1746 DE |
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 = \ | |
a1bf307a | 94 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
95 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) |
96 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
a1bf307a | 97 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 98 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
ceec2216 | 99 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
a1bf307a | 100 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 101 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
b17c1746 | 102 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
a1bf307a | 103 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 104 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
03c6117e VZ |
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 = \ | |
ceec2216 | 117 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
03c6117e VZ |
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) | |
f1e938e0 MB |
121 | |
122 | ### Targets: ### | |
123 | ||
124 | all: hhp2cached$(EXEEXT) | |
125 | ||
03c6117e | 126 | install: install_hhp2cached |
b17c1746 | 127 | |
69199aad | 128 | uninstall: uninstall_hhp2cached |
b17c1746 DE |
129 | |
130 | install-strip: install | |
131 | $(STRIP) $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT) | |
132 | ||
f1e938e0 MB |
133 | clean: |
134 | rm -rf ./.deps ./.pch | |
135 | rm -f ./*.o | |
136 | rm -f hhp2cached$(EXEEXT) | |
137 | ||
138 | distclean: clean | |
162a956b | 139 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
f1e938e0 MB |
140 | |
141 | hhp2cached$(EXEEXT): $(HHP2CACHED_OBJECTS) $(__hhp2cached___win32rc) | |
03c6117e | 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) |
509f339a | 143 | |
f1e938e0 | 144 | $(__hhp2cached___mac_setfilecmd) |
ec08d395 | 145 | $(__hhp2cached___os2_emxbindcmd) |
f1e938e0 | 146 | |
03c6117e | 147 | install_hhp2cached: hhp2cached$(EXEEXT) |
b17c1746 DE |
148 | $(INSTALL_DIR) $(DESTDIR)$(bindir) |
149 | $(INSTALL_PROGRAM) hhp2cached$(EXEEXT) $(DESTDIR)$(bindir) | |
150 | ||
69199aad VZ |
151 | uninstall_hhp2cached: |
152 | rm -f $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT) | |
153 | ||
f1e938e0 | 154 | hhp2cached_hhp2cached.o: $(srcdir)/hhp2cached.cpp |
162a956b | 155 | $(CXXC) -c -o $@ $(HHP2CACHED_CXXFLAGS) $(srcdir)/hhp2cached.cpp |
f1e938e0 MB |
156 | |
157 | hhp2cached_hhp2cached_rc.o: $(srcdir)/hhp2cached.rc | |
7379e476 | 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 |
f1e938e0 | 159 | |
f1e938e0 MB |
160 | |
161 | # Include dependency info, if present: | |
03c6117e | 162 | @IF_GNU_MAKE@-include ./.deps/*.d |
f1e938e0 | 163 | |
03c6117e VZ |
164 | .PHONY: all install uninstall clean distclean install_hhp2cached \ |
165 | uninstall_hhp2cached |