head	1.12;
access;
symbols
	RELENG_8_4:1.12.0.2
	RELENG_9_1_0_RELEASE:1.10.2.1.4.2
	RELENG_9_1:1.10.2.1.0.4
	RELENG_9_1_BP:1.10.2.1
	RELENG_8_3_0_RELEASE:1.9.2.1.8.1
	RELENG_8_3:1.9.2.1.0.8
	RELENG_8_3_BP:1.9.2.1
	RELENG_9_0_0_RELEASE:1.10.2.1.2.1
	RELENG_9_0:1.10.2.1.0.2
	RELENG_9_0_BP:1.10.2.1
	RELENG_9:1.10.0.2
	RELENG_9_BP:1.10
	RELENG_7_4_0_RELEASE:1.8.2.1.2.1
	RELENG_8_2_0_RELEASE:1.9.2.1.6.1
	RELENG_7_4:1.8.2.1.0.2
	RELENG_7_4_BP:1.8.2.1
	RELENG_8_2:1.9.2.1.0.6
	RELENG_8_2_BP:1.9.2.1
	RELENG_8_1_0_RELEASE:1.9.2.1.4.1
	RELENG_8_1:1.9.2.1.0.4
	RELENG_8_1_BP:1.9.2.1
	RELENG_7_3_0_RELEASE:1.8.10.2
	RELENG_7_3:1.8.0.10
	RELENG_7_3_BP:1.8
	RELENG_8_0_0_RELEASE:1.9.2.1.2.1
	RELENG_8_0:1.9.2.1.0.2
	RELENG_8_0_BP:1.9.2.1
	RELENG_8:1.9.0.2
	RELENG_8_BP:1.9
	RELENG_7_2_0_RELEASE:1.8.8.1
	RELENG_7_2:1.8.0.8
	RELENG_7_2_BP:1.8
	RELENG_7_1_0_RELEASE:1.8.6.1
	RELENG_6_4_0_RELEASE:1.5.2.1.8.1
	RELENG_7_1:1.8.0.6
	RELENG_7_1_BP:1.8
	RELENG_6_4:1.5.2.1.0.8
	RELENG_6_4_BP:1.5.2.1
	RELENG_7_0_0_RELEASE:1.8
	RELENG_6_3_0_RELEASE:1.5.2.1
	RELENG_7_0:1.8.0.4
	RELENG_7_0_BP:1.8
	RELENG_6_3:1.5.2.1.0.6
	RELENG_6_3_BP:1.5.2.1
	RELENG_7:1.8.0.2
	RELENG_7_BP:1.8
	RELENG_6_2_0_RELEASE:1.5.2.1
	RELENG_6_2:1.5.2.1.0.4
	RELENG_6_2_BP:1.5.2.1
	RELENG_5_5_0_RELEASE:1.4.2.3
	RELENG_5_5:1.4.2.3.0.2
	RELENG_5_5_BP:1.4.2.3
	RELENG_6_1_0_RELEASE:1.5.2.1
	RELENG_6_1:1.5.2.1.0.2
	RELENG_6_1_BP:1.5.2.1
	RELENG_6_0_0_RELEASE:1.5
	RELENG_6_0:1.5.0.4
	RELENG_6_0_BP:1.5
	RELENG_6:1.5.0.2
	RELENG_6_BP:1.5
	RELENG_5_4_0_RELEASE:1.4.2.2
	RELENG_5_4:1.4.2.2.0.2
	RELENG_5_4_BP:1.4.2.2
	RELENG_5_3_0_RELEASE:1.4.2.1
	RELENG_5_3:1.4.2.1.0.2
	RELENG_5_3_BP:1.4.2.1
	RELENG_5:1.4.0.2;
locks; strict;
comment	@# @;


1.12
date	2012.12.07.12.43.14;	author svnexp;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2012.11.17.01.49.17;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2011.07.16.11.20.54;	author dougb;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2009.05.31.05.42.58;	author dougb;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2007.06.02.23.19.56;	author dougb;	state Exp;
branches
	1.8.2.1
	1.8.6.1
	1.8.8.1
	1.8.10.1;
next	1.7;

1.7
date	2006.03.17.18.54.24;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2005.11.07.15.22.34;	author ru;	state Exp;
branches;
next	1.5;

1.5
date	2005.03.17.08.35.21;	author dougb;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2004.09.24.18.42.04;	author dougb;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2004.09.24.13.41.58;	author ru;	state Exp;
branches;
next	1.2;

1.2
date	2004.09.22.12.13.55;	author des;	state Exp;
branches;
next	1.1;

1.1
date	2004.09.21.19.01.43;	author des;	state Exp;
branches;
next	;

