1 | # Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") |
---|
2 | # Copyright (C) 1998-2002 Internet Software Consortium. |
---|
3 | # |
---|
4 | # Permission to use, copy, modify, and 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.1.1.3 2005-04-15 15:29:28 ghudson Exp $ |
---|
17 | |
---|
18 | srcdir = @srcdir@ |
---|
19 | VPATH = @srcdir@ |
---|
20 | top_srcdir = @top_srcdir@ |
---|
21 | |
---|
22 | @BIND9_VERSION@ |
---|
23 | |
---|
24 | SUBDIRS = make lib bin doc @LIBBIND@ |
---|
25 | TARGETS = |
---|
26 | |
---|
27 | @BIND9_MAKE_RULES@ |
---|
28 | |
---|
29 | distclean:: |
---|
30 | @if [ "X@LIBBIND@" = "X" ] ; then \ |
---|
31 | i=lib/bind; \ |
---|
32 | echo "making $@ in `pwd`/$$i"; \ |
---|
33 | (cd $$i; ${MAKE} ${MAKEDEFS} $@) || exit 1; \ |
---|
34 | fi |
---|
35 | |
---|
36 | distclean:: |
---|
37 | rm -f config.cache config.h config.log config.status TAGS |
---|
38 | rm -f libtool isc-config.sh configure.lineno |
---|
39 | rm -f util/conf.sh docutil/docbook2man-wrapper.sh |
---|
40 | |
---|
41 | # XXX we should clean libtool stuff too. Only do this after we add rules |
---|
42 | # to make it. |
---|
43 | maintainer-clean:: |
---|
44 | rm -f configure |
---|
45 | |
---|
46 | installdirs: |
---|
47 | $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
48 | |
---|
49 | install:: isc-config.sh installdirs |
---|
50 | ${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir} |
---|
51 | |
---|
52 | tags: |
---|
53 | rm -f TAGS |
---|
54 | find lib bin -name "*.[ch]" -print | @ETAGS@ - |
---|
55 | |
---|
56 | check: test |
---|
57 | |
---|
58 | test: |
---|
59 | (cd bin/tests && ${MAKE} ${MAKEDEFS} test) |
---|