Makefile.in revision 87a58323be6bc89b50c216ac01c3e92f4721ab7c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# Copyright (C) 1998-2002 Internet Software Consortium.
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley#
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# Permission to use, copy, modify, and/or distribute this software for any
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# purpose with or without fee is hereby granted, provided that the above
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# copyright notice and this permission notice appear in all copies.
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence#
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# PERFORMANCE OF THIS SOFTWARE.
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence# $Id: Makefile.in,v 1.54 2009/02/18 23:47:48 tbox Exp $
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrencesrcdir = @srcdir@
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David LawrenceVPATH = @srcdir@
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrencetop_srcdir = @top_srcdir@
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence
279c6ec074be17dce62dd1b2c6ed7c2cc56a7b78David Lawrence@BIND9_VERSION@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleySUBDIRS = make lib bin doc
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyTARGETS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyMANPAGES = isc-config.sh.1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyHTMLPAGES = isc-config.sh.html
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyMANOBJS = ${MANPAGES} ${HTMLPAGES}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_MAKE_RULES@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleydistclean::
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -f config.cache config.h config.log config.status TAGS
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -f libtool isc-config.sh configure.lineno
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -f util/conf.sh docutil/docbook2man-wrapper.sh
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff# XXX we should clean libtool stuff too. Only do this after we add rules
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graff# to make it.
90407942d3afe50f04ccea361de3b164a5a1702dMichael Graffmaintainer-clean::
a30e7fc23415fd238d067a8a871607bca36068baMichael Graff rm -f configure
a30e7fc23415fd238d067a8a871607bca36068baMichael Graff
a30e7fc23415fd238d067a8a871607bca36068baMichael Graffdocclean manclean maintainer-clean::
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley rm -f ${MANOBJS}
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleydoc man:: ${MANOBJS}
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyinstalldirs:
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} \
dc97fe4ed08488d314ab5bc8e99ed839542cf411David Lawrence ${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
dc97fe4ed08488d314ab5bc8e99ed839542cf411David Lawrence $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
dc97fe4ed08488d314ab5bc8e99ed839542cf411David Lawrence
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halleyinstall:: isc-config.sh installdirs
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
8d4257cff01b3821abcb9a21f46c6c6a43bb1e72Bob Halley ${INSTALL_DATA} ${srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
50453ad879d0d93854de5a3385776bd799e8f35cBob Halley
50453ad879d0d93854de5a3385776bd799e8f35cBob Halleytags:
50453ad879d0d93854de5a3385776bd799e8f35cBob Halley rm -f TAGS
7005cfed8cd3296d356883dcb414979f22e06b13Brian Wellington find lib bin -name "*.[ch]" -print | @ETAGS@ -
7005cfed8cd3296d356883dcb414979f22e06b13Brian Wellington
7005cfed8cd3296d356883dcb414979f22e06b13Brian Wellingtoncheck: test
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halleytest:
d8dcd6ad4617cc8d7df979bd62101fa9c4bac1bcBob Halley (cd bin/tests && ${MAKE} ${MAKEDEFS} test)
194b6a25192581bbc8ec731e32e8989042b202a4Michael Graff
a30e7fc23415fd238d067a8a871607bca36068baMichael GraffFAQ: FAQ.xml
a30e7fc23415fd238d067a8a871607bca36068baMichael Graff ${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \
5c00d1c90030a311d2700970fa7cffc8f828a48cBob Halley LC_ALL=C ${W3M} -T text/html -dump -cols 72 >$@.tmp
5c00d1c90030a311d2700970fa7cffc8f828a48cBob Halley mv $@.tmp $@
194b6a25192581bbc8ec731e32e8989042b202a4Michael Graff
8313838954d67250d0ed7edf67fba5da0790d1a7Michael Graffclean::
8313838954d67250d0ed7edf67fba5da0790d1a7Michael Graff rm -f FAQ.tmp
8313838954d67250d0ed7edf67fba5da0790d1a7Michael Graff