1.12.2.1
date	2012.12.07.12.43.14;	author svnexp;	state dead;
branches;
next	1.12.2.2;

1.12.2.2
date	2013.03.28.13.02.55;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.10.2.1.2.1
	1.10.2.1.4.1;
next	1.10.2.2;

1.10.2.2
date	2012.11.17.11.36.15;	author svnexp;	state Exp;
branches;
next	1.10.2.3;

1.10.2.3
date	2013.01.08.10.02.29;	author svnexp;	state Exp;
branches;
next	1.10.2.4;

1.10.2.4
date	2013.08.26.08.01.50;	author svnexp;	state Exp;
branches;
next	1.10.2.5;

1.10.2.5
date	2014.03.03.10.08.05;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.10.2.1.2.2;

1.10.2.1.2.2
date	2012.11.17.08.36.15;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.10.2.1.4.2;

1.10.2.1.4.2
date	2012.11.17.08.47.05;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.9.2.1.2.1
	1.9.2.1.4.1
	1.9.2.1.6.1
	1.9.2.1.8.1;
next	1.9.2.2;

1.9.2.2
date	2012.11.17.10.36.00;	author svnexp;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2013.02.11.12.33.27;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.9.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.9.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.9.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.9.2.1.8.2;

1.9.2.1.8.2
date	2012.11.17.08.24.41;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1
date	2010.02.16.05.14.51;	author dougb;	state Exp;
branches
	1.8.2.1.2.1;
next	1.8.2.2;

1.8.2.2
date	2012.11.17.08.01.44;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.8.2.1.2.2;

1.8.2.1.2.2
date	2012.11.17.08.16.40;	author svnexp;	state Exp;
branches;
next	;

1.8.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.8.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.8.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	1.8.10.2;

1.8.10.2
date	2010.02.16.18.10.35;	author dougb;	state Exp;
branches;
next	;

1.5.2.1
date	2005.11.16.07.59.49;	author ru;	state Exp;
branches
	1.5.2.1.8.1;
next	1.5.2.2;

1.5.2.2
date	2012.11.17.07.39.30;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1.8.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.4.2.1
date	2004.09.26.03.10.11;	author des;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2005.03.23.18.16.33;	author dougb;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2006.01.14.10.37.50;	author dougb;	state Exp;
branches;
next	;


desc
@@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243981
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lib/bind/dns/Makefile 243981 2012-12-07 12:39:58Z erwin $

.include <bsd.own.mk>

BIND_DIR=	${.CURDIR}/../../../contrib/bind9
LIB_BIND_REL=	..
LIB_BIND_DIR=	${.CURDIR}/${LIB_BIND_REL}
SRCDIR=		${BIND_DIR}/lib/dns

.include	"${LIB_BIND_DIR}/config.mk"

LIB=		dns

.PATH:		${SRCDIR}
SRCS+=		acache.c acl.c adb.c byaddr.c \
		cache.c callbacks.c compress.c \
		db.c dbiterator.c dbtable.c diff.c dispatch.c \
		dlz.c dns64.c dnssec.c ds.c \
		dst_api.c dst_lib.c dst_parse.c dst_result.c \
		forward.c \
		gssapi_link.c gssapictx.c hmac_link.c \
		iptable.c journal.c \
		key.c \
		keydata.c keytable.c lib.c log.c lookup.c \
		master.c masterdump.c message.c \
		name.c ncache.c nsec.c nsec3.c \
		openssl_link.c openssldh_link.c \
		openssldsa_link.c opensslgost_link.c opensslrsa_link.c \
		opensslecdsa_link.c \
		order.c peer.c portlist.c private.c \
		rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c rdatalist.c \
		rdataset.c rdatasetiter.c rdataslab.c request.c \
		resolver.c result.c rootns.c rpz.c rriterator.c \
		sdb.c sdlz.c soa.c ssu.c ssu_external.c \
		stats.c tcpmsg.c time.c timer.c tkey.c \
		tsec.c tsig.c ttl.c validator.c \
		version.c view.c xfrin.c zone.c zonekey.c zt.c

CFLAGS+=	-I${SRCDIR}/include/dst -I${SRCDIR}/include -I${SRCDIR}
CFLAGS+=	-I${.CURDIR}
CFLAGS+=	-I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include

DPADD=		${CRYPTO_DPADD} ${PTHREAD_DPADD}
LDADD=		${CRYPTO_LDADD} ${PTHREAD_LDADD}

