Makefile revision 113658
150476Speter# $FreeBSD: head/lib/libkse/Makefile 113658 2003-04-18 05:04:16Z 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
12113658SdeischenCFLAGS+=-DPTHREAD_KERNEL
13103388SminiCFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
1494797Sobrien	-I${.CURDIR}/../../include
15113658SdeischenCFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include
16113658SdeischenCFLAGS+=-I${.CURDIR}/sys
1736831Sjb
18103412Smini# Uncomment this if you want libpthread to contain debug information for
1936831Sjb# thread locking.
20113658SdeischenCFLAGS+=-D_LOCK_DEBUG -g
2136831Sjb
2253812Salfred# enable extra internal consistancy checks
23113658SdeischenCFLAGS+=-D_PTHREADS_INVARIANTS -Wall
2453812Salfred
25103388SminiAINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread
2613546SjulianPRECIOUSLIB=	yes
2713546Sjulian
2817706Sjulian.include "${.CURDIR}/man/Makefile.inc"
29103388Smini.include "${.CURDIR}/thread/Makefile.inc"
3013546Sjulian.include "${.CURDIR}/sys/Makefile.inc"
3113546Sjulian
3213546Sjulian.include <bsd.lib.mk>
33