head	1.8;
access;
symbols
	RELENG_5_5_0_RELEASE:1.7.8.1
	RELENG_5_5:1.7.8.1.0.6
	RELENG_5_5_BP:1.7.8.1
	RELENG_5_4_0_RELEASE:1.7.8.1
	RELENG_5_4:1.7.8.1.0.4
	RELENG_5_4_BP:1.7.8.1
	RELENG_4_11_0_RELEASE:1.5.2.2
	RELENG_4_11:1.5.2.2.0.10
	RELENG_4_11_BP:1.5.2.2
	RELENG_5_3_0_RELEASE:1.7.8.1
	RELENG_5_3:1.7.8.1.0.2
	RELENG_5_3_BP:1.7.8.1
	RELENG_5:1.7.0.8
	RELENG_5_BP:1.7
	RELENG_4_10_0_RELEASE:1.5.2.2
	RELENG_4_10:1.5.2.2.0.8
	RELENG_4_10_BP:1.5.2.2
	RELENG_5_2_1_RELEASE:1.7
	RELENG_5_2_0_RELEASE:1.7
	RELENG_5_2:1.7.0.6
	RELENG_5_2_BP:1.7
	RELENG_4_9_0_RELEASE:1.5.2.2
	RELENG_4_9:1.5.2.2.0.6
	RELENG_4_9_BP:1.5.2.2
	RELENG_5_1_0_RELEASE:1.7
	RELENG_5_1:1.7.0.4
	RELENG_5_1_BP:1.7
	RELENG_4_8_0_RELEASE:1.5.2.2
	RELENG_4_8:1.5.2.2.0.4
	RELENG_4_8_BP:1.5.2.2
	RELENG_5_0_0_RELEASE:1.7
	RELENG_5_0:1.7.0.2
	RELENG_5_0_BP:1.7
	RELENG_4_7_0_RELEASE:1.5.2.2
	RELENG_4_7:1.5.2.2.0.2
	RELENG_4_7_BP:1.5.2.2
	RELENG_4_6_2_RELEASE:1.5.2.1
	RELENG_4_6_1_RELEASE:1.5.2.1
	RELENG_4_6_0_RELEASE:1.5.2.1
	RELENG_4_6:1.5.2.1.0.2
	RELENG_4_6_BP:1.5.2.1
	RELENG_4_5_0_RELEASE:1.5
	RELENG_4_5:1.5.0.8
	RELENG_4_5_BP:1.5
	RELENG_4_4_0_RELEASE:1.5
	RELENG_4_4:1.5.0.6
	RELENG_4_4_BP:1.5
	RELENG_4_3_0_RELEASE:1.5
	RELENG_4_3:1.5.0.4
	RELENG_4_3_BP:1.5
	RELENG_4_2_0_RELEASE:1.5
	RELENG_4_1_1_RELEASE:1.5
	PRE_SMPNG:1.5
	RELENG_4_1_0_RELEASE:1.5
	RELENG_3_5_0_RELEASE:1.3.2.1
	RELENG_4_0_0_RELEASE:1.5
	RELENG_4:1.5.0.2
	RELENG_4_BP:1.5
	RELENG_3_4_0_RELEASE:1.3.2.1
	RELENG_3_3_0_RELEASE:1.3
	RELENG_3_2_PAO:1.3.0.4
	RELENG_3_2_PAO_BP:1.3
	RELENG_3_2_0_RELEASE:1.3
	RELENG_3_1_0_RELEASE:1.3
	RELENG_3:1.3.0.2
	RELENG_3_BP:1.3
	RELENG_3_0_0_RELEASE:1.3;
locks; strict;
comment	@# @;


1.8
date	2004.09.21.19.01.44;	author des;	state dead;
branches;
next	1.7;

1.7
date	2002.05.13.11.09.04;	author ru;	state Exp;
branches
	1.7.8.1;
next	1.6;

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

1.5
date	99.11.30.04.40.54;	author peter;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	99.11.30.04.20.05;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	98.06.11.10.39.32;	author peter;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	98.06.11.09.06.54;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	98.05.03.05.04.21;	author peter;	state Exp;
branches;
next	;

1.7.8.1
date	2004.09.26.03.10.13;	author des;	state dead;
branches;
next	;

1.5.2.1
date	2002.03.22.18.40.30;	author ru;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2002.07.19.18.46.25;	author ru;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2012.11.17.07.23.19;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1
date	99.12.13.15.08.12;	author peter;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch from BIND 8 to BIND 9.

