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
This commit is contained in:
parent
ce97a5fc4e
commit
c06992e558
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67523
@ -21,6 +21,8 @@
|
||||
std
|
||||
..
|
||||
..
|
||||
isc
|
||||
..
|
||||
isofs
|
||||
cd9660
|
||||
..
|
||||
|
@ -23,7 +23,7 @@ SUBDIR= ${_csu} libcom_err ${_libcrypt} msun libmd \
|
||||
libncurses libradius libskey libtacplus libutil \
|
||||
${_compat} libalias libatm ${_libbind} libc ${_libc_r} libcalendar \
|
||||
libcam libcompat libdevstat libdisk libedit libfetch libform \
|
||||
libftpio libgnumalloc ${_libio} libipsec libipx libkvm libmenu \
|
||||
libftpio libgnumalloc ${_libio} libipsec libipx libisc libkvm libmenu \
|
||||
${_libncp} \
|
||||
libnetgraph libopie libpam libpanel libpcap \
|
||||
libposix1e libresolv librpcsvc libsmdb libsmutil libss \
|
||||
|
135
lib/libisc/Makefile
Normal file
135
lib/libisc/Makefile
Normal file
@ -0,0 +1,135 @@
|
||||
# $FreeBSD$
|
||||
|
||||
BIND_DIR= ${.CURDIR}/../../contrib/bind
|
||||
|
||||
LIB= isc
|
||||
SHLIB_MAJOR= 1
|
||||
SHLIB_MINOR= 0
|
||||
|
||||
.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 tree.c \
|
||||
logging.c memcluster.c bitncmp.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/eventlib.h \
|
||||
${BIND_DIR}/include/isc/heap.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
|
||||
INCDIR= /usr/include/isc
|
||||
|
||||
MAN3= assertions.3 bitncmp.3 eventlib.3 heap.3 \
|
||||
logging.3 memcluster.3 tree.3
|
||||
CLEANFILES+= ${MAN3}
|
||||
|
||||
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' \
|
||||
< ${.ALLSRC} > ${.TARGET}
|
||||
|
@ -38,6 +38,7 @@ LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
|
||||
LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
|
||||
LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
|
||||
LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
|
||||
LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
|
||||
LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a # XXX in secure dist, not base
|
||||
LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a # XXX in secure dist, not base
|
||||
LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a
|
||||
|
Loading…
Reference in New Issue
Block a user