.if ${MK_BIND_LIBS} != "no"
DNSINCS=	${SRCDIR}/include/dns/acache.h \
		${SRCDIR}/include/dns/acl.h \
		${SRCDIR}/include/dns/adb.h \
		${SRCDIR}/include/dns/bit.h \
		${SRCDIR}/include/dns/byaddr.h \
		${SRCDIR}/include/dns/cache.h \
		${SRCDIR}/include/dns/callbacks.h \
		${SRCDIR}/include/dns/cert.h \
		${SRCDIR}/include/dns/compress.h \
		${SRCDIR}/include/dns/db.h \
		${SRCDIR}/include/dns/dbiterator.h \
		${SRCDIR}/include/dns/dbtable.h \
		${SRCDIR}/include/dns/diff.h \
		${SRCDIR}/include/dns/dispatch.h \
		${SRCDIR}/include/dns/dlz.h \
		${SRCDIR}/include/dns/dnssec.h \
		${SRCDIR}/include/dns/ds.h \
		${SRCDIR}/include/dns/events.h \
		${SRCDIR}/include/dns/fixedname.h \
		${SRCDIR}/include/dns/forward.h \
		${SRCDIR}/include/dns/iptable.h \
		${SRCDIR}/include/dns/journal.h \
		${SRCDIR}/include/dns/keyflags.h \
		${SRCDIR}/include/dns/keytable.h \
		${SRCDIR}/include/dns/keyvalues.h \
		${SRCDIR}/include/dns/lib.h \
		${SRCDIR}/include/dns/log.h \
		${SRCDIR}/include/dns/lookup.h \
		${SRCDIR}/include/dns/master.h \
		${SRCDIR}/include/dns/masterdump.h \
		${SRCDIR}/include/dns/message.h \
		${SRCDIR}/include/dns/name.h \
		${SRCDIR}/include/dns/ncache.h \
		${SRCDIR}/include/dns/nsec.h \
		${SRCDIR}/include/dns/nsec3.h \
		${SRCDIR}/include/dns/opcode.h \
		${SRCDIR}/include/dns/order.h \
		${SRCDIR}/include/dns/peer.h \
		${SRCDIR}/include/dns/portlist.h \
		${SRCDIR}/include/dns/private.h \
		${SRCDIR}/include/dns/rbt.h \
		${SRCDIR}/include/dns/rcode.h \
		${SRCDIR}/include/dns/rdata.h \
		${SRCDIR}/include/dns/rdatasetiter.h \
		${SRCDIR}/include/dns/rdataclass.h \
		${SRCDIR}/include/dns/rdatalist.h \
		${SRCDIR}/include/dns/rdataset.h \
		${SRCDIR}/include/dns/rdataslab.h \
		${SRCDIR}/include/dns/rdatatype.h \
		${SRCDIR}/include/dns/request.h \
		${SRCDIR}/include/dns/resolver.h \
		${SRCDIR}/include/dns/result.h \
		${SRCDIR}/include/dns/rootns.h \
		${SRCDIR}/include/dns/sdb.h \
		${SRCDIR}/include/dns/sdlz.h \
		${SRCDIR}/include/dns/secalg.h \
		${SRCDIR}/include/dns/secproto.h \
		${SRCDIR}/include/dns/soa.h \
		${SRCDIR}/include/dns/ssu.h \
		${SRCDIR}/include/dns/stats.h \
		${SRCDIR}/include/dns/tcpmsg.h \
		${SRCDIR}/include/dns/time.h \
		${SRCDIR}/include/dns/timer.h \
		${SRCDIR}/include/dns/tkey.h \
		${SRCDIR}/include/dns/tsig.h \
		${SRCDIR}/include/dns/ttl.h \
		${SRCDIR}/include/dns/types.h \
		${SRCDIR}/include/dns/validator.h \
		${SRCDIR}/include/dns/version.h \
		${SRCDIR}/include/dns/view.h \
		${SRCDIR}/include/dns/xfrin.h \
		${SRCDIR}/include/dns/zone.h \
		${SRCDIR}/include/dns/zonekey.h \
		${SRCDIR}/include/dns/zt.h \
		dns/enumtype.h \
		dns/enumclass.h \
		dns/rdatastruct.h

DNSINCSDIR=	${INCLUDEDIR}/dns

DSTINCS=	${SRCDIR}/include/dst/dst.h \
		${SRCDIR}/include/dst/gssapi.h \
		${SRCDIR}/include/dst/lib.h \
		${SRCDIR}/include/dst/result.h

DSTINCSDIR=	${INCLUDEDIR}/dst

INCSGROUPS=	DNSINCS DSTINCS
.endif

.if defined(MAINTAINER_MODE)
generate: ${.CURDIR}/dns/enumtype.h ${.CURDIR}/dns/enumclass.h \
	${.CURDIR}/dns/rdatastruct.h ${.CURDIR}/code.h

