Add a commented out CFLAGS entry that can be uncommented to compile thread

lock debug into libc_r. I don't know if this is the best place to document
this, but at least it is recorded somewhere. 8-)
This commit is contained in:
John Birrell 1998-06-09 23:25:13 +00:00
parent ddc8afd422
commit 627961e45f
3 changed files with 18 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.9 1998/05/31 23:53:50 jb Exp $
# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $
#
# All library objects contain rcsid strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
@ -10,6 +10,11 @@ SHLIB_MAJOR= 3
SHLIB_MINOR= 0
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
# Uncomment this if you want libc_r to contain debug information for
# thread locking.
# CFLAGS+=-D_LOCK_DEBUG
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
PRECIOUSLIB= yes

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.9 1998/05/31 23:53:50 jb Exp $
# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $
#
# All library objects contain rcsid strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
@ -10,6 +10,11 @@ SHLIB_MAJOR= 3
SHLIB_MINOR= 0
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
# Uncomment this if you want libc_r to contain debug information for
# thread locking.
# CFLAGS+=-D_LOCK_DEBUG
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
PRECIOUSLIB= yes

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.9 1998/05/31 23:53:50 jb Exp $
# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $
#
# All library objects contain rcsid strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
@ -10,6 +10,11 @@ SHLIB_MAJOR= 3
SHLIB_MINOR= 0
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
# Uncomment this if you want libc_r to contain debug information for
# thread locking.
# CFLAGS+=-D_LOCK_DEBUG
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
PRECIOUSLIB= yes