]> git.saurik.com Git - wxWidgets.git/blame - utils/helpview/src/Makefile.in
added AddText() function (trivial wrapper around AddFile()), use it in debug rpt...
[wxWidgets.git] / utils / helpview / src / Makefile.in
CommitLineData
187cf772
VS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (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
8c9f8f91
JS
44HELPVIEW_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
45 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
46 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) \
47 $(CXXFLAGS)
187cf772 48HELPVIEW_OBJECTS = \
a4ad36cd 49 $(__helpview_os2_lib_res) \
187cf772
VS
50 helpview_helpview.o \
51 $(__helpview___win32rc)
4e4152e4 52
187cf772 53### Conditionally set variables: ###
4e4152e4 54
b328fad3
VS
55@COND_DEPS_TRACKING_0@CXXC = $(CXX)
56@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
187cf772
VS
57@COND_USE_GUI_0@PORTNAME = base
58@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
59@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
60@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
61@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
62@COND_UNICODE_1@WXUNICODEFLAG = u
63@COND_WXUNIV_1@WXUNIVNAME = univ
0e3165d7
DE
64@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
65@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
66@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
67@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
b17c1746
DE
68@COND_PLATFORM_MAC_1@__helpview___mac_setfilecmd = \
69@COND_PLATFORM_MAC_1@ $(SETFILE) -a C helpview$(EXEEXT)
70@COND_PLATFORM_MAC_1@__helpview___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
71@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
72@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
73@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
8c9f8f91
JS
74@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
75@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
76@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
77@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
78@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
79@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
80@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
81@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
82@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
187cf772
VS
83@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
84@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
85@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
b17c1746
DE
86COND_PLATFORM_OS2_1___helpview___os2_emxbindcmd = $(NM) helpview$(EXEEXT) | if \
87 grep -q pmwin.763 ; then emxbind -ep helpview$(EXEEXT) ; fi
88@COND_PLATFORM_OS2_1@__helpview___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___helpview___os2_emxbindcmd)
89@COND_PLATFORM_OS2_1@__helpview_os2_lib_res = \
90@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
91@COND_PLATFORM_WIN32_1@__helpview___win32rc = helpview_helpview_rc.o
92COND_MONOLITHIC_0___WXLIB_HTML_p = \
a1bf307a 93 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
94@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
95COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 96 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 97@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 98COND_MONOLITHIC_0___WXLIB_NET_p = \
a1bf307a 99 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
100@COND_MONOLITHIC_0@__WXLIB_NET_p = $(COND_MONOLITHIC_0___WXLIB_NET_p)
101COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 102 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 103@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746 104COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 105 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
106@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
107@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
108@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 109@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772
VS
110@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
111@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 112@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772
VS
113@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
114@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 115@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772 116@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 117@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 118@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 119@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
120COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
121 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
122@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
b17c1746 123@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 124@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
187cf772 125COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
126 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
127 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
c3255f5f 128 $(srcdir)/../../../samples -i $(top_srcdir)/include -o helpview$(EXEEXT) \
8c9f8f91 129 Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.r sample.r
187cf772 130@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
187cf772
VS
131
132### Targets: ###
133
b328fad3 134all: helpview$(EXEEXT) data
187cf772 135
b17c1746
DE
136install: all install_helpview
137
138uninstall:
139
140install-strip: install
141 $(STRIP) $(DESTDIR)$(bindir)/helpview$(EXEEXT)
142
187cf772
VS
143clean:
144 rm -rf ./.deps ./.pch
145 rm -f ./*.o
b328fad3 146 rm -f helpview$(EXEEXT)
187cf772 147
187cf772 148distclean: clean
162a956b 149 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
187cf772 150
b328fad3 151helpview$(EXEEXT): $(HELPVIEW_OBJECTS) $(__helpview___win32rc)
0e3165d7 152 $(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
153 $(__helpview___mac_rezcmd)
154 $(__helpview___mac_setfilecmd)
ec08d395 155 $(__helpview___os2_emxbindcmd)
187cf772 156
b17c1746
DE
157install_helpview:
158 $(INSTALL_DIR) $(DESTDIR)$(bindir)
159 $(INSTALL_PROGRAM) helpview$(EXEEXT) $(DESTDIR)$(bindir)
160
161data:
162 @mkdir -p .
163 @for f in test.zip; do \
162a956b
JS
164 if test ! -e ./$$f ; \
165 then x=yep ; \
166 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
b17c1746 167 fi; \
162a956b
JS
168 case "$$x" in ?*) \
169 cp -pRf $(srcdir)/$$f . ;; \
170 esac; \
b17c1746
DE
171 done
172
187cf772 173helpview_helpview.o: $(srcdir)/helpview.cpp
162a956b 174 $(CXXC) -c -o $@ $(HELPVIEW_CXXFLAGS) $(srcdir)/helpview.cpp
187cf772
VS
175
176helpview_helpview_rc.o: $(srcdir)/helpview.rc
8c9f8f91 177 $(RESCOMP) -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 --include-dir $(top_srcdir)/include
187cf772 178
187cf772
VS
179
180# Include dependency info, if present:
181@IF_GNU_MAKE@-include .deps/*.d
182
b17c1746 183.PHONY: all install uninstall clean distclean install_helpview data