Makefile revision 107687
150476Speter# $FreeBSD: head/lib/libkse/Makefile 107687 2002-12-08 22:43:31Z deischen $
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.
10107687SdeischenLIB=kse
11107687SdeischenSHLIB_MAJOR= 1
1294797SobrienCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
13103388SminiCFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
1494797Sobrien	-I${.CURDIR}/../../include
1536831Sjb
16103412Smini# Uncomment this if you want libpthread to contain debug information for
1736831Sjb# thread locking.
1848569SjasoneCFLAGS+=-D_LOCK_DEBUG
1936831Sjb
2053812Salfred# enable extra internal consistancy checks
2167099SdeischenCFLAGS+=-D_PTHREADS_INVARIANTS
2253812Salfred
23103388SminiAINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread
2413546SjulianPRECIOUSLIB=	yes
2513546Sjulian
2617706Sjulian.include "${.CURDIR}/man/Makefile.inc"
27103388Smini.include "${.CURDIR}/thread/Makefile.inc"
2813546Sjulian.include "${.CURDIR}/sys/Makefile.inc"
2913546Sjulian
3013546Sjulian.include <bsd.lib.mk>
31