head	1.9;
access;
symbols
	RELENG_5_5_0_RELEASE:1.8.4.1
	RELENG_5_5:1.8.4.1.0.6
	RELENG_5_5_BP:1.8.4.1
	RELENG_5_4_0_RELEASE:1.8.4.1
	RELENG_5_4:1.8.4.1.0.4
	RELENG_5_4_BP:1.8.4.1
	RELENG_4_11_0_RELEASE:1.1.2.7
	RELENG_4_11:1.1.2.7.0.6
	RELENG_4_11_BP:1.1.2.7
	RELENG_5_3_0_RELEASE:1.8.4.1
	RELENG_5_3:1.8.4.1.0.2
	RELENG_5_3_BP:1.8.4.1
	RELENG_5:1.8.0.4
	RELENG_5_BP:1.8
	RELENG_4_10_0_RELEASE:1.1.2.7
	RELENG_4_10:1.1.2.7.0.4
	RELENG_4_10_BP:1.1.2.7
	RELENG_5_2_1_RELEASE:1.8
	RELENG_5_2_0_RELEASE:1.8
	RELENG_5_2:1.8.0.2
	RELENG_5_2_BP:1.8
	RELENG_4_9_0_RELEASE:1.1.2.7
	RELENG_4_9:1.1.2.7.0.2
	RELENG_4_9_BP:1.1.2.7
	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.1.2.6
	RELENG_4_8:1.1.2.6.0.4
	RELENG_4_8_BP:1.1.2.6
	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.1.2.6
	RELENG_4_7:1.1.2.6.0.2
	RELENG_4_7_BP:1.1.2.6
	RELENG_4_6_2_RELEASE:1.1.2.5
	RELENG_4_6_1_RELEASE:1.1.2.5
	RELENG_4_6_0_RELEASE:1.1.2.5
	RELENG_4_6:1.1.2.5.0.2
	RELENG_4_6_BP:1.1.2.5
	RELENG_4_5_0_RELEASE:1.1.2.4
	RELENG_4_5:1.1.2.4.0.4
	RELENG_4_5_BP:1.1.2.4
	RELENG_4_4_0_RELEASE:1.1.2.4
	RELENG_4_4:1.1.2.4.0.2
	RELENG_4_4_BP:1.1.2.4
	RELENG_4_3_0_RELEASE:1.1.2.3
	RELENG_4_3:1.1.2.3.0.2
	RELENG_4_3_BP:1.1.2.3
	RELENG_3:1.2.0.2
	RELENG_4_2_0_RELEASE:1.1.2.1
	RELENG_4:1.1.0.2;
locks; strict;
comment	@# @;


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

1.8
date	2003.06.17.08.43.19;	author dougb;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	2002.09.28.00.25.29;	author peter;	state Exp;
branches;
next	1.6;

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

1.5
date	2002.02.04.19.18.23;	author nectar;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.27.17.27.03;	author ru;	state Exp;
branches;
next	1.3;

1.3
date	2001.02.06.22.27.16;	author asmodai;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.28.23.14.16;	author asmodai;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2000.10.24.20.10.25;	author archie;	state Exp;
branches
	1.1.2.1;
next	;

1.8.4.1
date	2004.09.26.03.10.14;	author des;	state dead;
branches;
next	;

1.2.2.1
date	2001.01.30.11.55.38;	author asmodai;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2001.02.07.21.11.35;	author asmodai;	state Exp;
branches;
next	;

1.1.2.1
date	2000.10.28.01.43.31;	author archie;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2001.01.29.20.40.11;	author asmodai;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2001.02.07.21.10.19;	author asmodai;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2001.04.25.10.04.31;	author ru;	state Exp;
branches
	1.1.2.4.2.1
	1.1.2.4.4.1;
next	1.1.2.5;

1.1.2.5
date	2002.02.17.15.49.20;	author nectar;	state Exp;
branches;
next	1.1.2.6;

1.1.2.6
date	2002.07.22.14.21.49;	author ru;	state Exp;
branches;
next	1.1.2.7;

1.1.2.7
date	2003.08.25.20.37.27;	author dougb;	state Exp;
branches;
next	1.1.2.8;

1.1.2.8
date	2012.11.17.07.23.55;	author svnexp;	state Exp;
branches;
next	;

1.1.2.4.2.1
date	2002.07.15.10.07.50;	author dougb;	state Exp;
branches;
next	;

1.1.2.4.4.1
date	2002.07.15.10.08.44;	author dougb;	state Exp;
branches;
next	;


desc
@@


1.9
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/libisc/Makefile,v 1.8 2003/06/17 08:43:19 dougb Exp $

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

LIB=		isc
SHLIB_MAJOR=	1

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

# contrib/bind/include/* must not override any real system includes
CFLAGS+=	-I${BIND_DIR}/port/freebsd/include -I${BIND_DIR}/include
CFLAGS+=	-Wall -Wmissing-prototypes

