Makefile revision 103388
1# $FreeBSD: head/lib/libkse/Makefile 103388 2002-09-16 08:45:36Z mini $
2#
3# All library objects contain FreeBSD revision strings by default; they may be
4# excluded as a space-saving measure.  To produce a library that does
5# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
6# below.  Note, there are no IDs for syscall stubs whose sources are generated.
7# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
8# (for system call stubs) to CFLAGS below.  -DSYSLIBC_SCCS affects just the
9# system call stubs.
10LIB=pthread
11SHLIB_MAJOR= 5
12SHLIB_MINOR= 0
13CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
14CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
15	-I${.CURDIR}/../../include
16
17# Uncomment this if you want libc_r to contain debug information for
18# thread locking.
19CFLAGS+=-D_LOCK_DEBUG
20
21# enable extra internal consistancy checks
22CFLAGS+=-D_PTHREADS_INVARIANTS
23
24AINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread
25PRECIOUSLIB=	yes
26
27.include "${.CURDIR}/man/Makefile.inc"
28.include "${.CURDIR}/thread/Makefile.inc"
29.include "${.CURDIR}/sys/Makefile.inc"
30
31.include <bsd.lib.mk>
32