diff options
author | jb <jb@FreeBSD.org> | 1998-06-09 23:25:13 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-06-09 23:25:13 +0000 |
commit | 5728cd1f8fdd0d37992986e3c1f24cc0fab9fafe (patch) | |
tree | 1ea8ef090a7071dd39346d5293fd62e4a023284c /lib | |
parent | 765df5f4d29065eac50b4bfab3407a7da8a90323 (diff) | |
download | FreeBSD-src-5728cd1f8fdd0d37992986e3c1f24cc0fab9fafe.zip FreeBSD-src-5728cd1f8fdd0d37992986e3c1f24cc0fab9fafe.tar.gz |
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-)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc_r/Makefile | 7 | ||||
-rw-r--r-- | lib/libkse/Makefile | 7 | ||||
-rw-r--r-- | lib/libpthread/Makefile | 7 |
3 files changed, 18 insertions, 3 deletions
diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile index 88f883c..63299ea 100644 --- a/lib/libc_r/Makefile +++ b/lib/libc_r/Makefile @@ -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 diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index 88f883c..63299ea 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -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 diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 88f883c..63299ea 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -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 |