Submitted by:	(in part) dougb@@, trhodes@@
Reviewed by:	dougb@@, trhodes@@, re@@
MFC after:	5 days
@
text
@# $FreeBSD: src/lib/libbind/Makefile,v 1.7 2002/05/13 11:09:04 ru Exp $

BIND_DIR=${.CURDIR}/../../contrib/bind

LIB=	bind
WANT_IRS=	for now

# This may or may not work yet.  It's not compatable with the core
# system components since it overrides the master.passwd handling etc.
.if defined(WANT_IRS)
.PATH:	${BIND_DIR}/lib/irs
SRCS+=	dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c \
	dns_sv.c gai_strerror.c gen.c gen_gr.c gen_ho.c \
	gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
	getaddrinfo.c getgrent.c getgrent_r.c gethostent.c \
	gethostent_r.c getnameinfo.c getnetent.c getnetent_r.c \
	getnetgrent.c getnetgrent_r.c getprotoent.c \
	getprotoent_r.c getpwent.c getpwent_r.c getservent.c \
	getservent_r.c hesiod.c irs_data.c \
	irp.c irp_gr.c irp_ho.c irp_ng.c irp_nw.c \
	irp_pr.c irp_pw.c irp_sv.c irpmarshall.c \
	lcl.c lcl_gr.c \
	lcl_ho.c lcl_ng.c lcl_nw.c lcl_pr.c lcl_pw.c \
	lcl_sv.c nis.c nis_gr.c nis_ho.c nis_ng.c nis_nw.c \
	nis_pr.c nis_pw.c nis_sv.c nul_ng.c util.c

.PATH:	${BIND_DIR}/lib/nameser
SRCS+=	ns_parse.c ns_print.c ns_netint.c ns_ttl.c ns_name.c \
	ns_sign.c ns_verify.c ns_date.c ns_samedomain.c

.PATH:	${BIND_DIR}/lib/resolv
SRCS+=	herror.c res_debug.c res_data.c res_comp.c res_init.c \
	res_mkquery.c res_query.c res_send.c res_sendsigned.c \
	res_mkupdate.c res_update.c res_findzonecut.c
.endif

.if defined(WANT_CYLINK) && exists(${BIND_DIR}/lib/cylink)
.PATH:	${BIND_DIR}/lib/cylink
CFLAGS+=-DCYLINK_DSS -I${BIND_DIR}/lib/cylink
SRCS+=	bn.c bn00.c lbn00.c lbnmem.c legal.c \
	bits.c dss.c math.c ctk_prime.c rand.c sha.c swap.c
.endif

.if defined(WANT_DNSSAFE) && exists(${BIND_DIR}/lib/dnssafe)
.PATH:	${BIND_DIR}/lib/dnssafe
CFLAGS+=-DDNSSAFE -I${BIND_DIR}/lib/dnssafe
SRCS+=	bgclrbit.c bgmdmpyx.c bgmdsqx.c bgmodexp.c \
	bgpegcd.c big2exp.c bigabs.c bigacc.c bigarith.c \
	bigcmp.c bigconst.c biginv.c biglen.c bigmodx.c \
	bigmpy.c bigpdiv.c bigpmpy.c bigpmpyh.c bigpmpyl.c \
	bigpsq.c bigqrx.c bigsmod.c bigtocan.c bigu.c \
	bigunexp.c cantobig.c crt2.c \
	digrand.c intbits.c md5.c md5rand.c prime.c \
	rsa.c rsakeygn.c seccbcd.c seccbce.c surrendr.c \
	ahchdig.c ahchencr.c ahchgen.c ahchrand.c ahdigest.c \
	ahencryp.c ahgen.c ahrandom.c ahrsaenc.c ahrsaepr.c \
	ahrsaepu.c aichdig.c aichenc8.c aichencn.c aichencr.c \
	aichgen.c aichrand.c aimd5.c \
	aimd5ran.c ainfotyp.c ainull.c airsaepr.c airsaepu.c \
	airsakgn.c airsaprv.c airsapub.c algchoic.c algobj.c \
	amcrte.c ammd5.c ammd5r.c \
	amrkg.c amrsae.c balg.c binfocsh.c bkey.c bmempool.c \
	digest.c encrypt.c generate.c intitem.c \
	keyobj.c ki8byte.c kiitem.c kinfotyp.c \
	kifulprv.c kipkcrpr.c kirsacrt.c kirsapub.c random.c
.endif

.PATH:	${BIND_DIR}/lib/dst
CFLAGS+=-DHMAC_MD5 -DUSE_MD5
SRCS+=	dst_api.c prandom.c rsaref_link.c support.c bsafe_link.c \
	cylink_link.c hmac_link.c md5_dgst.c eay_dss_link.c

