head	1.5;
access;
symbols
	perseant-exfatfs-base-20250801:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.22
	perseant-exfatfs-base:1.5
	cjep_sun2x:1.5.0.20
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	cjep_staticlib_x:1.5.0.18
	cjep_staticlib_x-base:1.5
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	phil-wifi-20200406:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	pgoyette-compat-0728:1.5
	pgoyette-compat-0625:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	pgoyette-compat:1.5.0.16
	pgoyette-compat-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.14
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	bouyer-socketcan:1.5.0.12
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	pgoyette-localcount-20161104:1.5
	localcount-20160914:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.10
	pgoyette-localcount-base:1.5
	netbsd-5-2-3-RELEASE:1.4.4.2
	netbsd-5-1-5-RELEASE:1.4.4.1.2.1
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.5
	tls-earlyentropy:1.5.0.6
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-5-2-2-RELEASE:1.4.4.2
	netbsd-5-1-4-RELEASE:1.4.4.1.2.1
	netbsd-5-2-1-RELEASE:1.4.4.2
	netbsd-5-1-3-RELEASE:1.4.4.1.2.1
	agc-symver:1.5.0.8
	agc-symver-base:1.5
	tls-maxphys-base:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.4.4.2.0.2
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.4.4.2
	netbsd-5-2-RC1:1.4.4.2
	yamt-pagecache-base6:1.5
	yamt-pagecache-base5:1.5
	yamt-pagecache-base4:1.5
	netbsd-5-1-2-RELEASE:1.4.4.1.2.1
	netbsd-5-1-1-RELEASE:1.4.4.1.2.1
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.4
	yamt-pagecache-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.2
	bouyer-quota2-base:1.5
	matt-nb5-mips64-premerge-20101231:1.4.10.1
	matt-nb5-pq3:1.4.4.1.0.4
	matt-nb5-pq3-base:1.4.4.1
	netbsd-5-1:1.4.4.1.0.2
	netbsd-5-1-RELEASE:1.4.4.1
	netbsd-5-1-RC4:1.4.4.1
	matt-nb5-mips64-k15:1.4.10.1
	netbsd-5-1-RC3:1.4.4.1
	netbsd-5-1-RC2:1.4.4.1
	netbsd-5-1-RC1:1.4.4.1
	netbsd-5-0-2-RELEASE:1.4.8.1
	matt-nb5-mips64-premerge-20091211:1.4
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.4
	matt-nb4-mips64-k7-u2a-k9b:1.4
	matt-nb5-mips64-u1-k1-k5:1.4
	matt-nb5-mips64:1.4.0.10
	netbsd-5-0-1-RELEASE:1.4
	jym-xensuspend-nbase:1.5
	netbsd-5-0:1.4.0.8
	netbsd-5-0-RELEASE:1.4
	netbsd-5-0-RC4:1.4
	netbsd-5-0-RC3:1.4
	netbsd-5-0-RC2:1.4
	jym-xensuspend:1.4.0.6
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.4
	netbsd-5:1.4.0.4
	netbsd-5-base:1.4
	matt-mips64-base2:1.4
	wrstuden-revivesa-base-3:1.4
	wrstuden-revivesa-base-2:1.4
	wrstuden-revivesa-base-1:1.2
	yamt-pf42-base4:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	yamt-pf42-baseX:1.1
	yamt-pf42-base2:1.1
	wrstuden-revivesa:1.1.0.10
	wrstuden-revivesa-base:1.2
	yamt-pf42:1.1.0.8
	yamt-pf42-base:1.1
	hpcarm-cleanup-base:1.1
	keiichi-mipv6:1.1.0.6
	keiichi-mipv6-base:1.1
	matt-armv6-nbase:1.1
	matt-armv6-prevmlocking:1.1.2.2
	cube-autoconf:1.1.0.4
	cube-autoconf-base:1.1
	matt-armv6-base:1.1
	matt-armv6:1.1.0.2;
locks; strict;
comment	@# @;


1.5
date	2009.04.18.13.02.27;	author christos;	state dead;
branches;
next	1.4;

1.4
date	2008.08.29.00.02.22;	author gmcgarry;	state Exp;
branches
	1.4.4.1
	1.4.6.1
	1.4.8.1
	1.4.10.1;
