Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / Makefile.in
blob09ceb578cfc1520c77696a02ddec7addb970c19f
1 # Copyright (C) 2004-2009, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 1998-2002 Internet Software Consortium.
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.
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.
16 # Id: Makefile.in,v 1.62 2011/09/06 04:06:37 marka Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 SUBDIRS = make unit lib bin doc @LIBEXPORT@
25 TARGETS =
26 PREREQS = bind.keys.h
28 MANPAGES = isc-config.sh.1
30 HTMLPAGES = isc-config.sh.html
32 MANOBJS = ${MANPAGES} ${HTMLPAGES}
34 @BIND9_MAKE_RULES@
36 bind.keys.h: ${top_srcdir}/bind.keys ${srcdir}/util/bindkeys.pl
37 ${PERL} ${srcdir}/util/bindkeys.pl < ${top_srcdir}/bind.keys > $@
39 distclean::
40 rm -f config.cache config.h config.log config.status TAGS
41 rm -f libtool isc-config.sh configure.lineno
42 rm -f util/conf.sh docutil/docbook2man-wrapper.sh
44 # XXX we should clean libtool stuff too. Only do this after we add rules
45 # to make it.
46 maintainer-clean::
47 rm -f configure
48 rm -f bind.keys.h
50 docclean manclean maintainer-clean::
51 rm -f ${MANOBJS}
53 doc man:: ${MANOBJS}
55 installdirs:
56 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} \
57 ${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
58 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
60 install:: isc-config.sh installdirs
61 ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
62 rm -f ${DESTDIR}${bindir}/bind9-config
63 @LN@ ${DESTDIR}${bindir}/isc-config.sh ${DESTDIR}${bindir}/bind9-config
64 ${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
65 rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
66 @LN@ ${DESTDIR}${mandir}/man1/isc-config.sh.1 ${DESTDIR}${mandir}/man1/bind9-config.1
67 ${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
69 tags:
70 rm -f TAGS
71 find lib bin -name "*.[ch]" -print | @ETAGS@ -
73 test check:
74 @if test -n "`${PERL} ${top_srcdir}/bin/tests/system/testsock.pl 2>&- || echo fail`"; then \
75 echo I: NOTE: The tests were not run because they require that; \
76 echo I: the IP addresses 10.53.0.1 through 10.53.0.8 are configured; \
77 echo I: as alias addresses on the loopback interface. Please run; \
78 echo I: \'bin/tests/system/ifconfig.sh up\' as root to configure; \
79 echo I: them, then rerun the tests. Run make force-test to run the; \
80 echo I: tests anyway.; \
81 exit 1; \
83 ${MAKE} test-force
85 force-test: test-force
87 test-force:
88 status=0; \
89 (cd bin/tests && ${MAKE} ${MAKEDEFS} test) || status=1; \
90 (test -f unit/unittest.sh && $(SHELL) unit/unittest.sh) || status=1; \
91 exit $$status
93 FAQ: FAQ.xml
94 ${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \
95 LC_ALL=C ${W3M} -T text/html -dump -cols 72 >$@.tmp
96 mv $@.tmp $@
98 unit::
99 sh ${top_srcdir}/unit/unittest.sh
101 clean::
102 rm -f FAQ.tmp