]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
10 | prefix = @prefix@ | |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
13 | EXEEXT = @EXEEXT@ | |
14 | RESCOMP = @RESCOMP@ | |
15 | SETFILE = @SETFILE@ | |
16 | STRIP = @STRIP@ | |
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@ | |
29 | TOOLKIT = @TOOLKIT@ | |
30 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
31 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
32 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ | |
33 | EXTRALIBS = @EXTRALIBS@ | |
34 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ | |
35 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
36 | HOST_SUFFIX = @HOST_SUFFIX@ | |
37 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ | |
38 | ||
39 | ### Variables: ### | |
40 | ||
41 | DESTDIR = | |
42 | WX_RELEASE = 2.5 | |
43 | LIBDIRNAME = $(top_builddir)lib | |
44 | HELPVIEW_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ | |
45 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS) | |
46 | HELPVIEW_OBJECTS = \ | |
47 | $(__helpview_os2_lib_res) \ | |
48 | helpview_helpview.o \ | |
49 | $(__helpview___win32rc) | |
50 | ||
51 | ### Conditionally set variables: ### | |
52 | ||
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 | |
62 | @COND_PLATFORM_MAC_1@__helpview___mac_setfilecmd = \ | |
63 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C helpview$(EXEEXT) | |
64 | @COND_PLATFORM_MAC_1@__helpview___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__ | |
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 | |
71 | COND_PLATFORM_OS2_1___helpview___os2_emxbindcmd = $(NM) helpview$(EXEEXT) | if \ | |
72 | grep -q pmwin.763 ; then emxbind -ep helpview$(EXEEXT) ; fi | |
73 | @COND_PLATFORM_OS2_1@__helpview___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___helpview___os2_emxbindcmd) | |
74 | @COND_PLATFORM_OS2_1@__helpview_os2_lib_res = \ | |
75 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
76 | @COND_PLATFORM_WIN32_1@__helpview___win32rc = helpview_helpview_rc.o | |
77 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ | |
78 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-2.5$(HOST_SUFFIX) | |
79 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) | |
80 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
81 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-2.5$(HOST_SUFFIX) | |
82 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
83 | COND_MONOLITHIC_0___WXLIB_NET_p = \ | |
84 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-2.5$(HOST_SUFFIX) | |
85 | @COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p) | |
86 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
87 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-2.5$(HOST_SUFFIX) | |
88 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
89 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
90 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-2.5$(HOST_SUFFIX) | |
91 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
92 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
93 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
94 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
95 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ | |
96 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
97 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
98 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ | |
99 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
100 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
101 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ | |
102 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
103 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ | |
104 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
105 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ | |
106 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
107 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
108 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
109 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
110 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
111 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ | |
112 | $(srcdir)/../../../samples -i $(top_srcdir)/include -o helpview$(EXEEXT) \ | |
113 | Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r | |
114 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) | |
115 | ||
116 | ### Targets: ### | |
117 | ||
118 | all: helpview$(EXEEXT) data | |
119 | ||
120 | install: all install_helpview | |
121 | ||
122 | uninstall: | |
123 | ||
124 | install-strip: install | |
125 | $(STRIP) $(DESTDIR)$(bindir)/helpview$(EXEEXT) | |
126 | ||
127 | clean: | |
128 | rm -rf ./.deps ./.pch | |
129 | rm -f ./*.o | |
130 | rm -f helpview$(EXEEXT) | |
131 | ||
132 | distclean: clean | |
133 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
134 | ||
135 | helpview$(EXEEXT): $(HELPVIEW_OBJECTS) $(__helpview___win32rc) | |
136 | $(CXX) -o $@ $(HELPVIEW_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_NET_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) | |
137 | $(__helpview___mac_rezcmd) | |
138 | $(__helpview___mac_setfilecmd) | |
139 | $(__helpview___os2_emxbindcmd) | |
140 | ||
141 | install_helpview: | |
142 | $(INSTALL_DIR) $(DESTDIR)$(bindir) | |
143 | $(INSTALL_PROGRAM) helpview$(EXEEXT) $(DESTDIR)$(bindir) | |
144 | ||
145 | data: | |
146 | @mkdir -p . | |
147 | @for f in test.zip; do \ | |
148 | if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \ | |
149 | cp -pRf $(srcdir)/$$f . ; \ | |
150 | fi; \ | |
151 | done | |
152 | ||
153 | helpview_helpview.o: $(srcdir)/helpview.cpp | |
154 | $(CXXC) -c -o $@ $(HELPVIEW_CXXFLAGS) $< | |
155 | ||
156 | helpview_helpview_rc.o: $(srcdir)/helpview.rc | |
157 | $(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 | |
158 | ||
159 | ||
160 | # Include dependency info, if present: | |
161 | @IF_GNU_MAKE@-include .deps/*.d | |
162 | ||
163 | .PHONY: all install uninstall clean distclean install_helpview data |