]>
Commit | Line | Data |
---|---|---|
f1e938e0 MB |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
6e0fbb3d | 3 | # Bakefile 0.2.3 (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 DE |
15 | WINDRES = @WINDRES@ |
16 | REZ = @REZ@ | |
f1e938e0 MB |
17 | SETFILE = @SETFILE@ |
18 | STRIP = @STRIP@ | |
b17c1746 DE |
19 | NM = @NM@ |
20 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
21 | INSTALL_DIR = @INSTALL_DIR@ | |
69199aad | 22 | BK_DEPS = @BK_DEPS@ |
b17c1746 DE |
23 | srcdir = @srcdir@ |
24 | top_srcdir = @top_srcdir@ | |
b17c1746 | 25 | bindir = @bindir@ |
69199aad | 26 | LIBS = @LIBS@ |
b17c1746 DE |
27 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
28 | CXX = @CXX@ | |
29 | CXXFLAGS = @CXXFLAGS@ | |
30 | CPPFLAGS = @CPPFLAGS@ | |
31 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 32 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
f1e938e0 MB |
33 | TOOLKIT = @TOOLKIT@ |
34 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
35 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
8ced02f6 | 36 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ |
b17c1746 DE |
37 | EXTRALIBS = @EXTRALIBS@ |
38 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ | |
39 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
7379e476 | 40 | CXXWARNINGS = @CXXWARNINGS@ |
b17c1746 | 41 | HOST_SUFFIX = @HOST_SUFFIX@ |
69199aad | 42 | wx_top_builddir = @wx_top_builddir@ |
d572bb75 | 43 | |
f1e938e0 | 44 | ### Variables: ### |
d572bb75 | 45 | |
a4ad36cd | 46 | DESTDIR = |
ae4ccf12 | 47 | WX_RELEASE = 2.9 |
69199aad | 48 | LIBDIRNAME = $(wx_top_builddir)/lib |
8c9f8f91 JS |
49 | HHP2CACHED_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
50 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
7379e476 VZ |
51 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ |
52 | $(CPPFLAGS) $(CXXFLAGS) | |
f1e938e0 | 53 | HHP2CACHED_OBJECTS = \ |
a4ad36cd | 54 | $(__hhp2cached_os2_lib_res) \ |
f1e938e0 MB |
55 | hhp2cached_hhp2cached.o \ |
56 | $(__hhp2cached___win32rc) | |
d572bb75 | 57 | |
f1e938e0 | 58 | ### Conditionally set variables: ### |
d572bb75 | 59 | |
f1e938e0 | 60 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
69199aad | 61 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) |
f1e938e0 MB |
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_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
66 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
67 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
68 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
0e3165d7 DE |
69 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
70 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
71 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
72 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
6e0fbb3d | 73 | @COND_PLATFORM_MAC_0@__hhp2cached___mac_setfilecmd = @true |
b17c1746 DE |
74 | @COND_PLATFORM_MAC_1@__hhp2cached___mac_setfilecmd = \ |
75 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C hhp2cached$(EXEEXT) | |
76 | @COND_PLATFORM_MAC_1@__hhp2cached___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
77 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
78 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
79 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
8c9f8f91 JS |
80 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS |
81 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS | |
82 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS | |
83 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
84 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI | |
85 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI | |
86 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
87 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS | |
88 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS | |
f1e938e0 MB |
89 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
90 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
91 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
b17c1746 DE |
92 | COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd = $(NM) hhp2cached$(EXEEXT) \ |
93 | | if grep -q pmwin.763 ; then emxbind -ep hhp2cached$(EXEEXT) ; fi | |
94 | @COND_PLATFORM_OS2_1@__hhp2cached___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___hhp2cached___os2_emxbindcmd) | |
8ced02f6 DE |
95 | @COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \ |
96 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
97 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ | |
98 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
b17c1746 DE |
99 | @COND_PLATFORM_OS2_1@__hhp2cached_os2_lib_res = \ |
100 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
101 | @COND_PLATFORM_WIN32_1@__hhp2cached___win32rc = hhp2cached_hhp2cached_rc.o | |
102 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ | |
a1bf307a | 103 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
104 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) |
105 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
a1bf307a | 106 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 107 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
ceec2216 | 108 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
a1bf307a | 109 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 110 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
b17c1746 | 111 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
a1bf307a | 112 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
113 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
114 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
115 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 116 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f1e938e0 MB |
117 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
118 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 119 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f1e938e0 MB |
120 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
121 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 122 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
f1e938e0 | 123 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 124 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 RL |
125 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
126 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
127 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 128 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 129 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
8ced02f6 | 130 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \ |
8c9f8f91 JS |
131 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \ |
132 | $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ | |
8ced02f6 DE |
133 | $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \ |
134 | hhp2cached$(EXEEXT) Carbon.r sample.r | |
f1e938e0 | 135 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
f1e938e0 MB |
136 | |
137 | ### Targets: ### | |
138 | ||
139 | all: hhp2cached$(EXEEXT) | |
140 | ||
b17c1746 DE |
141 | install: all install_hhp2cached |
142 | ||
69199aad | 143 | uninstall: uninstall_hhp2cached |
b17c1746 DE |
144 | |
145 | install-strip: install | |
146 | $(STRIP) $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT) | |
147 | ||
f1e938e0 MB |
148 | clean: |
149 | rm -rf ./.deps ./.pch | |
150 | rm -f ./*.o | |
151 | rm -f hhp2cached$(EXEEXT) | |
152 | ||
153 | distclean: clean | |
162a956b | 154 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
f1e938e0 MB |
155 | |
156 | hhp2cached$(EXEEXT): $(HHP2CACHED_OBJECTS) $(__hhp2cached___win32rc) | |
7379e476 | 157 | $(CXX) -o $@ $(HHP2CACHED_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(LIBS) $(__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) |
f1e938e0 MB |
158 | $(__hhp2cached___mac_rezcmd) |
159 | $(__hhp2cached___mac_setfilecmd) | |
ec08d395 | 160 | $(__hhp2cached___os2_emxbindcmd) |
f1e938e0 | 161 | |
b17c1746 DE |
162 | install_hhp2cached: |
163 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
164 | $(INSTALL_PROGRAM) hhp2cached$(EXEEXT) $(DESTDIR)$(bindir) | |
165 | ||
69199aad VZ |
166 | uninstall_hhp2cached: |
167 | rm -f $(DESTDIR)$(bindir)/hhp2cached$(EXEEXT) | |
168 | ||
f1e938e0 | 169 | hhp2cached_hhp2cached.o: $(srcdir)/hhp2cached.cpp |
162a956b | 170 | $(CXXC) -c -o $@ $(HHP2CACHED_CXXFLAGS) $(srcdir)/hhp2cached.cpp |
f1e938e0 MB |
171 | |
172 | hhp2cached_hhp2cached_rc.o: $(srcdir)/hhp2cached.rc | |
7379e476 | 173 | $(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 | 174 | |
f1e938e0 MB |
175 | |
176 | # Include dependency info, if present: | |
177 | @IF_GNU_MAKE@-include .deps/*.d | |
178 | ||
69199aad | 179 | .PHONY: all install uninstall clean distclean install_hhp2cached uninstall_hhp2cached |