gen: ${SRCDIR}/gen.c

${.CURDIR}/dns/enumtype.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen -t) >${.TARGET}

${.CURDIR}/dns/enumclass.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen -c) >${.TARGET}

${.CURDIR}/dns/rdatastruct.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen -i -P rdata/rdatastructpre.h \
	    -S rdata/rdatastructsuf.h) >${.TARGET}

${.CURDIR}/code.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen) >${.TARGET}
.endif

.include <bsd.lib.mk>
@


1.12.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:55 +0000
@
text
@d1 157
@


1.12.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 157
# $FreeBSD: releng/8.4/lib/bind/dns/Makefile 246656 2013-02-11 09:42:34Z delphij $

.include <bsd.own.mk>

BIND_DIR=	${.CURDIR}/../../../contrib/bind9
LIB_BIND_REL=	..
LIB_BIND_DIR=	${.CURDIR}/${LIB_BIND_REL}
SRCDIR=		${BIND_DIR}/lib/dns

.include	"${LIB_BIND_DIR}/config.mk"

LIB=		dns

.PATH:		${SRCDIR}
SRCS+=		acache.c acl.c adb.c byaddr.c \
		cache.c callbacks.c compress.c \
		db.c dbiterator.c dbtable.c diff.c dispatch.c \
		dlz.c dns64.c dnssec.c ds.c \
		dst_api.c dst_lib.c dst_parse.c dst_result.c \
		forward.c \
		gssapi_link.c gssapictx.c hmac_link.c \
		iptable.c journal.c \
		key.c \
		keydata.c keytable.c lib.c log.c lookup.c \
		master.c masterdump.c message.c \
		name.c ncache.c nsec.c nsec3.c \
		openssl_link.c openssldh_link.c \
		openssldsa_link.c opensslgost_link.c opensslrsa_link.c \
		opensslecdsa_link.c \
		order.c peer.c portlist.c private.c \
		rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c rdatalist.c \
		rdataset.c rdatasetiter.c rdataslab.c request.c \
		resolver.c result.c rootns.c rpz.c rriterator.c \
		sdb.c sdlz.c soa.c ssu.c ssu_external.c \
		stats.c tcpmsg.c time.c timer.c tkey.c \
		tsec.c tsig.c ttl.c validator.c \
		version.c view.c xfrin.c zone.c zonekey.c zt.c

CFLAGS+=	-I${SRCDIR}/include/dst -I${SRCDIR}/include -I${SRCDIR}
CFLAGS+=	-I${.CURDIR}
CFLAGS+=	-I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include

DPADD=		${CRYPTO_DPADD} ${PTHREAD_DPADD}
LDADD=		${CRYPTO_LDADD} ${PTHREAD_LDADD}