.PATH:	${BIND_DIR}/lib/isc
SRCS+=	tree.c bitncmp.c assertions.c \
	memcluster.c logging.c heap.c \
	ctl_p.c ctl_srvr.c ctl_clnt.c \
	eventlib.c ev_connects.c ev_files.c \
	ev_timers.c ev_streams.c ev_waits.c
#	base64.c

INTERNALLIB=		true

.include <bsd.lib.mk>

# XXX contrib/bind/include/* must not override any real system includes
CFLAGS:= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include ${CFLAGS}
@


1.7
log
@Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.7.8.1
log
@MFC: BIND 9 and related bits.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libbind/Makefile,v 1.7 2002/05/13 11:09:04 ru Exp $
@


1.6
log
@This library uses its own versions of some of the system headers.
Protect against CFLAGS having -I/usr/include listed explicitly.
The real solution would be to fix the library.  XXX
@
text
@a81 2
NOPIC=			true
INTERNALSTATICLIB=	true
@


1.5
log
@Build more components to get named to build.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libbind/Makefile,v 1.4 1999/11/30 04:20:05 peter Exp $
a4 3
# contrib/bind/include/* must not override any real system includes
CFLAGS+= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include

d86 3
@


1.5.2.1
log
@MFC: PicoBSD building fixes.

Requested by:	luigi
@
text
@d1 1
a1 1
# $FreeBSD$
d5 3
a88 3

# XXX contrib/bind/include/* must not override any real system includes
CFLAGS:= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include ${CFLAGS}
@


1.5.2.2
log
@MFC: new bsd.lib.mk API.
@
text
@d82 2
@


1.5.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/lib/libbind/Makefile 100377 2002-07-19 18:46:30Z ru $
@


1.4
log
@Update for Bind 8.2.2.p5
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libbind/Makefile,v 1.3 1998/06/11 10:39:32 peter Exp $
d6 1
a6 2
CFLAGS+= -I${BIND_DIR}/port/freebsd/include -I${DESTDIR}/usr/include \
	 -I${BIND_DIR}/include
d9 1
d15 23
a37 6
SRCS+=	dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c dns_sv.c gen.c \
	gen_gr.c gen_ho.c gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
	getgrent.c gethostent.c getnetent.c getnetgrent.c getprotoent.c \
	getpwent.c getservent.c hesiod.c irs_data.c lcl.c lcl_gr.c lcl_ho.c \
	lcl_ng.c lcl_nw.c lcl_pr.c lcl_pw.c lcl_sv.c nis.c nis_gr.c nis_ho.c \
	nis_ng.c nis_nw.c nis_pr.c nis_pw.c nis_sv.c nul_ng.c util.c
@


1.3
log
@Sigh, mkdep doesn't know about all the CFLAGS to pass during depend
generation.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libbind/Makefile,v 1.2 1998/06/11 09:06:54 peter Exp $
d23 36
d62 1
@


1.3.2.1
log
@MFC: bind 8.2.2.p5

Urged by:	imp, alfred, and a whole bunch of other folks.
Approved by:	jkh (a few days ago)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libbind/Makefile,v 1.3 1998/06/11 10:39:32 peter Exp $
d6 2
a7 1
CFLAGS+= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include
a9 1
WANT_IRS=	for now
d15 6
a20 30
SRCS+=	dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c \
	dns_sv.c gai_strerror.c gen.c gen_gr.c gen_ho.c \
	gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
	getaddrinfo.c getgrent.c getgrent_r.c gethostent.c \
	gethostent_r.c getnameinfo.c getnetent.c getnetent_r.c \
	getnetgrent.c getnetgrent_r.c getprotoent.c \
	getprotoent_r.c getpwent.c getpwent_r.c getservent.c \
	getservent_r.c hesiod.c irs_data.c \
	irp.c irp_gr.c irp_ho.c irp_ng.c irp_nw.c \
	irp_pr.c irp_pw.c irp_sv.c irpmarshall.c \
	lcl.c lcl_gr.c \
	lcl_ho.c lcl_ng.c lcl_nw.c lcl_pr.c lcl_pw.c \
	lcl_sv.c nis.c nis_gr.c nis_ho.c nis_ng.c nis_nw.c \
	nis_pr.c nis_pw.c nis_sv.c nul_ng.c util.c

.PATH:	${BIND_DIR}/lib/nameser
SRCS+=	ns_parse.c ns_print.c ns_netint.c ns_ttl.c ns_name.c \
	ns_sign.c ns_verify.c ns_date.c ns_samedomain.c

