1 # Copyright (C) 2004, 2005, 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.42.332.1 2011/03/16 06:37:51 each Exp
20 top_srcdir
= @top_srcdir@
26 CINCLUDES
= ${DNS_INCLUDES} ${ISC_INCLUDES}
28 CDEFINES
= -DVERSION
=\"${VERSION}\" @USE_PKCS11@ @PKCS11_ENGINE@ \
29 @CRYPTO@
-DPK11_LIB_LOCATION
=\"@PKCS11_PROVIDER@
\"
32 DNSLIBS
= ..
/..
/lib
/dns
/libdns.@A@ @DNS_CRYPTO_LIBS@
33 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
34 ISCNOSYMLIBS
= ..
/..
/lib
/isc
/libisc-nosymtbl.@A@
36 DNSDEPLIBS
= ..
/..
/lib
/dns
/libdns.@A@
37 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
39 DEPLIBS
= ${DNSDEPLIBS} ${ISCDEPLIBS}
41 LIBS
= ${DNSLIBS} ${ISCLIBS} @LIBS@
43 NOSYMLIBS
= ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@
46 TARGETS
= dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \
47 dnssec-keyfromlabel@EXEEXT@ dnssec-dsfromkey@EXEEXT@ \
48 dnssec-revoke@EXEEXT@ dnssec-settime@EXEEXT@ \
49 dnssec-verify@EXEEXT@ dnssec-importkey@EXEEXT@
53 SRCS
= dnssec-dsfromkey.c dnssec-keyfromlabel.c dnssec-keygen.c \
54 dnssec-revoke.c dnssec-settime.c dnssec-signzone.c \
55 dnssec-verify.c dnssec-importkey.c dnssectool.c
57 MANPAGES
= dnssec-dsfromkey
.8 dnssec-keyfromlabel
.8 dnssec-keygen
.8 \
58 dnssec-revoke
.8 dnssec-settime
.8 dnssec-signzone
.8 \
59 dnssec-verify
.8 dnssec-importkey
.8
61 HTMLPAGES
= dnssec-dsfromkey.html dnssec-keyfromlabel.html \
62 dnssec-keygen.html dnssec-revoke.html \
63 dnssec-settime.html dnssec-signzone.html \
64 dnssec-verify.html dnssec-importkey.html
66 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
70 dnssec-dsfromkey@EXEEXT@
: dnssec-dsfromkey.@O@
${OBJS} ${DEPLIBS}
71 export BASEOBJS
="dnssec-dsfromkey.@O@ ${OBJS}"; \
74 dnssec-keyfromlabel@EXEEXT@
: dnssec-keyfromlabel.@O@
${OBJS} ${DEPLIBS}
75 export BASEOBJS
="dnssec-keyfromlabel.@O@ ${OBJS}"; \
78 dnssec-keygen@EXEEXT@
: dnssec-keygen.@O@
${OBJS} ${DEPLIBS}
79 export BASEOBJS
="dnssec-keygen.@O@ ${OBJS}"; \
82 dnssec-signzone.@O@
: dnssec-signzone.c
83 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION
=\"${VERSION}\" \
84 -c
${srcdir}/dnssec-signzone.c
86 dnssec-signzone@EXEEXT@
: dnssec-signzone.@O@
${OBJS} ${DEPLIBS}
87 export BASEOBJS
="dnssec-signzone.@O@ ${OBJS}"; \
90 dnssec-verify.@O@
: dnssec-verify.c
91 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION
=\"${VERSION}\" \
92 -c
${srcdir}/dnssec-verify.c
94 dnssec-verify@EXEEXT@
: dnssec-verify.@O@
${OBJS} ${DEPLIBS}
95 export BASEOBJS
="dnssec-verify.@O@ ${OBJS}"; \
98 dnssec-revoke@EXEEXT@
: dnssec-revoke.@O@
${OBJS} ${DEPLIBS}
99 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
100 dnssec-revoke.@O@
${OBJS} ${LIBS}
102 dnssec-settime@EXEEXT@
: dnssec-settime.@O@
${OBJS} ${DEPLIBS}
103 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
104 dnssec-settime.@O@
${OBJS} ${LIBS}
106 dnssec-importkey@EXEEXT@
: dnssec-importkey.@O@
${OBJS} ${DEPLIBS}
107 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
108 dnssec-importkey.@O@
${OBJS} ${LIBS}
112 docclean manclean maintainer-clean
::
116 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${sbindir}
117 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man8
119 install:: ${TARGETS} installdirs
120 for t in
${TARGETS}; do
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir}; done
121 for m in
${MANPAGES}; do
${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8
; done