next	1.3;

1.3
date	2008.07.12.12.29.42;	author gmcgarry;	state Exp;
branches;
next	1.2;

1.2
date	2008.06.21.23.32.19;	author christos;	state Exp;
branches;
next	1.1;

1.1
date	2007.11.04.23.28.18;	author tls;	state Exp;
branches
	1.1.2.1
	1.1.10.1;
next	;

1.4.4.1
date	2009.12.03.17.38.36;	author snj;	state Exp;
branches
	1.4.4.1.2.1;
next	1.4.4.2;

1.4.4.2
date	2011.01.06.21.42.49;	author riz;	state Exp;
branches;
next	;

1.4.4.1.2.1
date	2011.01.09.20.43.29;	author riz;	state Exp;
branches;
next	;

1.4.6.1
date	2009.05.13.19.18.28;	author jym;	state dead;
branches;
next	;

1.4.8.1
date	2009.12.03.17.31.46;	author snj;	state Exp;
branches;
next	1.4.8.2;

1.4.8.2
date	2011.01.10.00.42.21;	author riz;	state Exp;
branches;
next	;

1.4.10.1
date	2010.04.21.05.28.09;	author matt;	state Exp;
branches;
next	;

1.1.2.1
date	2007.11.04.23.28.18;	author matt;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2007.11.06.23.11.28;	author matt;	state Exp;
branches;
next	;

1.1.10.1
date	2008.06.23.04.29.52;	author wrstuden;	state Exp;
branches;
next	1.1.10.2;

1.1.10.2
date	2008.09.18.04.39.23;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.5
log
@remove old bind.
@
text
@#	$NetBSD: Makefile,v 1.4 2008/08/29 00:02:22 gmcgarry Exp $

LIB=dns

.include <bsd.own.mk>

.include "${NETBSDSRCDIR}/usr.sbin/bind/Makefile.inc"

DIST=	${IDIST}/lib/dns
.include "${DIST}/api"

.PATH.c:	${DIST}/unix ${DIST}/sec/dst ${DIST}
CPPFLAGS+=	-I${BIND_SRCDIR}/include/dns -I${DIST}

.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
.for f in lookup byaddr request sdb validator
COPTS.${f}.c+=  -Wno-pointer-sign -fno-strict-aliasing
.endfor
.endif

DNSSEC_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

SRCS=	acl.c acache.c adb.c byaddr.c cache.c callbacks.c compress.c \
	db.c dbiterator.c dbtable.c diff.c dispatch.c dlz.c dnssec.c ds.c \
	forward.c iptable.c journal.c keytable.c lib.c log.c lookup.c \
	master.c masterdump.c message.c name.c ncache.c nsec.c \
	order.c peer.c portlist.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 sdb.c soa.c ssu.c \
	stats.c tcpmsg.c time.c timer.c tkey.c tsig.c ttl.c \
	validator.c version.c view.c xfrin.c zone.c zonekey.c \
	zt.c ${DNSSEC_SRCS}

.include <bsd.lib.mk>
@


1.4
log
@Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2008/07/12 12:29:42 gmcgarry Exp $
@


1.4.10.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.4.1 2009/12/03 17:38:36 snj Exp $
d17 1
a17 5
COPTS.${f}.c+=	-Wno-pointer-sign -fno-strict-aliasing
.endfor

.for f in rbtdb rbtdb64
COPTS.${f}.c+=	-fno-strict-aliasing
@


1.4.4.1
log
@Apply patch (requested by tron in ticket 1178):
Update BIND server and tools to version 9.5.2-P1.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2008/08/29 00:02:22 gmcgarry Exp $
d17 1
a17 5
COPTS.${f}.c+=	-Wno-pointer-sign -fno-strict-aliasing
.endfor

.for f in rbtdb rbtdb64
COPTS.${f}.c+=	-fno-strict-aliasing
@


1.4.4.1.2.1
log
@Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.4.1 2009/12/03 17:38:36 snj Exp $
d31 3
a33 3
	forward.c iptable.c journal.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 order.c peer.c portlist.c rbt.c rbtdb.c rbtdb64.c rcode.c \