.PATH:	${BIND_DIR}/lib/resolv
SRCS+=	herror.c res_debug.c res_data.c res_comp.c res_init.c \
	res_mkquery.c res_query.c res_send.c res_sendsigned.c \
	res_mkupdate.c res_update.c res_findzonecut.c
.endif

.if defined(WANT_CYLINK) && exists(${BIND_DIR}/lib/cylink)
.PATH:	${BIND_DIR}/lib/cylink
CFLAGS+=-DCYLINK_DSS -I${BIND_DIR}/lib/cylink
SRCS+=	bn.c bn00.c lbn00.c lbnmem.c legal.c \
	bits.c dss.c math.c ctk_prime.c rand.c sha.c swap.c
a22 29
.if defined(WANT_DNSSAFE) && exists(${BIND_DIR}/lib/dnssafe)
.PATH:	${BIND_DIR}/lib/dnssafe
CFLAGS+=-DDNSSAFE -I${BIND_DIR}/lib/dnssafe
SRCS+=	bgclrbit.c bgmdmpyx.c bgmdsqx.c bgmodexp.c \
	bgpegcd.c big2exp.c bigabs.c bigacc.c bigarith.c \
	bigcmp.c bigconst.c biginv.c biglen.c bigmodx.c \
	bigmpy.c bigpdiv.c bigpmpy.c bigpmpyh.c bigpmpyl.c \
	bigpsq.c bigqrx.c bigsmod.c bigtocan.c bigu.c \
	bigunexp.c cantobig.c crt2.c \
	digrand.c intbits.c md5.c md5rand.c prime.c \
	rsa.c rsakeygn.c seccbcd.c seccbce.c surrendr.c \
	ahchdig.c ahchencr.c ahchgen.c ahchrand.c ahdigest.c \
	ahencryp.c ahgen.c ahrandom.c ahrsaenc.c ahrsaepr.c \
	ahrsaepu.c aichdig.c aichenc8.c aichencn.c aichencr.c \
	aichgen.c aichrand.c aimd5.c \
	aimd5ran.c ainfotyp.c ainull.c airsaepr.c airsaepu.c \
	airsakgn.c airsaprv.c airsapub.c algchoic.c algobj.c \
	amcrte.c ammd5.c ammd5r.c \
	amrkg.c amrsae.c balg.c binfocsh.c bkey.c bmempool.c \
	digest.c encrypt.c generate.c intitem.c \
	keyobj.c ki8byte.c kiitem.c kinfotyp.c \
	kifulprv.c kipkcrpr.c kirsacrt.c kirsapub.c random.c
.endif

.PATH:	${BIND_DIR}/lib/dst
CFLAGS+=-DHMAC_MD5 -DUSE_MD5
SRCS+=	dst_api.c prandom.c rsaref_link.c support.c bsafe_link.c \
	cylink_link.c hmac_link.c md5_dgst.c eay_dss_link.c

a25 1
	ctl_p.c ctl_srvr.c ctl_clnt.c \
@


1.2
log
@Remove components that would duplicate those in libc now that the
includes and interfaces have been merged with the 8.1.2 update.

This essentially leaves the isc/* files that named and named-xfer use.
It might be best to just compile them with .PATH in both cases rather than
bothering with libbind.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libbind/Makefile,v 1.1 1998/05/03 05:04:21 peter Exp $
d5 3
a7 2
CFLAGS+= -idirafter ${BIND_DIR}/port/freebsd/include \
	 -idirafter ${BIND_DIR}/include
@


1.1
log
@Build libbind for named and friends  (not installed in /usr/lib)
@
text
@d1 1
a1 1
# $FreeBSD$
d5 2
a6 1
CFLAGS+= -I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include
d10 3
a12 6
.PATH:	${BIND_DIR}/lib/resolv
SRCS+=	herror.c res_debug.c res_data.c res_comp.c res_init.c \
	res_mkquery.c res_query.c res_send.c res_mkupdate.c \
	res_update.c

.if defined(WANT_IRS_AUDIT)
d23 1
a23 1
SRCS+=	tree.c base64.c bitncmp.c assertions.c \
d27 1
a27 8

.PATH:	${BIND_DIR}/lib/inet
SRCS+=	nsap_addr.c inet_addr.c inet_ntop.c inet_pton.c \
	inet_ntoa.c inet_neta.c inet_net_ntop.c inet_net_pton.c \
	inet_lnaof.c inet_makeaddr.c inet_netof.c inet_network.c

.PATH:	${BIND_DIR}/lib/nameser
SRCS+=	ns_parse.c ns_print.c ns_netint.c ns_ttl.c ns_name.c
@