.if ${MK_BIND_LIBS} != "no"
DNSINCS=	${SRCDIR}/include/dns/acache.h \
		${SRCDIR}/include/dns/acl.h \
		${SRCDIR}/include/dns/adb.h \
		${SRCDIR}/include/dns/bit.h \
		${SRCDIR}/include/dns/byaddr.h \
		${SRCDIR}/include/dns/cache.h \
		${SRCDIR}/include/dns/callbacks.h \
		${SRCDIR}/include/dns/cert.h \
		${SRCDIR}/include/dns/compress.h \
		${SRCDIR}/include/dns/db.h \
		${SRCDIR}/include/dns/dbiterator.h \
		${SRCDIR}/include/dns/dbtable.h \
		${SRCDIR}/include/dns/diff.h \
		${SRCDIR}/include/dns/dispatch.h \
		${SRCDIR}/include/dns/dlz.h \
		${SRCDIR}/include/dns/dnssec.h \
		${SRCDIR}/include/dns/ds.h \
		${SRCDIR}/include/dns/events.h \
		${SRCDIR}/include/dns/fixedname.h \
		${SRCDIR}/include/dns/forward.h \
		${SRCDIR}/include/dns/iptable.h \
		${SRCDIR}/include/dns/journal.h \
		${SRCDIR}/include/dns/keyflags.h \
		${SRCDIR}/include/dns/keytable.h \
		${SRCDIR}/include/dns/keyvalues.h \
		${SRCDIR}/include/dns/lib.h \
		${SRCDIR}/include/dns/log.h \
		${SRCDIR}/include/dns/lookup.h \
		${SRCDIR}/include/dns/master.h \
		${SRCDIR}/include/dns/masterdump.h \
		${SRCDIR}/include/dns/message.h \
		${SRCDIR}/include/dns/name.h \
		${SRCDIR}/include/dns/ncache.h \
		${SRCDIR}/include/dns/nsec.h \
		${SRCDIR}/include/dns/nsec3.h \
		${SRCDIR}/include/dns/opcode.h \
		${SRCDIR}/include/dns/order.h \
		${SRCDIR}/include/dns/peer.h \
		${SRCDIR}/include/dns/portlist.h \
		${SRCDIR}/include/dns/private.h \
		${SRCDIR}/include/dns/rbt.h \
		${SRCDIR}/include/dns/rcode.h \
		${SRCDIR}/include/dns/rdata.h \
		${SRCDIR}/include/dns/rdatasetiter.h \
		${SRCDIR}/include/dns/rdataclass.h \
		${SRCDIR}/include/dns/rdatalist.h \
		${SRCDIR}/include/dns/rdataset.h \
		${SRCDIR}/include/dns/rdataslab.h \
		${SRCDIR}/include/dns/rdatatype.h \
		${SRCDIR}/include/dns/request.h \
		${SRCDIR}/include/dns/resolver.h \
		${SRCDIR}/include/dns/result.h \
		${SRCDIR}/include/dns/rootns.h \
		${SRCDIR}/include/dns/sdb.h \
		${SRCDIR}/include/dns/sdlz.h \
		${SRCDIR}/include/dns/secalg.h \
		${SRCDIR}/include/dns/secproto.h \
		${SRCDIR}/include/dns/soa.h \
		${SRCDIR}/include/dns/ssu.h \
		${SRCDIR}/include/dns/stats.h \
		${SRCDIR}/include/dns/tcpmsg.h \
		${SRCDIR}/include/dns/time.h \
		${SRCDIR}/include/dns/timer.h \
		${SRCDIR}/include/dns/tkey.h \
		${SRCDIR}/include/dns/tsig.h \
		${SRCDIR}/include/dns/ttl.h \
		${SRCDIR}/include/dns/types.h \
		${SRCDIR}/include/dns/validator.h \
		${SRCDIR}/include/dns/version.h \
		${SRCDIR}/include/dns/view.h \
		${SRCDIR}/include/dns/xfrin.h \
		${SRCDIR}/include/dns/zone.h \
		${SRCDIR}/include/dns/zonekey.h \
		${SRCDIR}/include/dns/zt.h \
		dns/enumtype.h \
		dns/enumclass.h \
		dns/rdatastruct.h

DNSINCSDIR=	${INCLUDEDIR}/dns

DSTINCS=	${SRCDIR}/include/dst/dst.h \
		${SRCDIR}/include/dst/gssapi.h \
		${SRCDIR}/include/dst/lib.h \
		${SRCDIR}/include/dst/result.h

DSTINCSDIR=	${INCLUDEDIR}/dst

INCSGROUPS=	DNSINCS DSTINCS
.endif

.if defined(MAINTAINER_MODE)
generate: ${.CURDIR}/dns/enumtype.h ${.CURDIR}/dns/enumclass.h \
	${.CURDIR}/dns/rdatastruct.h ${.CURDIR}/code.h

gen: ${SRCDIR}/gen.c

${.CURDIR}/dns/enumtype.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen -t) >${.TARGET}

${.CURDIR}/dns/enumclass.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen -c) >${.TARGET}

${.CURDIR}/dns/rdatastruct.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen -i -P rdata/rdatastructpre.h \
	    -S rdata/rdatastructsuf.h) >${.TARGET}

${.CURDIR}/code.h: gen
	(cd ${SRCDIR} && ${.OBJDIR}/gen) >${.TARGET}
.endif

.include <bsd.lib.mk>
@


1.11
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/bind/dns/Makefile 224093 2011-07-16 11:20:54Z dougb $
d29 1
@


1.10
log
@SVN rev 224093 on 2011-07-16 11:20:54Z by dougb

bmake and other updates necessary for the BIND 9.8.x upgrade.

This includes a structural change regarding atomic ops. Previously they
were enabled on all platforms unless we had knowledge that they did not
work. However both work performed by marius@@ on sparc64 and the fact that
the 9.8.x branch is fussier in this area has demonstrated that this is
not a safe approach. So I've modified a patch provided by marius to
enable them for i386, amd64, and ia64 only.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.10.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.10.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/bind/dns/Makefile 224093 2011-07-16 11:20:54Z dougb $
@


