]>
Commit | Line | Data |
---|---|---|
f1e938e0 MB |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3fd9c298 | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
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@ | |
12 | INSTALL = @INSTALL@ | |
f1e938e0 | 13 | EXEEXT = @EXEEXT@ |
f1e938e0 MB |
14 | RESCOMP = @RESCOMP@ |
15 | SETFILE = @SETFILE@ | |
16 | STRIP = @STRIP@ | |
b17c1746 DE |
17 | NM = @NM@ |
18 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
19 | INSTALL_DIR = @INSTALL_DIR@ | |
20 | srcdir = @srcdir@ | |
21 | top_srcdir = @top_srcdir@ | |
22 | top_builddir = @top_builddir@ | |
23 | bindir = @bindir@ | |
24 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
25 | CXX = @CXX@ | |
26 | CXXFLAGS = @CXXFLAGS@ | |
27 | CPPFLAGS = @CPPFLAGS@ | |
28 | LDFLAGS = @LDFLAGS@ | |
f1e938e0 MB |
29 | TOOLKIT = @TOOLKIT@ |
30 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
31 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
b17c1746 DE |
32 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
33 | EXTRALIBS = @EXTRALIBS@ | |
34 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ | |
35 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
36 | HOST_SUFFIX = @HOST_SUFFIX@ | |
ceec2216 | 37 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
d572bb75 | 38 | |
f1e938e0 | 39 | ### Variables: ### |
d572bb75 | 40 | |
a4ad36cd | 41 | DESTDIR = |
ceec2216 | 42 | WX_RELEASE = 2.5 |
b17c1746 | 43 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 VS |
44 | HHP2CACHED_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
45 | $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS) | |
f1e938e0 | 46 | HHP2CACHED_OBJECTS = \ |
a4ad36cd | 47 | $(__hhp2cached_os2_lib_res) \ |
f1e938e0 MB |
48 | hhp2cached_hhp2cached.o \ |
49 | $(__hhp2cached___win32rc) | |
d572bb75 | 50 | |
f1e938e0 | 51 | ### Conditionally set variables: ### |
d572bb75 | 52 | |
f1e938e0 MB |
53 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
54 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
55 | @COND_USE_GUI_0@PORTNAME = base | |
56 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
57 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
58 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
59 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
60 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
61 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
b17c1746 DE |
62 | @COND_PLATFORM_MAC_1@__hhp2cached___mac_setfilecmd = \ |
63 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C hhp2cached$(EXEEXT) | |
64 | @COND_PLATFORM_MAC_1@__hhp2cached___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
65 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
66 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
67 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
f1e938e0 MB |
68 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
69 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
70 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
b17c1746 DE |
71 | COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd = $(NM) hhp2cached$(EXEEXT) \ |
72 | | if grep -q pmwin.763 ; then emxbind -ep hhp2cached$(EXEEXT) ; fi | |
73 | @COND_PLATFORM_OS2_1@__hhp2cached___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd) | |
74 | @COND_PLATFORM_OS2_1@__hhp2cached_os2_lib_res = \ | |
75 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
76 | @COND_PLATFORM_WIN32_1@__hhp2cached___win32rc = hhp2cached_hhp2cached_rc.o | |
77 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ | |
ceec2216 | 78 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-2.5$(HOST_SUFFIX) |
b17c1746 DE |
79 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) |
80 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
ceec2216 | 81 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-2.5$(HOST_SUFFIX) |
b17c1746 | 82 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
ceec2216 RL |
83 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
84 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-2.5$(HOST_SUFFIX) | |
85 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
b17c1746 | 86 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
ceec2216 | 87 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-2.5$(HOST_SUFFIX) |
b17c1746 DE |
88 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
89 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
90 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 91 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f1e938e0 MB |
92 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
93 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 94 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f1e938e0 MB |
95 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
96 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 97 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f1e938e0 | 98 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 99 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
100 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
101 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
ceec2216 RL |
102 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
103 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
104 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 105 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 106 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f1e938e0 | 107 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
9bfe7ad9 | 108 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ |
c3255f5f | 109 | $(srcdir)/../../samples -i $(top_srcdir)/include -o hhp2cached$(EXEEXT) \ |
c4839ccf | 110 | Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r |
f1e938e0 | 111 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
f1e938e0 MB |
112 | |
113 | ### Targets: ### | |
114 | ||
115 | all: hhp2cached$(EXEEXT) | |
116 | ||
b17c1746 DE |
117 | install: all install_hhp2cached |
118 | ||
119 | uninstall: | |
120 | ||
121 | install-strip: install | |
122 | $(STRIP) $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT) | |
123 | ||
f1e938e0 MB |
124 | clean: |
125 | rm -rf ./.deps ./.pch | |
126 | rm -f ./*.o | |
127 | rm -f hhp2cached$(EXEEXT) | |
128 | ||
129 | distclean: clean | |
130 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
131 | ||
132 | hhp2cached$(EXEEXT): $(HHP2CACHED_OBJECTS) $(__hhp2cached___win32rc) | |
4bc89de6 | 133 | $(CXX) -o $@ $(HHP2CACHED_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) |
f1e938e0 MB |
134 | $(__hhp2cached___mac_rezcmd) |
135 | $(__hhp2cached___mac_setfilecmd) | |
ec08d395 | 136 | $(__hhp2cached___os2_emxbindcmd) |
f1e938e0 | 137 | |
b17c1746 DE |
138 | install_hhp2cached: |
139 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
140 | $(INSTALL_PROGRAM) hhp2cached$(EXEEXT) $(DESTDIR)$(bindir) | |
141 | ||
f1e938e0 MB |
142 | hhp2cached_hhp2cached.o: $(srcdir)/hhp2cached.cpp |
143 | $(CXXC) -c -o $@ $(HHP2CACHED_CXXFLAGS) $< | |
144 | ||
145 | hhp2cached_hhp2cached_rc.o: $(srcdir)/hhp2cached.rc | |
c3255f5f | 146 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include |
f1e938e0 | 147 | |
f1e938e0 MB |
148 | |
149 | # Include dependency info, if present: | |
150 | @IF_GNU_MAKE@-include .deps/*.d | |
151 | ||
b17c1746 | 152 | .PHONY: all install uninstall clean distclean install_hhp2cached |