1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1996-01-22 00:23:58 +00:00
|
|
|
#
|
2002-04-15 20:22:28 +00:00
|
|
|
# All library objects contain FreeBSD revision strings by default; they may be
|
1996-01-22 00:23:58 +00:00
|
|
|
# excluded as a space-saving measure. To produce a library that does
|
2002-04-15 20:22:28 +00:00
|
|
|
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
|
|
|
|
# below. Note, there are no IDs for syscall stubs whose sources are generated.
|
|
|
|
# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
|
|
|
|
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
|
|
|
|
# system call stubs.
|
1996-01-22 00:23:58 +00:00
|
|
|
LIB=c_r
|
2000-11-14 02:46:23 +00:00
|
|
|
SHLIB_MAJOR= 5
|
2002-04-15 20:22:28 +00:00
|
|
|
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE
|
|
|
|
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/uthread \
|
2003-07-02 01:52:06 +00:00
|
|
|
-I${.CURDIR}/../../include -I${.CURDIR}/../libc/${MACHINE_ARCH}
|
1998-06-09 23:25:13 +00:00
|
|
|
|
|
|
|
# Uncomment this if you want libc_r to contain debug information for
|
|
|
|
# thread locking.
|
1999-07-05 00:35:19 +00:00
|
|
|
CFLAGS+=-D_LOCK_DEBUG
|
|
|
|
|
1999-11-28 05:38:13 +00:00
|
|
|
# enable extra internal consistancy checks
|
2000-10-13 22:19:50 +00:00
|
|
|
CFLAGS+=-D_PTHREADS_INVARIANTS
|
1999-11-28 05:38:13 +00:00
|
|
|
|
1996-01-22 00:23:58 +00:00
|
|
|
PRECIOUSLIB= yes
|
|
|
|
|
1996-08-20 08:22:01 +00:00
|
|
|
.include "${.CURDIR}/man/Makefile.inc"
|
1996-01-22 00:23:58 +00:00
|
|
|
.include "${.CURDIR}/uthread/Makefile.inc"
|
1997-05-03 03:57:21 +00:00
|
|
|
.include "${.CURDIR}/sys/Makefile.inc"
|
1996-01-22 00:23:58 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|