1.10.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245163
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r245163 | erwin | 2013-01-08 09:05:09 +0000 (Tue, 08 Jan 2013) | 21 lines
## SVN ##
## SVN ## MFC r243981,243987:
## SVN ##
## SVN ##   Update to 9.8.4-P1.
## SVN ##
## SVN ##   New Features
## SVN ##
## SVN ##   *  Elliptic Curve Digital Signature Algorithm keys and signatures in
## SVN ##      DNSSEC are now supported per RFC 6605. [RT #21918]
## SVN ##
## SVN ##   Feature Changes
## SVN ##
## SVN ##   *  Improves OpenSSL error logging [RT #29932]
## SVN ##
## SVN ##   *  nslookup now returns a nonzero exit code when it is unable to get
## SVN ##      an answer.  [RT #29492]
## SVN ##
## SVN ##   Other critical bug fixes are included.
## SVN ##
## SVN ##   Approved by:  delphij (mentor)
## SVN ##   Sponsored by: DK Hostmaster A/S
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/bind/dns/Makefile 245163 2013-01-08 09:05:09Z erwin $
a28 1
		opensslecdsa_link.c \
@


1.10.2.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/254897
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/bind/dns/Makefile 254897 2013-08-26 07:17:41Z erwin $
d16 1
a16 1
		cache.c callbacks.c clientinfo.c compress.c \
d36 1
a36 1
		tsec.c tsig.c ttl.c update.c validator.c \
a54 1
		${SRCDIR}/include/dns/clientinfo.h \
a113 1
		${SRCDIR}/include/dns/update.h \
@


1.10.2.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/262706
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/bind/dns/Makefile 262706 2014-03-03 09:18:19Z erwin $
d33 1
a33 1
		resolver.c result.c rootns.c rpz.c rriterator.c rrl.c \
a100 1
		${SRCDIR}/include/dns/rrl.h \
@


1.10.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.10.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/bind/dns/Makefile 224093 2011-07-16 11:20:54Z dougb $
@


1.10.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.10.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/bind/dns/Makefile 224093 2011-07-16 11:20:54Z dougb $
@


1.9
log
@SVN rev 193149 on 2009-05-31 05:42:58Z by dougb

Update BIND to version 9.6.1rc1. This version has better performance and
lots of new features compared to 9.4.x, including:

	Full NSEC3 support
	Automatic zone re-signing
	New update-policy methods tcp-self and 6to4-self
	DHCID support.
	More detailed statistics counters including those supported in BIND 8.
	Faster ACL processing.
	Efficient LRU cache-cleaning mechanism.
	NSID support.
@
text
@d18 1
a18 1
		dlz.c dnssec.c ds.c \
d22 1
a22 2
		iptable.c \
		journal.c \
d24 1
a24 2
		keytable.c \
		lib.c log.c lookup.c \
d28 3
a30 4
		openssldsa_link.c opensslrsa_link.c \
		order.c peer.c portlist.c \
		rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c \
		rdatalist.c \
d32 2
a33 1
		resolver.c result.c rootns.c sdb.c sdlz.c soa.c ssu.c \
d35 1
a35 1
		tsig.c ttl.c validator.c \
d85 1
@


1.9.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.9.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/lib/bind/dns/Makefile 193149 2009-05-31 05:42:58Z dougb $
@


1.9.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246656
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/lib/bind/dns/Makefile 246656 2013-02-11 09:42:34Z delphij $
d18 1
a18 1
		dlz.c dns64.c dnssec.c ds.c \
d22 2
a23 1
		iptable.c journal.c \
d25 2
a26 1
		keydata.c keytable.c lib.c log.c lookup.c \
d30 4
a33 4
		openssldsa_link.c opensslgost_link.c opensslrsa_link.c \
		opensslecdsa_link.c \
		order.c peer.c portlist.c private.c \
		rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c rdatalist.c \
d35 1
a35 2
		resolver.c result.c rootns.c rpz.c rriterator.c \
		sdb.c sdlz.c soa.c ssu.c ssu_external.c \
d37 1
a37 1
		tsec.c tsig.c ttl.c validator.c \
a86 1
		${SRCDIR}/include/dns/private.h \
@


1.9.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.9.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/lib/bind/dns/Makefile 193149 2009-05-31 05:42:58Z dougb $
@


1.9.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.9.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.9.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.8
log
@Update bmake glue for the BIND 9.4.1 import.

This includes a return to building with threads, since one of the
major focuses of the 9.4.x branch is to improve thread performance.
@
text
@d22 1
d28 1
a28 1
		name.c ncache.c nsec.c \
d68 1
d82 1
@


1.8.2.1
log
@SVN rev 203948 on 2010-02-16 05:14:51Z by dougb

Upgrade to BIND 9.4-ESV. This version incorporates all bug and security
fixes since the release of 9.4.3, including the most recent -P5 security
fix detailed below.