INCS=		${BIND_DIR}/include/isc/assertions.h \
		${BIND_DIR}/include/isc/ctl.h \
		${BIND_DIR}/include/isc/dst.h \
		${BIND_DIR}/include/isc/eventlib.h \
		${BIND_DIR}/include/isc/heap.h \
		${BIND_DIR}/include/isc/irpmarshall.h \
		${BIND_DIR}/include/isc/list.h \
		${BIND_DIR}/include/isc/logging.h \
		${BIND_DIR}/include/isc/memcluster.h \
		${BIND_DIR}/include/isc/misc.h \
		${BIND_DIR}/include/isc/tree.h
INCSDIR=	${INCLUDEDIR}/isc

MAN=		assertions.3 bitncmp.3 eventlib.3 heap.3 \
		logging.3 memcluster.3 tree.3
CLEANFILES+=	${MAN}

MLINKS+=	assertions.3 ENSURE.3 \
		assertions.3 ENSURE_ERR.3 \
		assertions.3 INSIST.3 \
		assertions.3 INSIST_ERR.3 \
		assertions.3 INVARIANT.3 \
		assertions.3 INVARIANT_ERR.3 \
		assertions.3 REQUIRE.3 \
		assertions.3 REQUIRE_ERR.3 \
		assertions.3 assertion_type_to_text.3 \
		assertions.3 set_assertion_failure_callback.3 \
		eventlib.3 evAddTime.3 \
		eventlib.3 evCancelConn.3 \
		eventlib.3 evCancelRW.3 \
		eventlib.3 evClearIdleTimer.3 \
		eventlib.3 evClearTimer.3 \
		eventlib.3 evCmpTime.3 \
		eventlib.3 evConnFunc.3 \
		eventlib.3 evConnect.3 \
		eventlib.3 evConsIovec.3 \
		eventlib.3 evConsTime.3 \
		eventlib.3 evCreate.3 \
		eventlib.3 evDefer.3 \
		eventlib.3 evDeselectFD.3 \
		eventlib.3 evDestroy.3 \
		eventlib.3 evDispatch.3 \
		eventlib.3 evDo.3 \
		eventlib.3 evDrop.3 \
		eventlib.3 evFileFunc.3 \
		eventlib.3 evGetNext.3 \
		eventlib.3 evHold.3 \
		eventlib.3 evInitID.3 \
		eventlib.3 evLastEventTime.3 \
		eventlib.3 evListen.3 \
		eventlib.3 evMainLoop.3 \
		eventlib.3 evNowTime.3 \
		eventlib.3 evPrintf.3 \
		eventlib.3 evRead.3 \
		eventlib.3 evResetTimer.3 \
		eventlib.3 evSelectFD.3 \
		eventlib.3 evSetDebug.3 \
		eventlib.3 evSetIdleTimer.3 \
		eventlib.3 evSetTimer.3 \
		eventlib.3 evStreamFunc.3 \
		eventlib.3 evSubTime.3 \
		eventlib.3 evTestID.3 \
		eventlib.3 evTimeRW.3 \
		eventlib.3 evTimeSpec.3 \
		eventlib.3 evTimeVal.3 \
		eventlib.3 evTimerFunc.3 \
		eventlib.3 evTouchIdleTimer.3 \
		eventlib.3 evTryAccept.3 \
		eventlib.3 evUnhold.3 \
		eventlib.3 evUntimeRW.3 \
		eventlib.3 evUnwait.3 \
		eventlib.3 evWaitFor.3 \
		eventlib.3 evWaitFunc.3 \
		eventlib.3 evWrite.3 \
		heap.3 heap_decreased.3 \
		heap.3 heap_delete.3 \
		heap.3 heap_element.3 \
		heap.3 heap_for_each.3 \
		heap.3 heap_free.3 \
		heap.3 heap_increased.3 \
		heap.3 heap_insert.3 \
		heap.3 heap_new.3 \
		logging.3 log_add_channel.3 \
		logging.3 log_category_is_active.3 \
		logging.3 log_close_stream.3 \
		logging.3 log_dec_references.3 \
		logging.3 log_free_channel.3 \
		logging.3 log_free_context.3 \
		logging.3 log_get_filename.3 \
		logging.3 log_get_stream.3 \
		logging.3 log_inc_references.3 \
		logging.3 log_new_context.3 \
		logging.3 log_new_file_channel.3 \
		logging.3 log_new_null_channel.3 \
		logging.3 log_new_syslog_channel.3 \
		logging.3 log_open_stream.3 \
		logging.3 log_option.3 \
		logging.3 log_remove_channel.3 \
		logging.3 log_set_file_owner.3 \
		logging.3 log_vwrite.3 \
		logging.3 log_write.3 \
		memcluster.3 memget.3 \
		memcluster.3 memput.3 \
		memcluster.3 memstats.3 \
		tree.3 tree_add.3 \
		tree.3 tree_delete.3 \
		tree.3 tree_init.3 \
		tree.3 tree_mung.3 \
		tree.3 tree_srch.3 \
		tree.3 tree_trav.3

.include <bsd.lib.mk>

# This has to come after the .include <bsd.lib.mk>. Not sure why.

