1 # Copyright (C) 2004, 2005, 2007-2009 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 2009/12/05 23:31:40 each Exp
20 top_srcdir
= @top_srcdir@
26 CINCLUDES
= ${DNS_INCLUDES} ${ISC_INCLUDES}
28 CDEFINES
= -DVERSION
=\"${VERSION}\" @USE_PKCS11@
31 DNSLIBS
= ..
/..
/lib
/dns
/libdns.@A@ @DNS_CRYPTO_LIBS@
32 ISCLIBS
= ..
/..
/lib
/isc
/libisc.@A@
33 ISCNOSYMLIBS
= ..
/..
/lib
/isc
/libisc-nosymtbl.@A@
35 DNSDEPLIBS
= ..
/..
/lib
/dns
/libdns.@A@
36 ISCDEPLIBS
= ..
/..
/lib
/isc
/libisc.@A@
38 DEPLIBS
= ${DNSDEPLIBS} ${ISCDEPLIBS}
40 LIBS
= ${DNSLIBS} ${ISCLIBS} @LIBS@
42 NOSYMLIBS
= ${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@
45 TARGETS
= dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \
46 dnssec-keyfromlabel@EXEEXT@ dnssec-dsfromkey@EXEEXT@ \
47 dnssec-revoke@EXEEXT@ dnssec-settime@EXEEXT@
51 SRCS
= dnssec-dsfromkey.c dnssec-keyfromlabel.c dnssec-keygen.c \
52 dnssec-revoke.c dnssec-settime.c dnssec-signzone.c dnssectool.c
54 MANPAGES
= dnssec-dsfromkey
.8 dnssec-keyfromlabel
.8 dnssec-keygen
.8 \
55 dnssec-revoke
.8 dnssec-settime
.8 dnssec-signzone
.8
57 HTMLPAGES
= dnssec-dsfromkey.html dnssec-keyfromlabel.html \
58 dnssec-keygen.html dnssec-revoke.html \
59 dnssec-settime.html dnssec-signzone.html
61 MANOBJS
= ${MANPAGES} ${HTMLPAGES}
65 dnssec-dsfromkey@EXEEXT@
: dnssec-dsfromkey.@O@
${OBJS} ${DEPLIBS}
66 export BASEOBJS
="dnssec-dsfromkey.@O@ ${OBJS}"; \
69 dnssec-keyfromlabel@EXEEXT@
: dnssec-keyfromlabel.@O@
${OBJS} ${DEPLIBS}
70 export BASEOBJS
="dnssec-keyfromlabel.@O@ ${OBJS}"; \
73 dnssec-keygen@EXEEXT@
: dnssec-keygen.@O@
${OBJS} ${DEPLIBS}
74 export BASEOBJS
="dnssec-keygen.@O@ ${OBJS}"; \
77 dnssec-signzone.@O@
: dnssec-signzone.c
78 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION
=\"${VERSION}\" \
79 -c
${srcdir}/dnssec-signzone.c
81 dnssec-signzone@EXEEXT@
: dnssec-signzone.@O@
${OBJS} ${DEPLIBS}
82 export BASEOBJS
="dnssec-signzone.@O@ ${OBJS}"; \
85 dnssec-revoke@EXEEXT@
: dnssec-revoke.@O@
${OBJS} ${DEPLIBS}
86 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
87 dnssec-revoke.@O@
${OBJS} ${LIBS}
89 dnssec-settime@EXEEXT@
: dnssec-settime.@O@
${OBJS} ${DEPLIBS}
90 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o
$@ \
91 dnssec-settime.@O@
${OBJS} ${LIBS}
95 docclean manclean maintainer-clean
::
99 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${sbindir}
100 $(SHELL
) ${top_srcdir}/mkinstalldirs
${DESTDIR}${mandir}/man8
102 install:: ${TARGETS} installdirs
103 for t in
${TARGETS}; do
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir}; done
104 for m in
${MANPAGES}; do
${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8
; done