From the README:
BIND 9.4-ESV will be supported until December 31, 2010, at
which time you will need to upgrade to the current release
of BIND.

This versions address the following vulnerabilities:

BIND 9 Cache Update from Additional Section
https://www.isc.org/advisories/CVE-2009-4022v6
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4022
A nameserver with DNSSEC validation enabled may incorrectly add
unauthenticated records to its cache that are received during the
resolution of a recursive client query

BIND 9 DNSSEC validation code could cause bogus NXDOMAIN responses
https://www.isc.org/advisories/CVE-2010-0097
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0097
There was an error in the DNSSEC NSEC/NSEC3 validation code that could
cause bogus NXDOMAIN responses (that is, NXDOMAIN responses for records
proven by NSEC or NSEC3 to exist) to be cached as if they had validated
correctly

These issues only affect systems with DNSSEC validation enabled.

Approved by:	re (kensmith)
@
text
@d15 1
a15 6
SRCS+=		dst_api.c dst_lib.c dst_parse.c \
		dst_result.c gssapi_link.c gssapictx.c \
		hmac_link.c key.c \
		openssl_link.c openssldh_link.c \
		openssldsa_link.c opensslrsa_link.c \
		acache.c acl.c adb.c byaddr.c \
d18 7
a24 1
		dlz.c dnssec.c ds.c forward.c journal.c keytable.c \
d27 4
a30 1
		name.c ncache.c nsec.c order.c peer.c portlist.c \
d34 1
a34 2
		resolver.c result.c rootns.c sdb.c sdlz.c \
		soa.c ssu.c \
@


1.8.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/lib/bind/dns/Makefile 203948 2010-02-16 05:14:51Z dougb $
@


1.8.2.1.2.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.8.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/lib/bind/dns/Makefile 203948 2010-02-16 05:14:51Z dougb $
@


1.8.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.8.10.2
log
@SVN rev 203961 on 2010-02-16 18:10:35Z by dougb

Merge from stable/7, version 203948:

Upgrade to BIND 9.4-ESV. This version incorporates all bug and security
fixes since the release of 9.4.3, including the most recent -P5 security
fix detailed below.

From the README:
BIND 9.4-ESV will be supported until December 31, 2010, at
which time you will need to upgrade to the current release
of BIND.

This versions address the following vulnerabilities:

BIND 9 Cache Update from Additional Section
https://www.isc.org/advisories/CVE-2009-4022v6
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4022
A nameserver with DNSSEC validation enabled may incorrectly add
unauthenticated records to its cache that are received during the
resolution of a recursive client query

BIND 9 DNSSEC validation code could cause bogus NXDOMAIN responses
https://www.isc.org/advisories/CVE-2010-0097
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0097
There was an error in the DNSSEC NSEC/NSEC3 validation code that could
cause bogus NXDOMAIN responses (that is, NXDOMAIN responses for records
proven by NSEC or NSEC3 to exist) to be cached as if they had validated
correctly

These issues only affect systems with DNSSEC validation enabled.

Approved by:	re (kensmith)
@
text
@d15 1
a15 6
SRCS+=		dst_api.c dst_lib.c dst_parse.c \
		dst_result.c gssapi_link.c gssapictx.c \
		hmac_link.c key.c \
		openssl_link.c openssldh_link.c \
		openssldsa_link.c opensslrsa_link.c \
		acache.c acl.c adb.c byaddr.c \
d18 7
a24 1
		dlz.c dnssec.c ds.c forward.c journal.c keytable.c \
d27 4
a30 1
		name.c ncache.c nsec.c order.c peer.c portlist.c \
d34 1
a34 2
		resolver.c result.c rootns.c sdb.c sdlz.c \
		soa.c ssu.c \
@


1.8.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.8.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.7
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d15 1
a15 1
SRCS+=		acl.c adb.c byaddr.c \
d18 1
a18 1
		dnssec.c ds.c \
d34 1
a34 1
		resolver.c result.c rootns.c sdb.c soa.c ssu.c \
d41 1
d43 2
a44 2
DPADD=		${CRYPTO_DPADD}
LDADD=		${CRYPTO_LDADD}
d47 2
a48 1
DNSINCS=	${SRCDIR}/include/dns/acl.h \
d61 1
d98 1
@


1.6
log
@Finish the removal of threads support in ../config.mk,v 1.15.
@
text
@d3 2
d45 1
a45 1
.if defined(WITH_BIND_LIBS)
@


1.5
log
@bmake changes to handle the move of dns/sec and related files
@
text
@d40 2
a41 2
DPADD=		${CRYPTO_DPADD} ${PTHREAD_DPADD}
LDADD=		${CRYPTO_LDADD} ${PTHREAD_LDADD}
@


