2010-03-01 19:36:15 +03:00
|
|
|
# $NetBSD: Makefile,v 1.39 2010/03/01 16:36:15 jruoho Exp $
|
1994-11-30 18:24:27 +03:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 12/13/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2010-03-01 16:44:09 +03:00
|
|
|
MAN= _DIAGASSERT.3 __UNCONST.3 CMSG_DATA.3 \
|
2010-03-01 19:02:34 +03:00
|
|
|
__arraycount.3 assert.3 bits.3 bitstring.3 dlfcn.3 end.3 \
|
2010-02-28 01:04:37 +03:00
|
|
|
gcq.3 intro.3 offsetof.3 queue.3 stdarg.3 sysexits.3 \
|
2010-03-01 19:36:15 +03:00
|
|
|
tgmath.3 timeradd.3 tree.3 varargs.3
|
2007-08-29 17:43:18 +04:00
|
|
|
|
|
|
|
USETBL= # used by queue.3
|
|
|
|
|
2010-03-01 16:44:09 +03:00
|
|
|
MLINKS+=__UNCONST.3 __UNVOLATILE.3
|
2009-04-04 05:45:18 +04:00
|
|
|
MLINKS+=bitstring.3 bit_alloc.3 \
|
|
|
|
bitstring.3 bit_clear.3 \
|
|
|
|
bitstring.3 bit_decl.3 \
|
|
|
|
bitstring.3 bit_ffc.3 \
|
|
|
|
bitstring.3 bit_ffs.3 \
|
|
|
|
bitstring.3 bit_nclear.3 \
|
|
|
|
bitstring.3 bit_nset.3 \
|
|
|
|
bitstring.3 bit_set.3 \
|
|
|
|
bitstring.3 bitstr_size.3 \
|
|
|
|
bitstring.3 bit_test.3
|
Per discussion on tech-kern and tech-userlevel, move the bit-twiddling
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from
lib/libkern/libkern.h to sys/cdefs.h. Add a __-prefix to SHIFTIN
and SHIFTOUT, and add a manual page for the bit-twiddling macros,
bits(3).
Make the __BIT and __BITS macros "widthless," as best I can, by
changing their type to uintmax_t from uint32_t. XXX The manual
page lags this change by a bit.
Define __PRIxBIT and __PRIxBITS printf(3) format strings.
2006-08-31 23:24:37 +04:00
|
|
|
MLINKS+=bits.3 __BIT.3 \
|
|
|
|
bits.3 __BITS.3 \
|
|
|
|
bits.3 __SHIFTIN.3 \
|
|
|
|
bits.3 __SHIFTOUT.3 \
|
|
|
|
bits.3 __SHIFTOUT_MASK.3
|
2009-04-04 05:45:18 +04:00
|
|
|
MLINKS+=end.3 edata.3 end.3 etext.3
|
2007-08-15 07:53:08 +04:00
|
|
|
MLINKS+=gcq.3 GCQ_INIT.3 \
|
|
|
|
gcq.3 GCQ_INIT_HEAD.3 \
|
|
|
|
gcq.3 gcq_init.3 \
|
|
|
|
gcq.3 gcq_init_head.3 \
|
|
|
|
gcq.3 gcq_q.3 \
|
|
|
|
gcq.3 gcq_hq.3 \
|
|
|
|
gcq.3 gcq_head.3 \
|
|
|
|
gcq.3 gcq_remove.3 \
|
|
|
|
gcq.3 gcq_onlist.3 \
|
|
|
|
gcq.3 gcq_empty.3 \
|
|
|
|
gcq.3 gcq_linked.3 \
|
|
|
|
gcq.3 gcq_insert_after.3 \
|
|
|
|
gcq.3 gcq_insert_before.3 \
|
|
|
|
gcq.3 gcq_insert_head.3 \
|
|
|
|
gcq.3 gcq_insert_tail.3 \
|
|
|
|
gcq.3 gcq_tie.3 \
|
|
|
|
gcq.3 gcq_tie_after.3 \
|
|
|
|
gcq.3 gcq_tie_before.3 \
|
|
|
|
gcq.3 gcq_merge.3 \
|
|
|
|
gcq.3 gcq_merge_head.3 \
|
|
|
|
gcq.3 gcq_merge_tail.3 \
|
|
|
|
gcq.3 gcq_clear.3 \
|
|
|
|
gcq.3 gcq_remove_all.3 \
|
|
|
|
gcq.3 GCQ_ITEM.3 \
|
|
|
|
gcq.3 GCQ_GOT_FIRST.3 \
|
|
|
|
gcq.3 GCQ_GOT_LAST.3 \
|
|
|
|
gcq.3 GCQ_GOT_NEXT.3 \
|
|
|
|
gcq.3 GCQ_GOT_PREV.3 \
|
|
|
|
gcq.3 GCQ_DEQUEUED_FIRST.3 \
|
|
|
|
gcq.3 GCQ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|
|
gcq.3 GCQ_FOREACH.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_REV.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_NVAR.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_NVAR_REV.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_RO.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_RO_REV.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_DEQUEUED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_DEQUEUED_REV.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_REV_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_NVAR_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_NVAR_REV_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_RO_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_RO_REV_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_DEQUEUED_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FOREACH_DEQUEUED_REV_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FIND.3 \
|
|
|
|
gcq.3 GCQ_FIND_REV.3 \
|
|
|
|
gcq.3 GCQ_FIND_TYPED.3 \
|
|
|
|
gcq.3 GCQ_FIND_REV_TYPED.3
|
2004-04-19 03:42:23 +04:00
|
|
|
MLINKS+=queue.3 LIST_HEAD.3 \
|
|
|
|
queue.3 LIST_HEAD_INITIALIZER.3 \
|
|
|
|
queue.3 LIST_ENTRY.3 \
|
|
|
|
queue.3 LIST_INIT.3 \
|
|
|
|
queue.3 LIST_INSERT_AFTER.3 \
|
|
|
|
queue.3 LIST_INSERT_BEFORE.3 \
|
|
|
|
queue.3 LIST_INSERT_HEAD.3 \
|
|
|
|
queue.3 LIST_REMOVE.3 \
|
|
|
|
queue.3 LIST_FOREACH.3 \
|
|
|
|
queue.3 LIST_EMPTY.3 \
|
|
|
|
queue.3 LIST_FIRST.3 \
|
|
|
|
queue.3 LIST_NEXT.3
|
|
|
|
MLINKS+=queue.3 SLIST_HEAD.3 \
|
|
|
|
queue.3 SLIST_HEAD_INITIALIZER.3 \
|
|
|
|
queue.3 SLIST_ENTRY.3 \
|
|
|
|
queue.3 SLIST_INIT.3 \
|
|
|
|
queue.3 SLIST_INSERT_AFTER.3 \
|
|
|
|
queue.3 SLIST_INSERT_HEAD.3 \
|
|
|
|
queue.3 SLIST_REMOVE_HEAD.3 \
|
|
|
|
queue.3 SLIST_REMOVE.3 \
|
|
|
|
queue.3 SLIST_FOREACH.3 \
|
|
|
|
queue.3 SLIST_EMPTY.3 \
|
|
|
|
queue.3 SLIST_FIRST.3 \
|
|
|
|
queue.3 SLIST_NEXT.3
|
|
|
|
MLINKS+=queue.3 STAILQ_HEAD.3 \
|
|
|
|
queue.3 STAILQ_HEAD_INITIALIZER.3 \
|
|
|
|
queue.3 STAILQ_ENTRY.3 \
|
|
|
|
queue.3 STAILQ_INIT.3 \
|
|
|
|
queue.3 STAILQ_INSERT_HEAD.3 \
|
|
|
|
queue.3 STAILQ_INSERT_TAIL.3 \
|
|
|
|
queue.3 STAILQ_INSERT_AFTER.3 \
|
|
|
|
queue.3 STAILQ_REMOVE_HEAD.3 \
|
|
|
|
queue.3 STAILQ_REMOVE.3 \
|
|
|
|
queue.3 STAILQ_FOREACH.3 \
|
|
|
|
queue.3 STAILQ_EMPTY.3 \
|
|
|
|
queue.3 STAILQ_FIRST.3 \
|
|
|
|
queue.3 STAILQ_NEXT.3
|
|
|
|
MLINKS+=queue.3 SIMPLEQ_HEAD.3 \
|
|
|
|
queue.3 SIMPLEQ_HEAD_INITIALIZER.3 \
|
|
|
|
queue.3 SIMPLEQ_ENTRY.3 \
|
|
|
|
queue.3 SIMPLEQ_INIT.3 \
|
|
|
|
queue.3 SIMPLEQ_INSERT_HEAD.3 \
|
|
|
|
queue.3 SIMPLEQ_INSERT_TAIL.3 \
|
|
|
|
queue.3 SIMPLEQ_INSERT_AFTER.3 \
|
|
|
|
queue.3 SIMPLEQ_REMOVE_HEAD.3 \
|
|
|
|
queue.3 SIMPLEQ_REMOVE.3 \
|
|
|
|
queue.3 SIMPLEQ_FOREACH.3 \
|
|
|
|
queue.3 SIMPLEQ_EMPTY.3 \
|
|
|
|
queue.3 SIMPLEQ_FIRST.3 \
|
|
|
|
queue.3 SIMPLEQ_NEXT.3
|
|
|
|
MLINKS+=queue.3 TAILQ_HEAD.3 \
|
|
|
|
queue.3 TAILQ_HEAD_INITIALIZER.3 \
|
|
|
|
queue.3 TAILQ_ENTRY.3 \
|
|
|
|
queue.3 TAILQ_INIT.3 \
|
|
|
|
queue.3 TAILQ_INSERT_HEAD.3 \
|
|
|
|
queue.3 TAILQ_INSERT_TAIL.3 \
|
|
|
|
queue.3 TAILQ_INSERT_AFTER.3 \
|
|
|
|
queue.3 TAILQ_INSERT_BEFORE.3 \
|
|
|
|
queue.3 TAILQ_REMOVE.3 \
|
|
|
|
queue.3 TAILQ_FOREACH.3 \
|
|
|
|
queue.3 TAILQ_FOREACH_REVERSE.3 \
|
|
|
|
queue.3 TAILQ_EMPTY.3 \
|
|
|
|
queue.3 TAILQ_FIRST.3 \
|
|
|
|
queue.3 TAILQ_NEXT.3 \
|
|
|
|
queue.3 TAILQ_LAST.3 \
|
|
|
|
queue.3 TAILQ_PREV.3
|
|
|
|
MLINKS+=queue.3 CIRCLEQ_HEAD.3 \
|
|
|
|
queue.3 CIRCLEQ_HEAD_INITIALIZER.3 \
|
|
|
|
queue.3 CIRCLEQ_ENTRY.3 \
|
|
|
|
queue.3 CIRCLEQ_INIT.3 \
|
|
|
|
queue.3 CIRCLEQ_INSERT_AFTER.3 \
|
|
|
|
queue.3 CIRCLEQ_INSERT_BEFORE.3 \
|
|
|
|
queue.3 CIRCLEQ_INSERT_HEAD.3 \
|
|
|
|
queue.3 CIRCLEQ_INSERT_TAIL.3 \
|
|
|
|
queue.3 CIRCLEQ_REMOVE.3 \
|
|
|
|
queue.3 CIRCLEQ_FOREACH.3 \
|
|
|
|
queue.3 CIRCLEQ_FOREACH_REVERSE.3 \
|
|
|
|
queue.3 CIRCLEQ_EMPTY.3 \
|
|
|
|
queue.3 CIRCLEQ_FIRST.3 \
|
|
|
|
queue.3 CIRCLEQ_LAST.3 \
|
|
|
|
queue.3 CIRCLEQ_NEXT.3 \
|
2006-03-07 21:13:43 +03:00
|
|
|
queue.3 CIRCLEQ_PREV.3 \
|
|
|
|
queue.3 CIRCLEQ_LOOP_NEXT.3 \
|
|
|
|
queue.3 CIRCLEQ_LOOP_PREV.3
|
2002-02-04 23:09:46 +03:00
|
|
|
MLINKS+=stdarg.3 va_arg.3 stdarg.3 va_copy.3 \
|
2001-01-03 16:29:59 +03:00
|
|
|
stdarg.3 va_end.3 stdarg.3 va_start.3
|
1995-10-06 10:21:58 +03:00
|
|
|
MLINKS+=dlfcn.3 dlopen.3 dlfcn.3 dlclose.3 dlfcn.3 dlsym.3 dlfcn.3 dlctl.3 \
|
1999-06-28 22:22:22 +04:00
|
|
|
dlfcn.3 dlerror.3 dlfcn.3 dladdr.3
|
2010-01-25 01:21:34 +03:00
|
|
|
MLINKS+=timeradd.3 timersub.3 \
|
2010-01-25 00:05:45 +03:00
|
|
|
timeradd.3 timerclear.3 \
|
|
|
|
timeradd.3 timerisset.3 \
|
|
|
|
timeradd.3 timercmp.3
|
2003-07-07 18:39:25 +04:00
|
|
|
MLINKS+=tree.3 SPLAY_PROTOTYPE.3 tree.3 SPLAY_GENERATE.3 \
|
|
|
|
tree.3 SPLAY_ENTRY.3 tree.3 SPLAY_HEAD.3 \
|
|
|
|
tree.3 SPLAY_INITIALIZER.3 tree.3 SPLAY_ROOT.3 \
|
|
|
|
tree.3 SPLAY_EMPTY.3 tree.3 SPLAY_NEXT.3 \
|
|
|
|
tree.3 SPLAY_MIN.3 tree.3 SPLAY_MAX.3 tree.3 SPLAY_FIND.3 \
|
|
|
|
tree.3 SPLAY_LEFT.3 tree.3 SPLAY_RIGHT.3 tree.3 SPLAY_INIT.3 \
|
|
|
|
tree.3 SPLAY_INSERT.3 tree.3 SPLAY_REMOVE.3 \
|
|
|
|
tree.3 SPLAY_FOREACH.3
|
|
|
|
MLINKS+=tree.3 RB_PROTOTYPE.3 tree.3 RB_GENERATE.3 \
|
|
|
|
tree.3 RB_ENTRY.3 tree.3 RB_HEAD.3 \
|
|
|
|
tree.3 RB_INITIALIZER.3 tree.3 RB_ROOT.3 \
|
|
|
|
tree.3 RB_EMPTY.3 tree.3 RB_NEXT.3 \
|
|
|
|
tree.3 RB_MIN.3 tree.3 RB_MAX.3 tree.3 RB_FIND.3 \
|
|
|
|
tree.3 RB_LEFT.3 tree.3 RB_RIGHT.3 tree.3 RB_PARENT.3 \
|
|
|
|
tree.3 RB_INIT.3 tree.3 RB_INSERT.3 tree.3 RB_REMOVE.3 \
|
|
|
|
tree.3 RB_FOREACH.3
|
2008-06-20 18:34:20 +04:00
|
|
|
MLINKS+=CMSG_DATA.3 CMSG_FIRSTHDR.3 \
|
|
|
|
CMSG_DATA.3 CMSG_LEN.3 \
|
|
|
|
CMSG_DATA.3 CMSG_NXTHDR.3 \
|
|
|
|
CMSG_DATA.3 CMSG_SPACE.3
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-10-11 12:22:03 +04:00
|
|
|
.include <bsd.man.mk>
|
|
|
|
.include <bsd.subdir.mk>
|