Makefile revision 71581
142421Syokota# $FreeBSD: head/lib/libkse/Makefile 71581 2001-01-24 13:03:38Z deischen $
242421Syokota#
342421Syokota# All library objects contain rcsid strings by default; they may be
442421Syokota# excluded as a space-saving measure.  To produce a library that does
542421Syokota# not contain these strings, delete -DLIBC_RCS and -DSYSLIBC_RCS
642421Syokota# from CFLAGS below.  To remove these strings from just the system call
742421Syokota# stubs, remove just -DSYSLIBC_RCS from CFLAGS.
842421SyokotaLIB=c_r
942421SyokotaSHLIB_MAJOR= 5
1042421SyokotaSHLIB_MINOR= 0
1142421SyokotaCFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
1242421SyokotaCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
1342421SyokotaCFLAGS+=-I${.CURDIR}/../../include
1442421Syokota
1542421Syokota# Uncomment this if you want libc_r to contain debug information for
1642421Syokota# thread locking.
1742421SyokotaCFLAGS+=-D_LOCK_DEBUG
1842421Syokota
1942421Syokota# enable extra internal consistancy checks
2042421SyokotaCFLAGS+=-D_PTHREADS_INVARIANTS
2142421Syokota
2242421SyokotaAINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
2342421SyokotaPRECIOUSLIB=	yes
2442421Syokota
2542421Syokota.include "${.CURDIR}/man/Makefile.inc"
2648878Syokota.include "${.CURDIR}/uthread/Makefile.inc"
2742421Syokota.include "${.CURDIR}/sys/Makefile.inc"
2842421Syokota
2942421Syokota.include <bsd.lib.mk>
3042421Syokota