1.5.2.1
log
@MFC: Finish the removal of threads support in ../config.mk,v 1.15.
@
text
@d40 2
a41 2
DPADD=		${CRYPTO_DPADD}
LDADD=		${CRYPTO_LDADD}
@


1.5.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/lib/bind/dns/Makefile 152481 2005-11-16 07:59:50Z ru $
@


1.5.2.1.8.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.4
log
@Fix the WANT_BIND_LIBS knob by correctly spelling it as WITH_BIND_LIBS
to match how similar syntax is used in the ports system. Thanks to kris
for pointing out my mistake here.

Install the lwres library unless the user defines NO_BIND, or the new
knob, NO_BIND_LIBS_LWRES. There is at least one potential customer
for this library in the wings. Thanks to nectar for the reminder.
@
text
@a11 9
.PATH:		${SRCDIR}/sec/dst
SRCS+=		dst_api.c \
		dst_lib.c dst_parse.c \
		dst_result.c gssapi_link.c \
		gssapictx.c hmac_link.c \
		key.c openssl_link.c \
		openssldh_link.c openssldsa_link.c \
		opensslrsa_link.c

d16 7
a22 1
		dnssec.c ds.c forward.c journal.c keytable.c \
d25 4
a28 1
		name.c ncache.c nsec.c order.c peer.c portlist.c \
d37 1
a37 1
CFLAGS+=	-I${SRCDIR}/sec/dst/include -I${SRCDIR}/include -I${SRCDIR}
d118 4
a121 4
DSTINCS=	${SRCDIR}/sec/dst/include/dst/dst.h \
		${SRCDIR}/sec/dst/include/dst/gssapi.h \
		${SRCDIR}/sec/dst/include/dst/lib.h \
		${SRCDIR}/sec/dst/include/dst/result.h \
@


1.4.2.1
log
@MFC: BIND 9 and related bits.

Approved by:	re
@
text
@@


1.4.2.2
log
@MFC BIND 9.3.1 and related bmake updates

Approved by:	re (kensmith)
@
text
@d12 9
d25 1
a25 7
		dnssec.c ds.c \
		dst_api.c dst_lib.c dst_parse.c dst_result.c \
		forward.c \
		gssapi_link.c gssapictx.c hmac_link.c \
		journal.c \
		key.c \
		keytable.c \
d28 1
a28 4
		name.c ncache.c nsec.c \
		openssl_link.c openssldh_link.c \
		openssldsa_link.c opensslrsa_link.c \
		order.c peer.c portlist.c \
d37 1
a37 1
CFLAGS+=	-I${SRCDIR}/include/dst -I${SRCDIR}/include -I${SRCDIR}
d118 4
a121 4
DSTINCS=	${SRCDIR}/include/dst/dst.h \
		${SRCDIR}/include/dst/gssapi.h \
		${SRCDIR}/include/dst/lib.h \
		${SRCDIR}/include/dst/result.h
@


1.4.2.3
log
@Complete the MFC process for removing thread support
@
text
@d40 2
a41 2
DPADD=		${CRYPTO_DPADD}
LDADD=		${CRYPTO_LDADD}
@


1.3
log
@Don't expose BIND libraries and their headers to the public by default,
but have a knob (WANT_BIND_LIBS) to build and install them in /usr/lib
and /usr/include.  Rumors are that this may be useful at a later point,
let's see.

What this really means is that all BIND libraries are now internal to
buildworld (by default, unless WANT_BIND_LIBS is defined), and linked
statically into various BIND executables.

While here, removed redundant -I's from CFLAGS in lib/bind makefiles.

Sponsored by:	des
OK'ed by:	dougb
@
text
@d43 1
a43 1
.if defined(WANT_BIND_LIBS)
@


1.2
log
@Clean up and comment config.mk.  Centralize more stuff.  Bitch if
POSIX threads libraries are not available.  Add crypto support if
the crypto libraries are available.  Build dnssec-{keygen,signzone}
if crypto is available.

Submitted by:	(in part) dougb@@
@
text
@d4 2
a5 1
LIB_BIND_DIR=	${.CURDIR}/..
d38 1
a38 1
CFLAGS+=	-I${.CURDIR} -I${.CURDIR}/..
d43 1
d126 1
@


1.1
log
@Switch from BIND 8 to BIND 9.

Submitted by:	(in part) dougb@@, trhodes@@
Reviewed by:	dougb@@, trhodes@@, re@@
MFC after:	5 days
@
text
@d39 2
a40 2
DPADD=		${LIBPTHREAD}
LDADD=		-lpthread
@

