]> git.saurik.com Git - wxWidgets.git/blame - utils/helpview/src/Makefile.in
wxMax instead of max, former is always around
[wxWidgets.git] / utils / helpview / src / Makefile.in
CommitLineData
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
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
b328fad3 13EXEEXT = @EXEEXT@
187cf772
VS
14RESCOMP = @RESCOMP@
15SETFILE = @SETFILE@
16STRIP = @STRIP@
b17c1746
DE
17NM = @NM@
18INSTALL_PROGRAM = @INSTALL_PROGRAM@
19INSTALL_DIR = @INSTALL_DIR@
20srcdir = @srcdir@
21top_srcdir = @top_srcdir@
22top_builddir = @top_builddir@
23bindir = @bindir@
24LDFLAGS_GUI = @LDFLAGS_GUI@
25CXX = @CXX@
26CXXFLAGS = @CXXFLAGS@
27CPPFLAGS = @CPPFLAGS@
28LDFLAGS = @LDFLAGS@
589e20d0 29WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
187cf772
VS
30TOOLKIT = @TOOLKIT@
31TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
32TOOLKIT_VERSION = @TOOLKIT_VERSION@
b17c1746
DE
33TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
34EXTRALIBS = @EXTRALIBS@
35EXTRALIBS_HTML = @EXTRALIBS_HTML@
36EXTRALIBS_GUI = @EXTRALIBS_GUI@
37HOST_SUFFIX = @HOST_SUFFIX@
4e4152e4 38
187cf772 39### Variables: ###
4e4152e4 40
a4ad36cd 41DESTDIR =
ceec2216 42WX_RELEASE = 2.5
b17c1746 43LIBDIRNAME = $(top_builddir)lib
9bfe7ad9
VS
44HELPVIEW_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
45 $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS)
187cf772 46HELPVIEW_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
0e3165d7
DE
62@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
63@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
64@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
65@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
b17c1746
DE
66@COND_PLATFORM_MAC_1@__helpview___mac_setfilecmd = \
67@COND_PLATFORM_MAC_1@ $(SETFILE) -a C helpview$(EXEEXT)
68@COND_PLATFORM_MAC_1@__helpview___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
69@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
70@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
71@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
187cf772
VS
72@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
73@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
74@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
b17c1746
DE
75COND_PLATFORM_OS2_1___helpview___os2_emxbindcmd = $(NM) helpview$(EXEEXT) | if \
76 grep -q pmwin.763 ; then emxbind -ep helpview$(EXEEXT) ; fi
77@COND_PLATFORM_OS2_1@__helpview___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___helpview___os2_emxbindcmd)
78@COND_PLATFORM_OS2_1@__helpview_os2_lib_res = \
79@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
80@COND_PLATFORM_WIN32_1@__helpview___win32rc = helpview_helpview_rc.o
81COND_MONOLITHIC_0___WXLIB_HTML_p = \
a1bf307a 82 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
83@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
84COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 85 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 86@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 87COND_MONOLITHIC_0___WXLIB_NET_p = \
a1bf307a 88 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
89@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
90COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 91 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 92@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746 93COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 94 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
95@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
96@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
97@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 98@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772
VS
99@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
100@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 101@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772
VS
102@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
103@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 104@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772 105@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 106@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 107@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 108@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
109COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
110 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
111@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
b17c1746 112@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 113@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772 114COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
9bfe7ad9 115 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
c3255f5f 116 $(srcdir)/../../../samples -i $(top_srcdir)/include -o helpview$(EXEEXT) \
7714864e 117 Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r
187cf772 118@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
187cf772
VS
119
120### Targets: ###
121
b328fad3 122all: helpview$(EXEEXT) data
187cf772 123
b17c1746
DE
124install: all install_helpview
125
126uninstall:
127
128install-strip: install
129 $(STRIP) $(DESTDIR)$(bindir)/helpview$(EXEEXT)
130
187cf772
VS
131clean:
132 rm -rf ./.deps ./.pch
133 rm -f ./*.o
b328fad3 134 rm -f helpview$(EXEEXT)
187cf772 135
187cf772
VS
136distclean: clean
137 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
138
b328fad3 139helpview$(EXEEXT): $(HELPVIEW_OBJECTS) $(__helpview___win32rc)
0e3165d7 140 $(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_FOR_BASE) $(EXTRALIBS_FOR_GUI)
187cf772
VS
141 $(__helpview___mac_rezcmd)
142 $(__helpview___mac_setfilecmd)
ec08d395 143 $(__helpview___os2_emxbindcmd)
187cf772 144
b17c1746
DE
145install_helpview:
146 $(INSTALL_DIR) $(DESTDIR)$(bindir)
147 $(INSTALL_PROGRAM) helpview$(EXEEXT) $(DESTDIR)$(bindir)
148
149data:
150 @mkdir -p .
151 @for f in test.zip; do \
152 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
153 cp -pRf $(srcdir)/$$f . ; \
154 fi; \
155 done
156
187cf772 157helpview_helpview.o: $(srcdir)/helpview.cpp
b328fad3 158 $(CXXC) -c -o $@ $(HELPVIEW_CXXFLAGS) $<
187cf772
VS
159
160helpview_helpview_rc.o: $(srcdir)/helpview.rc
c3255f5f 161 $(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 162
187cf772
VS
163
164# Include dependency info, if present:
165@IF_GNU_MAKE@-include .deps/*.d
166
b17c1746 167.PHONY: all install uninstall clean distclean install_helpview data