Makefile revision 113996
150476Speter# $FreeBSD: head/lib/libkse/Makefile 113996 2003-04-25 01:31:56Z 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.
10113996SdeischenLIB=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.
20113786SdeischenCFLAGS+=-D_LOCK_DEBUG
21113786Sdeischen#CFLAGS+= -g
2236831Sjb
2353812Salfred# enable extra internal consistancy checks
24113658SdeischenCFLAGS+=-D_PTHREADS_INVARIANTS -Wall
2553812Salfred
26103388SminiAINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread
2713546SjulianPRECIOUSLIB=	yes
2813546Sjulian
29103388Smini.include "${.CURDIR}/thread/Makefile.inc"
3013546Sjulian.include "${.CURDIR}/sys/Makefile.inc"
3113546Sjulian
3213546Sjulian.include <bsd.lib.mk>
33