etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / rndc / Makefile.in
blob884bf8d84acc3b2b5699d6762e04fcf71ab8d3f0
1 # Copyright (C) 2004, 2007, 2009, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2000-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.49 2009/12/05 23:31:40 each Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_VERSION@
24 @BIND9_MAKE_INCLUDES@
26 CINCLUDES = -I${srcdir}/include ${ISC_INCLUDES} ${ISCCC_INCLUDES} \
27 ${ISCCFG_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES}
29 CDEFINES =
30 CWARNINGS =
32 ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
33 ISCCCLIBS = ../../lib/isccc/libisccc.@A@
34 ISCLIBS = ../../lib/isc/libisc.@A@
35 ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
36 DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
37 BIND9LIBS = ../../lib/bind9/libbind9.@A@
39 ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
40 ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
41 ISCDEPLIBS = ../../lib/isc/libisc.@A@
42 DNSDEPLIBS = ../../lib/dns/libdns.@A@
43 BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
45 LIBS = ${ISCLIBS} @LIBS@
46 NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@
48 RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS}
50 CONFDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
52 SRCS= rndc.c
54 TARGETS = rndc@EXEEXT@
56 MANPAGES = rndc.8 rndc.conf.5
58 HTMLPAGES = rndc.html rndc.conf.html
60 MANOBJS = ${MANPAGES} ${HTMLPAGES}
62 @BIND9_MAKE_RULES@
64 rndc.@O@: rndc.c
65 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
66 -DVERSION=\"${VERSION}\" \
67 -DRNDC_CONFFILE=\"${sysconfdir}/rndc.conf\" \
68 -DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\" \
69 -c ${srcdir}/rndc.c
71 rndc@EXEEXT@: rndc.@O@ util.@O@ ${RNDCDEPLIBS}
72 export BASEOBJS="rndc.@O@ util.@O@"; \
73 export LIBS0="${ISCCFGLIBS} ${ISCCCLIBS} ${BIND9LIBS} ${DNSLIBS}"; \
74 ${FINALBUILDCMD}
76 doc man:: ${MANOBJS}
78 docclean manclean maintainer-clean::
79 rm -f ${MANOBJS}
81 installdirs:
82 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
83 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
84 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
86 install:: rndc@EXEEXT@ installdirs
87 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} rndc@EXEEXT@ ${DESTDIR}${sbindir}
88 ${INSTALL_DATA} ${srcdir}/rndc.8 ${DESTDIR}${mandir}/man8
89 ${INSTALL_DATA} ${srcdir}/rndc.conf.5 ${DESTDIR}${mandir}/man5
91 clean distclean maintainer-clean::
92 rm -f ${TARGETS}