]>
Commit | Line | Data |
---|---|---|
187cf772 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3fd9c298 | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
187cf772 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
4e4152e4 | 6 | |
4e4152e4 | 7 | |
187cf772 | 8 | @MAKE_SET@ |
4e4152e4 | 9 | |
187cf772 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
b328fad3 | 13 | EXEEXT = @EXEEXT@ |
187cf772 VS |
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@ | |
187cf772 VS |
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@ |
4e4152e4 | 38 | |
187cf772 | 39 | ### Variables: ### |
4e4152e4 | 40 | |
a4ad36cd | 41 | DESTDIR = |
ceec2216 | 42 | WX_RELEASE = 2.5 |
b17c1746 | 43 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 VS |
44 | HELPVIEW_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
45 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS) | |
187cf772 | 46 | HELPVIEW_OBJECTS = \ |
a4ad36cd | 47 | $(__helpview_os2_lib_res) \ |
187cf772 VS |
48 | helpview_helpview.o \ |
49 | $(__helpview___win32rc) | |
4e4152e4 | 50 | |
187cf772 | 51 | ### Conditionally set variables: ### |
4e4152e4 | 52 | |
b328fad3 VS |
53 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
54 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
187cf772 VS |
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@__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__ | |
187cf772 VS |
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___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 = \ | |
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_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) | |
b17c1746 | 89 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
ceec2216 | 90 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-2.5$(HOST_SUFFIX) |
b17c1746 DE |
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@ = \ | |
ceec2216 | 94 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 VS |
95 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
96 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 97 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 VS |
98 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
99 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 100 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 | 101 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 102 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
103 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
104 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
ceec2216 RL |
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) | |
b17c1746 | 108 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 109 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 | 110 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
9bfe7ad9 | 111 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ |
c3255f5f | 112 | $(srcdir)/../../../samples -i $(top_srcdir)/include -o helpview$(EXEEXT) \ |
c4839ccf | 113 | Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r |
187cf772 | 114 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
187cf772 VS |
115 | |
116 | ### Targets: ### | |
117 | ||
b328fad3 | 118 | all: helpview$(EXEEXT) data |
187cf772 | 119 | |
b17c1746 DE |
120 | install: all install_helpview |
121 | ||
122 | uninstall: | |
123 | ||
124 | install-strip: install | |
125 | $(STRIP) $(DESTDIR)$(bindir)/helpview$(EXEEXT) | |
126 | ||
187cf772 VS |
127 | clean: |
128 | rm -rf ./.deps ./.pch | |
129 | rm -f ./*.o | |
b328fad3 | 130 | rm -f helpview$(EXEEXT) |
187cf772 | 131 | |
187cf772 VS |
132 | distclean: clean |
133 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
134 | ||
b328fad3 | 135 | helpview$(EXEEXT): $(HELPVIEW_OBJECTS) $(__helpview___win32rc) |
4bc89de6 | 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) |
187cf772 VS |
137 | $(__helpview___mac_rezcmd) |
138 | $(__helpview___mac_setfilecmd) | |
ec08d395 | 139 | $(__helpview___os2_emxbindcmd) |
187cf772 | 140 | |
b17c1746 DE |
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 | ||
187cf772 | 153 | helpview_helpview.o: $(srcdir)/helpview.cpp |
b328fad3 | 154 | $(CXXC) -c -o $@ $(HELPVIEW_CXXFLAGS) $< |
187cf772 VS |
155 | |
156 | helpview_helpview_rc.o: $(srcdir)/helpview.rc | |
c3255f5f | 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 |
187cf772 | 158 | |
187cf772 VS |
159 | |
160 | # Include dependency info, if present: | |
161 | @IF_GNU_MAKE@-include .deps/*.d | |
162 | ||
b17c1746 | 163 | .PHONY: all install uninstall clean distclean install_helpview data |