1 # Copyright (C) 2009 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.11 2009/12/05 23:31:40 each Exp
19 top_srcdir
= @top_srcdir@
23 CINCLUDES
= ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
24 ${LWRES_INCLUDES} ${OMAPI_INCLUDES}
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@
45 TARGETS
= arpaname@EXEEXT@ named-journalprint@EXEEXT@ nsec3hash@EXEEXT@ \
47 SRCS
= arpaname.c named-journalprint.c nsec3hash.c genrandom.c
49 MANPAGES
= arpaname
.1 named-journalprint
.8 nsec3hash
.8 genrandom
.8
50 HTMLPAGES
= arpaname.html named-journalprint.html nsec3hash.html \
52 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
56 arpaname@EXEEXT@
: arpaname.@O@
${ISCDEPLIBS} ${DNSDEPLIBS}
57 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ arpaname.@O@ \
60 named-journalprint@EXEEXT@
: named-journalprint.@O@
${ISCDEPLIBS} ${DNSDEPLIBS}
61 export BASEOBJS
="named-journalprint.@O@"; \
62 export LIBS0
="${DNSLIBS}"; \
65 nsec3hash@EXEEXT@
: nsec3hash.@O@
${ISCDEPLIBS} ${DNSDEPLIBS}
66 export BASEOBJS
="nsec3hash.@O@"; \
67 export LIBS0
="${DNSLIBS}"; \
70 genrandom@EXEEXT@
: genrandom.@O@
71 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ genrandom.@O@ @GENRANDOMLIB@
${LIBS}
75 docclean manclean maintainer-clean
::
79 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${sbindir}
80 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man1
81 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man8
83 install:: ${TARGETS} installdirs
84 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} arpaname@EXEEXT@
${DESTDIR}${sbindir}
85 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-journalprint@EXEEXT@
${DESTDIR}${sbindir}
86 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsec3hash@EXEEXT@
${DESTDIR}${sbindir}
87 ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} genrandom@EXEEXT@
${DESTDIR}${sbindir}
88 ${INSTALL_DATA} ${srcdir}/arpaname
.1 ${DESTDIR}${mandir}/man1
89 ${INSTALL_DATA} ${srcdir}/named-journalprint
.8 ${DESTDIR}${mandir}/man8
90 ${INSTALL_DATA} ${srcdir}/nsec3hash
.8 ${DESTDIR}${mandir}/man8
91 ${INSTALL_DATA} ${srcdir}/genrandom
.8 ${DESTDIR}${mandir}/man8