Makefile revision 94797
150476Speter# $FreeBSD: head/lib/libkse/Makefile 94797 2002-04-15 20:22:28Z obrien $
213546Sjulian#
394797Sobrien# All library objects contain FreeBSD revision strings by default; they may be
413546Sjulian# excluded as a space-saving measure.  To produce a library that does
594797Sobrien# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
694797Sobrien# below.  Note, there are no IDs for syscall stubs whose sources are generated.
794797Sobrien# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
894797Sobrien# (for system call stubs) to CFLAGS below.  -DSYSLIBC_SCCS affects just the
994797Sobrien# system call stubs.
1013546SjulianLIB=c_r
1168699SobrienSHLIB_MAJOR= 5
1215635SpeterSHLIB_MINOR= 0
1394797SobrienCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
1494797SobrienCFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/uthread \
1594797Sobrien	-I${.CURDIR}/../../include
1636831Sjb
1736831Sjb# Uncomment this if you want libc_r to contain debug information for
1836831Sjb# thread locking.
1948569SjasoneCFLAGS+=-D_LOCK_DEBUG
2036831Sjb
2153812Salfred# enable extra internal consistancy checks
2267099SdeischenCFLAGS+=-D_PTHREADS_INVARIANTS
2353812Salfred
2434366SjbAINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
2513546SjulianPRECIOUSLIB=	yes
2613546Sjulian
2717706Sjulian.include "${.CURDIR}/man/Makefile.inc"
2825402Sjb.include "${.CURDIR}/uthread/Makefile.inc"
2913546Sjulian.include "${.CURDIR}/sys/Makefile.inc"
3013546Sjulian
3113546Sjulian.include <bsd.lib.mk>
32