.SUFFIXES:	.mdoc .3
.mdoc.3:
		sed -e 's/@@INDOT@@//g' \
		    -e 's/@@SYSCALL_EXT@@/2/g' \
		    -e 's/@@SYS_OPS_EXT@@/8/g' \
		    -e 's/^.Fd #include .*heap.h.*/.Fd #include <isc\/heap.h>/' \
		    < ${.ALLSRC} > ${.TARGET}

@


1.8
log
@Fix the #include part of the SYNOPSIS for heap.3

PR:		bin/45269
Submitted by:	Slaven Rezic <slaven.rezic@@berlin.de>
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.8.4.1
log
@MFC: BIND 9 and related bits.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.8 2003/06/17 08:43:19 dougb Exp $
@


1.7
log
@Zap now-unused SHLIB_MINOR
@
text
@d138 1
@


1.6
log
@Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
@
text
@a6 1
SHLIB_MINOR=	0
@


1.5
log
@hex.c is new in libisc with 8.3.1-REL.
@
text
@d30 1
a30 1
INCDIR=		/usr/include/isc
@


1.4
log
@MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.3 2001/02/06 22:27:16 asmodai Exp $
d11 1
a11 1
		ev_timers.c ev_waits.c eventlib.c heap.c tree.c \
@


1.3
log
@Add list.h to the to be installed header files.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.2 2001/01/28 23:14:16 asmodai Exp $
d32 1
a32 1
MAN3=		assertions.3 bitncmp.3 eventlib.3 heap.3 \
d34 1
a34 1
CLEANFILES+=	${MAN3}
@


1.2
log
@Update Makefile for the new sources.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.1 2000/10/24 20:10:25 archie Exp $
d25 1
@


1.2.2.1
log
@MFC:	8.2.3
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.2.2.2
log
@MFC:	Add list.h to the to be installed header files.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.2.2.1 2001/01/30 11:55:38 asmodai Exp $
a24 1
		${BIND_DIR}/include/isc/list.h \
@


1.1
log
@Build the ISC library as libisc. This library comes as part of the
bind distribution, but until now was not being built as a separate
entity. For documentation, see these man pages:

assertions(3), eventlib(3), heap(3), logging(3), memcluster(3), tree(3).

Reviewed by:	jdp
@
text
@d1 1
a1 1
# $FreeBSD$
d12 2
a13 1
		logging.c memcluster.c bitncmp.c
d20 2
d24 1
@


1.1.2.1
log
@MFC: build the ISC utility library as libisc.
@
text
@@


1.1.2.2
log
@MFC:	BIND 8.2.3 plus support fixes
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.1.2.1 2000/10/28 01:43:31 archie Exp $
d12 1
a12 2
		logging.c memcluster.c bitncmp.c ctl_clnt.c ctl_p.c \
		ctl_srvr.c movefile.c
a18 2
		${BIND_DIR}/include/isc/ctl.h \
		${BIND_DIR}/include/isc/dst.h \
a20 1
		${BIND_DIR}/include/isc/irpmarshall.h \
@


1.1.2.3
log
@MFC:	Add list.h to the list of to be installed header files.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.1.2.2 2001/01/29 20:40:11 asmodai Exp $
a24 1
		${BIND_DIR}/include/isc/list.h \
@


1.1.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libisc/Makefile,v 1.1.2.3 2001/02/07 21:10:19 asmodai Exp $
d32 1
a32 1
MAN=		assertions.3 bitncmp.3 eventlib.3 heap.3 \
d34 1
a34 1
CLEANFILES+=	${MAN}
@


1.1.2.4.4.1
log
@Add the hex.c source to the build of this library.

Approved by:	security-officer
@
text
@d1 1
a1 1
# $FreeBSD$
d11 1
a11 1
		ev_timers.c ev_waits.c eventlib.c heap.c hex.c tree.c \
@


1.1.2.4.2.1
log
@Add the hex.c source to the build of this library.

Approved by:	security-officer
@
text
@d1 1
a1 1
# $FreeBSD$
d11 1
a11 1
		ev_timers.c ev_waits.c eventlib.c heap.c hex.c tree.c \
@


1.1.2.5
log
@MFC 1.5: hex.c is new in libisc with 8.3.1-REL.
@
text
@d1 1
a1 1
# $FreeBSD$
d11 1
a11 1
		ev_timers.c ev_waits.c eventlib.c heap.c hex.c tree.c \
@


1.1.2.6
log
@MFC: bsd.incs.mk support and assorted header fixes:

Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/.

Install sys/netatm/*/*.h to /usr/include/netatm/*/.

Don't install compatibility symlinks for <machine/soundcard.h>
and <machine/joystick.h>.

Don't install IPFILTER headers.  Userland utilities fetch them
directly, and they were not visible in the SHARED=symlinks case.

Resurrect SHARED=symlinks in Makefile.inc1.

PR:		docs/29534, bin/28002
@
text
@d30 1
a30 1
INCSDIR=	${INCLUDEDIR}/isc
@


1.1.2.7
log
@MFC 1.8, SYNOPSIS for heap.3
@
text
@a138 1
		    -e 's/^.Fd #include .*heap.h.*/.Fd #include <isc\/heap.h>/' \
@


1.1.2.8
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/lib/libisc/Makefile 119471 2003-08-25 20:37:27Z dougb $
@


