1 # Copyright (C) 2004-2007, 2009, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2000-2003 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.36 2009/12/05 23:31:40 each 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 ISCNOSYMLIBS
= ..
/..
/lib
/isc
/libisc-nosymtbl.@A@
36 BIND9LIBS
= ..
/..
/lib
/bind9
/libbind9.@A@
38 DNSDEPLIBS
= ..
/..
/lib
/dns
/libdns.@A@
39 ISCCFGDEPLIBS
= ..
/..
/lib
/isccfg
/libisccfg.@A@
40 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
41 BIND9DEPLIBS
= ..
/..
/lib
/bind9
/libbind9.@A@
43 LIBS
= ${ISCLIBS} @LIBS@
44 NOSYMLIBS
= ${ISCNOSYMLIBS} @LIBS@
49 TARGETS
= named-checkconf@EXEEXT@ named-checkzone@EXEEXT@
52 SRCS
= named-checkconf.c named-checkzone.c check-tool.c
54 MANPAGES
= named-checkconf
.8 named-checkzone
.8
56 HTMLPAGES
= named-checkconf.html named-checkzone.html
58 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
62 named-checkconf.@O@
: named-checkconf.c
63 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
64 -DVERSION
=\"${VERSION}\" \
65 -c
${srcdir}/named-checkconf.c
67 named-checkzone.@O@
: named-checkzone.c
68 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
69 -DVERSION
=\"${VERSION}\" \
70 -c
${srcdir}/named-checkzone.c
72 named-checkconf@EXEEXT@
: named-checkconf.@O@ check-tool.@O@
${ISCDEPLIBS} \
73 ${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
74 export BASEOBJS
="named-checkconf.@O@ check-tool.@O@"; \
75 export LIBS0
="${BIND9LIBS} ${ISCCFGLIBS} ${DNSLIBS}"; \
78 named-checkzone@EXEEXT@
: named-checkzone.@O@ check-tool.@O@
${ISCDEPLIBS} ${DNSDEPLIBS}
79 export BASEOBJS
="named-checkzone.@O@ check-tool.@O@"; \
80 export LIBS0
="${ISCCFGLIBS} ${DNSLIBS}"; \
85 docclean manclean maintainer-clean
::
89 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${sbindir}
90 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man8
92 install:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@
installdirs
93 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkconf@EXEEXT@
${DESTDIR}${sbindir}
94 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkzone@EXEEXT@
${DESTDIR}${sbindir}
95 (cd
${DESTDIR}${sbindir}; rm -f named-compilezone@EXEEXT@
; ${LINK_PROGRAM} named-checkzone@EXEEXT@ named-compilezone@EXEEXT@
)
96 for m in
${MANPAGES}; do
${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8
; done
97 (cd
${DESTDIR}${mandir}/man8
; rm -f named-compilezone
.8; ${LINK_PROGRAM} named-checkzone
.8 named-compilezone
.8)
100 rm -f
${TARGETS} r1.htm