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