etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / tools / Makefile.in
blob1a582a11dfd95ec42f396466e643c7d4447c3a81
1 # Copyright (C) 2009, 2010, 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.13 2010/01/07 23:48:53 tbox Exp
17 srcdir = @srcdir@
18 VPATH = @srcdir@
19 top_srcdir = @top_srcdir@
21 @BIND9_MAKE_INCLUDES@
23 CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
24 ${LWRES_INCLUDES} ${OMAPI_INCLUDES}
26 CDEFINES =
27 CWARNINGS =
29 DNSLIBS = ../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
30 ISCLIBS = ../../lib/isc/libisc.@A@ @DNS_CRYPTO_LIBS@
31 ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@
32 ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
33 LWRESLIBS = ../../lib/lwres/liblwres.@A@
35 DNSDEPLIBS = ../../lib/dns/libdns.@A@
36 ISCDEPLIBS = ../../lib/isc/libisc.@A@
37 ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
38 LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
40 LIBS = ${ISCLIBS} @LIBS@
41 NOSYMLIBS = ${ISCNOSYMLIBS} @LIBS@
43 SUBDIRS =
45 TARGETS = arpaname@EXEEXT@ named-journalprint@EXEEXT@ \
46 named-rrchecker@EXEEXT@ nsec3hash@EXEEXT@ \
47 genrandom@EXEEXT@ isc-hmac-fixup@EXEEXT@
48 SRCS = arpaname.c named-journalprint.c named-rrchecker.c \
49 nsec3hash.c genrandom.c isc-hmac-fixup.c
51 MANPAGES = arpaname.1 named-journalprint.8 named-rrchecker.1 nsec3hash.8 \
52 genrandom.8 isc-hmac-fixup.8
53 HTMLPAGES = arpaname.html named-journalprint.html named-rrchecker.html \
54 nsec3hash.html genrandom.html isc-hmac-fixup.html
55 MANOBJS = ${MANPAGES} ${HTMLPAGES}
57 @BIND9_MAKE_RULES@
59 arpaname@EXEEXT@: arpaname.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
60 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
61 -o $@ arpaname.@O@ ${ISCLIBS} ${LIBS}
63 named-journalprint@EXEEXT@: named-journalprint.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
64 export BASEOBJS="named-journalprint.@O@"; \
65 export LIBS0="${DNSLIBS}"; \
66 ${FINALBUILDCMD}
68 named-rrchecker@EXEEXT@: named-rrchecker.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
69 export BASEOBJS="named-rrchecker.@O@"; \
70 export LIBS0="${DNSLIBS}"; \
71 ${FINALBUILDCMD}
73 nsec3hash@EXEEXT@: nsec3hash.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
74 export BASEOBJS="nsec3hash.@O@"; \
75 export LIBS0="${DNSLIBS}"; \
76 ${FINALBUILDCMD}
78 isc-hmac-fixup@EXEEXT@: isc-hmac-fixup.@O@ ${ISCDEPLIBS}
79 export BASEOBJS="isc-hmac-fixup.@O@"; \
80 export LIBS0="${ISCLIBS}"; \
81 ${FINALBUILDCMD}
83 genrandom@EXEEXT@: genrandom.@O@
84 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
85 -o $@ genrandom.@O@ @GENRANDOMLIB@ ${LIBS}
87 doc man:: ${MANOBJS}
89 docclean manclean maintainer-clean::
90 rm -f ${MANOBJS}
92 installdirs:
93 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
94 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
95 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
97 install:: ${TARGETS} installdirs
98 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@ \
99 ${DESTDIR}${sbindir}
100 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@ \
101 ${DESTDIR}${sbindir}
102 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-rrchecker@EXEEXT@ \
103 ${DESTDIR}${sbindir}
104 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@ \
105 ${DESTDIR}${sbindir}
106 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} genrandom@EXEEXT@ \
107 ${DESTDIR}${sbindir}
108 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} isc-hmac-fixup@EXEEXT@ \
109 ${DESTDIR}${sbindir}
110 ${INSTALL_DATA} ${srcdir}/arpaname.1 ${DESTDIR}${mandir}/man1
111 ${INSTALL_DATA} ${srcdir}/isc-hmac-fixup.8 ${DESTDIR}${mandir}/man8
112 ${INSTALL_DATA} ${srcdir}/named-journalprint.8 ${DESTDIR}${mandir}/man8
113 ${INSTALL_DATA} ${srcdir}/named-rrchecker.1 ${DESTDIR}${mandir}/man1
114 ${INSTALL_DATA} ${srcdir}/nsec3hash.8 ${DESTDIR}${mandir}/man8
115 ${INSTALL_DATA} ${srcdir}/genrandom.8 ${DESTDIR}${mandir}/man8
117 clean distclean::
118 rm -f ${TARGETS}