]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - lib/libc_r/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / lib / libc_r / Makefile
1 # $FreeBSD$
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.
10
11 .include <bsd.own.mk>
12
13 LIB=c_r
14 SHLIB_MAJOR= 7
15 CFLAGS+=-DPTHREAD_KERNEL 
16 CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/uthread \
17         -I${.CURDIR}/../../include
18
19 # Uncomment this if you want libc_r to contain debug information for
20 # thread locking.
21 CFLAGS+=-D_LOCK_DEBUG
22
23 # enable extra internal consistancy checks
24 CFLAGS+=-D_PTHREADS_INVARIANTS
25
26 PRECIOUSLIB=
27
28 .include "${.CURDIR}/uthread/Makefile.inc"
29 .include "${.CURDIR}/sys/Makefile.inc"
30
31 .include <bsd.lib.mk>