Makefile.in revision 7d7f929274e48808b4771162d6302a99e69865d8
675d69697741f03ed95e3dbfd7bf4b20efb299dfMark Andrews# Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Copyright (C) 1998-2002 Internet Software Consortium.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
4c1132f34493327abc632196f5876a89aa573687Bob Halley# Permission to use, copy, modify, and distribute this software for any
4c1132f34493327abc632196f5876a89aa573687Bob Halley# purpose with or without fee is hereby granted, provided that the above
4c1132f34493327abc632196f5876a89aa573687Bob Halley# copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# PERFORMANCE OF THIS SOFTWARE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
7d7f929274e48808b4771162d6302a99e69865d8Mark Andrews# $Id: Makefile.in,v 1.46 2006/05/18 00:59:40 marka Exp $
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleysrcdir = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob HalleyVPATH = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleytop_srcdir = @top_srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halley
d0ad0044249ab08201ce8a1029253f2c6ef41147Bob Halley@BIND9_VERSION@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
9ed37e8b9ccd53bc37b546fffe487b9547dda3a0Mark AndrewsSUBDIRS = make lib bin doc @LIBBIND@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyTARGETS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_MAKE_RULES@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrewsdistclean::
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews @if [ "X@LIBBIND@" = "X" ] ; then \
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews i=lib/bind; \
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews echo "making $@ in `pwd`/$$i"; \
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews (cd $$i; ${MAKE} ${MAKEDEFS} $@) || exit 1; \
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews fi
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews
93593fa445f77a5517103be29544f9ecef0e2d2dBob Halleydistclean::
2f2e3e1c38aabeef784566870d885adfa7f00a48David Lawrence rm -f config.cache config.h config.log config.status TAGS
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews rm -f libtool isc-config.sh configure.lineno
9d3ad53203f1ac49f9e876dbbcaca18656eb3e19Mark Andrews rm -f util/conf.sh docutil/docbook2man-wrapper.sh
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
ca5cbad980fb78b3e79787bbdf049b1e5dfb3376Bob Halley# XXX we should clean libtool stuff too. Only do this after we add rules
ca5cbad980fb78b3e79787bbdf049b1e5dfb3376Bob Halley# to make it.
ca5cbad980fb78b3e79787bbdf049b1e5dfb3376Bob Halleymaintainer-clean::
ca5cbad980fb78b3e79787bbdf049b1e5dfb3376Bob Halley rm -f configure
ca5cbad980fb78b3e79787bbdf049b1e5dfb3376Bob Halley
280747fa7c1d4597d47f7be8ec5fb7c8980c1952Andreas Gustafssoninstalldirs:
7d7f929274e48808b4771162d6302a99e69865d8Mark Andrews $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} \
7d7f929274e48808b4771162d6302a99e69865d8Mark Andrews ${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
280747fa7c1d4597d47f7be8ec5fb7c8980c1952Andreas Gustafsson
280747fa7c1d4597d47f7be8ec5fb7c8980c1952Andreas Gustafssoninstall:: isc-config.sh installdirs
5e88852b94830bf71e37dc700d568cb35e2e6f7eAndreas Gustafsson ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
3ee5e4d6a40fdc413c6216048e7c162eb5e6b295Brian Wellington
93593fa445f77a5517103be29544f9ecef0e2d2dBob Halleytags:
93593fa445f77a5517103be29544f9ecef0e2d2dBob Halley rm -f TAGS
8e06cea14c857429ab7e7299af2dce5eeeaa5ff0Michael Graff find lib bin -name "*.[ch]" -print | @ETAGS@ -
a0d172f105ac277a9e56e1b61e6863d279f2ff75Andreas Gustafsson
a0d172f105ac277a9e56e1b61e6863d279f2ff75Andreas Gustafssoncheck: test
a0d172f105ac277a9e56e1b61e6863d279f2ff75Andreas Gustafsson
a0d172f105ac277a9e56e1b61e6863d279f2ff75Andreas Gustafssontest:
a0d172f105ac277a9e56e1b61e6863d279f2ff75Andreas Gustafsson (cd bin/tests && ${MAKE} ${MAKEDEFS} test)
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob Austein
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob AusteinFAQ: FAQ.xml
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob Austein ${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob Austein ${W3M} -T text/html -dump >$@.tmp
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob Austein mv $@.tmp $@
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob Austein
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob Austeinclean::
94a8c22d559fe1f977ed41d6fe0b2513ecee7ff9Rob Austein rm -f FAQ.tmp