etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / confgen / Makefile.in
blob0d39cf902a7f39f4f554713951ca3fbd0dea2215
1 # Copyright (C) 2009, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
3 # Permission to use, copy, modify, and/or distribute this software for any
4 # purpose with or without fee is hereby granted, provided that the above
5 # copyright notice and this permission notice appear in all copies.
7 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13 # PERFORMANCE OF THIS SOFTWARE.
15 # Id: Makefile.in,v 1.8 2009/12/05 23:31:40 each Exp
17 srcdir = @srcdir@
18 VPATH = @srcdir@
19 top_srcdir = @top_srcdir@
21 @BIND9_VERSION@
23 @BIND9_MAKE_INCLUDES@
25 CINCLUDES = -I${srcdir}/include ${ISC_INCLUDES} ${ISCCC_INCLUDES} \
26 ${ISCCFG_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES}
28 CDEFINES =
29 CWARNINGS =
31 ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
32 ISCCCLIBS = ../../lib/isccc/libisccc.@A@
33 ISCLIBS = ../../lib/isc/libisc.@A@
34 ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
35 DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
36 BIND9LIBS = ../../lib/bind9/libbind9.@A@
38 ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
39 ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
40 ISCDEPLIBS = ../../lib/isc/libisc.@A@
41 DNSDEPLIBS = ../../lib/dns/libdns.@A@
42 BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
44 RNDCLIBS = ${ISCCFGLIBS} ${ISCCCLIBS} ${BIND9LIBS} ${DNSLIBS} ${ISCLIBS} @LIBS@
45 RNDCDEPLIBS = ${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${BIND9DEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS}
47 LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
49 NOSYMLIBS = ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@
51 CONFDEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
53 SRCS= rndc-confgen.c ddns-confgen.c
55 SUBDIRS = unix
57 TARGETS = rndc-confgen@EXEEXT@ ddns-confgen@EXEEXT@ tsig-keygen@EXEEXT@
59 MANPAGES = rndc-confgen.8 ddns-confgen.8
61 HTMLPAGES = rndc-confgen.html ddns-confgen.html
63 MANOBJS = ${MANPAGES} ${HTMLPAGES}
65 UOBJS = unix/os.@O@
67 @BIND9_MAKE_RULES@
69 rndc-confgen.@O@: rndc-confgen.c
70 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
71 -DRNDC_KEYFILE=\"${sysconfdir}/rndc.key\" \
72 -c ${srcdir}/rndc-confgen.c
74 ddns-confgen.@O@: ddns-confgen.c
75 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c ${srcdir}/ddns-confgen.c
77 rndc-confgen@EXEEXT@: rndc-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS} ${CONFDEPLIBS}
78 export BASEOBJS="rndc-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
79 ${FINALBUILDCMD}
81 ddns-confgen@EXEEXT@: ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS} ${CONFDEPLIBS}
82 export BASEOBJS="ddns-confgen.@O@ util.@O@ keygen.@O@ ${UOBJS}"; \
83 ${FINALBUILDCMD}
85 # make a link in the build directory to assist with testing
86 tsig-keygen@EXEEXT@: ddns-confgen@EXEEXT@
87 rm -f tsig-keygen@EXEEXT@
88 ${LINK_PROGRAM} ddns-confgen@EXEEXT@ tsig-keygen@EXEEXT@
90 doc man:: ${MANOBJS}
92 docclean manclean maintainer-clean::
93 rm -f ${MANOBJS}
95 installdirs:
96 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
97 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
99 install:: rndc-confgen@EXEEXT@ ddns-confgen@EXEEXT@ installdirs
100 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} rndc-confgen@EXEEXT@ ${DESTDIR}${sbindir}
101 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} ddns-confgen@EXEEXT@ ${DESTDIR}${sbindir}
102 ${INSTALL_DATA} ${srcdir}/rndc-confgen.8 ${DESTDIR}${mandir}/man8
103 ${INSTALL_DATA} ${srcdir}/ddns-confgen.8 ${DESTDIR}${mandir}/man8
104 (cd ${DESTDIR}${sbindir}; rm -f tsig-keygen@EXEEXT@; ${LINK_PROGRAM} ddns-confgen@EXEEXT@ tsig-keygen@EXEEXT@)
105 (cd ${DESTDIR}${mandir}/man8; rm -f tsig-keygen.8; ${LINK_PROGRAM} ddns-confgen.8 tsig-keygen.8)
107 clean distclean maintainer-clean::
108 rm -f ${TARGETS}