1 # Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2000-2003 Internet Software Consortium.
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.
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.24.18.6 2006/06/09 00:54:08 marka Exp $
20 top_srcdir
= @top_srcdir@
26 CINCLUDES
= ${BIND9_INCLUDES} ${DNS_INCLUDES} ${ISCCFG_INCLUDES} \
29 CDEFINES
= -DNAMED_CONFFILE
=\"${sysconfdir}/named.conf
\"
32 DNSLIBS
= ..
/..
/lib
/dns
/libdns.@A@ @DNS_CRYPTO_LIBS@
33 ISCCFGLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
34 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
35 BIND9LIBS
= ..
/..
/lib
/bind9
/libbind9.@A@
37 DNSDEPLIBS
= ..
/..
/lib
/dns
/libdns.@A@
38 ISCCFGDEPLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
39 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
40 BIND9DEPLIBS
= ..
/..
/lib
/bind9
/libbind9.@A@
47 TARGETS
= named-checkconf@EXEEXT@ named-checkzone@EXEEXT@
50 SRCS
= named-checkconf.c named-checkzone.c check-tool.c
52 MANPAGES
= named-checkconf
.8 named-checkzone
.8
54 HTMLPAGES
= named-checkconf.html named-checkzone.html
56 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
60 named-checkconf.@O@
: named-checkconf.c
61 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
62 -DVERSION
=\"${VERSION}\" \
63 -c
${srcdir}/named-checkconf.c
65 named-checkzone.@O@
: named-checkzone.c
66 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
67 -DVERSION
=\"${VERSION}\" \
68 -c
${srcdir}/named-checkzone.c
70 named-checkconf@EXEEXT@
: named-checkconf.@O@ check-tool.@O@
${ISCDEPLIBS} \
71 ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
72 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
73 named-checkconf.@O@ check-tool.@O@
${BIND9LIBS} ${ISCCFGLIBS} \
74 ${DNSLIBS} ${ISCLIBS} ${LIBS}
76 named-checkzone@EXEEXT@
: named-checkzone.@O@ check-tool.@O@
${ISCDEPLIBS} ${DNSDEPLIBS}
77 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
78 named-checkzone.@O@ check-tool.@O@
${ISCCFGLIBS} ${DNSLIBS} \
83 docclean manclean maintainer-clean
::
87 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${sbindir}
88 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man8
90 install:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@
installdirs
91 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkconf@EXEEXT@
${DESTDIR}${sbindir}
92 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkzone@EXEEXT@
${DESTDIR}${sbindir}
93 (cd
${DESTDIR}${sbindir}; rm -f named-compilezone@EXEEXT@
; ${LINK_PROGRAM} named-checkzone@EXEEXT@ named-compilezone@EXEEXT@
)
94 for m in
${MANPAGES}; do
${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8
; done
95 (cd
${DESTDIR}${mandir}/man8
; rm -f named-compilezone
.8; ${LINK_PROGRAM} named-checkzone
.8 named-compilezone
.8)
98 rm -f
${TARGETS} r1.htm