PageRenderTime 26ms CodeModel.GetById 16ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/bind9/Makefile.in

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 78 lines | 42 code | 19 blank | 17 comment | 4 complexity | 484d76d2291f39eafbb23a6f7972d3ec MD5 | raw file
 1# Copyright (C) 2004-2009, 2011  Internet Systems Consortium, Inc. ("ISC")
 2# Copyright (C) 1998-2002  Internet Software Consortium.
 3#
 4# Permission to use, copy, modify, and/or distribute this software for any
 5# purpose with or without fee is hereby granted, provided that the above
 6# copyright notice and this permission notice appear in all copies.
 7#
 8# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
 9# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14# PERFORMANCE OF THIS SOFTWARE.
15
16# $Id: Makefile.in,v 1.58.250.4 2011/09/06 04:06:11 marka Exp $
17
18srcdir =	@srcdir@
19VPATH =		@srcdir@
20top_srcdir =	@top_srcdir@
21
22@BIND9_VERSION@
23
24SUBDIRS =	make unit lib bin doc @LIBEXPORT@
25TARGETS =
26
27MANPAGES =	isc-config.sh.1
28
29HTMLPAGES =	isc-config.sh.html
30
31MANOBJS =	${MANPAGES} ${HTMLPAGES}
32
33@BIND9_MAKE_RULES@
34
35distclean::
36	rm -f config.cache config.h config.log config.status TAGS
37	rm -f libtool isc-config.sh configure.lineno
38	rm -f util/conf.sh docutil/docbook2man-wrapper.sh
39
40# XXX we should clean libtool stuff too.  Only do this after we add rules
41# to make it.
42maintainer-clean::
43	rm -f configure
44
45docclean manclean maintainer-clean::
46	rm -f ${MANOBJS}
47
48doc man:: ${MANOBJS}
49
50installdirs:
51	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} \
52	${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
53	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
54
55install:: isc-config.sh installdirs
56	${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
57	${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
58	${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
59
60tags:
61	rm -f TAGS
62	find lib bin -name "*.[ch]" -print | @ETAGS@ -
63
64check: test
65
66test:
67	status=0; \
68	(cd bin/tests && ${MAKE} ${MAKEDEFS} test) || status=1; \
69	(test -f unit/unittest.sh && $(SHELL) unit/unittest.sh) || status=1; \
70	exit $$status
71
72FAQ: FAQ.xml
73	${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \
74	LC_ALL=C ${W3M} -T text/html -dump -cols 72 >$@.tmp
75	mv $@.tmp $@
76
77clean::
78	rm -f FAQ.tmp