d35 2
a36 2
	request.c resolver.c result.c rootns.c rriterator.c sdb.c soa.c ssu.c \
	stats.c tcpmsg.c time.c timer.c tkey.c tsig.c ttl.c private.c \
@


1.4.4.2
log
@Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.4.1 2009/12/03 17:38:36 snj Exp $
d31 3
a33 3
	forward.c iptable.c journal.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 order.c peer.c portlist.c rbt.c rbtdb.c rbtdb64.c rcode.c \
d35 2
a36 2
	request.c resolver.c result.c rootns.c rriterator.c sdb.c soa.c ssu.c \
	stats.c tcpmsg.c time.c timer.c tkey.c tsig.c ttl.c private.c \
@


1.4.8.1
log
@Apply patch (requested by tron in ticket 1178):
Update BIND server and tools to version 9.5.2-P1.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2008/08/29 00:02:22 gmcgarry Exp $
d17 1
a17 5
COPTS.${f}.c+=	-Wno-pointer-sign -fno-strict-aliasing
.endfor

.for f in rbtdb rbtdb64
COPTS.${f}.c+=	-fno-strict-aliasing
@


1.4.8.2
log
@Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.8.1 2009/12/03 17:31:46 snj Exp $
d31 3
a33 3
	forward.c iptable.c journal.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 order.c peer.c portlist.c rbt.c rbtdb.c rbtdb64.c rcode.c \
d35 2
a36 2
	request.c resolver.c result.c rootns.c rriterator.c sdb.c soa.c ssu.c \
	stats.c tcpmsg.c time.c timer.c tkey.c tsig.c ttl.c private.c \
@


1.4.6.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2008/08/29 00:02:22 gmcgarry Exp $
@


1.3
log
@Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/06/21 23:32:19 christos Exp $
d15 1
a15 1
.if ${HAVE_GCC} == 4 || defined(HAVE_PCC)
@


1.2
log
@forgot to commit these.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/11/04 23:28:18 tls Exp $
d15 1
a15 1
.if ${HAVE_GCC} == 4
@


1.1
log
@Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2007/04/08 09:36:35 scw Exp $
d27 1
a27 1
	forward.c journal.c keytable.c lib.c log.c lookup.c \
@


1.1.10.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/11/04 23:28:18 tls Exp $
d27 1
a27 1
	forward.c iptable.c journal.c keytable.c lib.c log.c lookup.c \
@


1.1.10.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.10.1 2008/06/23 04:29:52 wrstuden Exp $
d15 1
a15 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.1.2.1
log
@file Makefile was added on branch matt-armv6 on 2007-11-06 23:11:27 +0000
@
text
@d1 36
@


1.1.2.2
log
@sync with HEAD
@
text
@a0 36
#	$NetBSD: Makefile,v 1.1 2007/11/04 23:28:18 tls Exp $

LIB=dns

.include <bsd.own.mk>

.include "${NETBSDSRCDIR}/usr.sbin/bind/Makefile.inc"

DIST=	${IDIST}/lib/dns
.include "${DIST}/api"

.PATH.c:	${DIST}/unix ${DIST}/sec/dst ${DIST}
CPPFLAGS+=	-I${BIND_SRCDIR}/include/dns -I${DIST}

.if ${HAVE_GCC} == 4
.for f in lookup byaddr request sdb validator
COPTS.${f}.c+=  -Wno-pointer-sign -fno-strict-aliasing
.endfor
.endif

DNSSEC_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

SRCS=	acl.c acache.c adb.c byaddr.c cache.c callbacks.c compress.c \
	db.c dbiterator.c dbtable.c diff.c dispatch.c dlz.c dnssec.c ds.c \
	forward.c journal.c keytable.c lib.c log.c lookup.c \
	master.c masterdump.c message.c name.c ncache.c nsec.c \
	order.c peer.c portlist.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 sdb.c soa.c ssu.c \
	stats.c tcpmsg.c time.c timer.c tkey.c tsig.c ttl.c \
	validator.c version.c view.c xfrin.c zone.c zonekey.c \
	zt.c ${DNSSEC_SRCS}

.include <bsd.lib.mk>
@
