PageRenderTime 23ms CodeModel.GetById 13ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/contrib/bind9/bin/dnssec/Makefile.in

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 108 lines | 61 code | 31 blank | 16 comment | 2 complexity | 9e8e3179297ac4eead334e291882db57 MD5 | raw file
  1# Copyright (C) 2004, 2005, 2007-2009  Internet Systems Consortium, Inc. ("ISC")
  2# Copyright (C) 2000-2002  Internet Software Consortium.
  3#
  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.
  7#
  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.
 15
 16# $Id: Makefile.in,v 1.42 2009/12/05 23:31:40 each Exp $
 17
 18srcdir =	@srcdir@
 19VPATH =		@srcdir@
 20top_srcdir =	@top_srcdir@
 21
 22@BIND9_VERSION@
 23
 24@BIND9_MAKE_INCLUDES@
 25
 26CINCLUDES =	${DNS_INCLUDES} ${ISC_INCLUDES}
 27
 28CDEFINES =	-DVERSION=\"${VERSION}\" @USE_PKCS11@
 29CWARNINGS =
 30
 31DNSLIBS =	../../lib/dns/libdns.@A@ @DNS_CRYPTO_LIBS@
 32ISCLIBS =	../../lib/isc/libisc.@A@
 33ISCNOSYMLIBS =	../../lib/isc/libisc-nosymtbl.@A@
 34
 35DNSDEPLIBS =	../../lib/dns/libdns.@A@
 36ISCDEPLIBS =	../../lib/isc/libisc.@A@
 37
 38DEPLIBS =	${DNSDEPLIBS} ${ISCDEPLIBS}
 39
 40LIBS =		${DNSLIBS} ${ISCLIBS} @LIBS@
 41
 42NOSYMLIBS =	${DNSLIBS} ${ISCNOSYMLIBS} @LIBS@
 43
 44# Alphabetically
 45TARGETS =	dnssec-keygen@EXEEXT@ dnssec-signzone@EXEEXT@ \
 46		dnssec-keyfromlabel@EXEEXT@ dnssec-dsfromkey@EXEEXT@ \
 47		dnssec-revoke@EXEEXT@ dnssec-settime@EXEEXT@
 48
 49OBJS =		dnssectool.@O@
 50
 51SRCS =		dnssec-dsfromkey.c dnssec-keyfromlabel.c dnssec-keygen.c \
 52		dnssec-revoke.c dnssec-settime.c dnssec-signzone.c dnssectool.c
 53
 54MANPAGES =	dnssec-dsfromkey.8 dnssec-keyfromlabel.8 dnssec-keygen.8 \
 55		dnssec-revoke.8 dnssec-settime.8 dnssec-signzone.8
 56
 57HTMLPAGES =	dnssec-dsfromkey.html dnssec-keyfromlabel.html \
 58		dnssec-keygen.html dnssec-revoke.html \
 59		dnssec-settime.html dnssec-signzone.html 
 60
 61MANOBJS =	${MANPAGES} ${HTMLPAGES}
 62
 63@BIND9_MAKE_RULES@
 64
 65dnssec-dsfromkey@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
 66	export BASEOBJS="dnssec-dsfromkey.@O@ ${OBJS}"; \
 67	${FINALBUILDCMD}
 68
 69dnssec-keyfromlabel@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
 70	export BASEOBJS="dnssec-keyfromlabel.@O@ ${OBJS}"; \
 71	${FINALBUILDCMD}
 72
 73dnssec-keygen@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
 74	export BASEOBJS="dnssec-keygen.@O@ ${OBJS}"; \
 75	${FINALBUILDCMD}
 76
 77dnssec-signzone.@O@: dnssec-signzone.c
 78	${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
 79		-c ${srcdir}/dnssec-signzone.c
 80
 81dnssec-signzone@EXEEXT@: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
 82	export BASEOBJS="dnssec-signzone.@O@ ${OBJS}"; \
 83	${FINALBUILDCMD}
 84
 85dnssec-revoke@EXEEXT@: dnssec-revoke.@O@ ${OBJS} ${DEPLIBS}
 86	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
 87	dnssec-revoke.@O@ ${OBJS} ${LIBS}
 88
 89dnssec-settime@EXEEXT@: dnssec-settime.@O@ ${OBJS} ${DEPLIBS}
 90	${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
 91	dnssec-settime.@O@ ${OBJS} ${LIBS}
 92
 93doc man:: ${MANOBJS}
 94
 95docclean manclean maintainer-clean::
 96	rm -f ${MANOBJS}
 97
 98installdirs:
 99	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
100	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
101
102install:: ${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
105
106clean distclean::
107	rm -f ${TARGETS}
108