diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-01-06 21:19:11 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-01-06 21:19:11 +0000 |
commit | 293bc0461446155c955699dbec839024f94dc692 (patch) | |
tree | 1196420f328350beab86c06d65a2b5377f9ba2dc /lib/libpthread/Makefile | |
parent | a85d3994006eacd686abf0941e0013bc8f0cf494 (diff) |
use everything in libc_r (sorry, todd)
Diffstat (limited to 'lib/libpthread/Makefile')
-rw-r--r-- | lib/libpthread/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 80db72525af..90e3814c3a0 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -1,33 +1,34 @@ -# $OpenBSD: Makefile,v 1.10 2000/01/04 00:54:51 d Exp $ +# $OpenBSD: Makefile,v 1.11 2000/01/06 21:19:10 d Exp $ + +# +# The pthread library is formed from the FreeBSD uthread sources of +# libc_r, and exploits weak symbols in libc. +# LIBC_RSRCDIR= ${.CURDIR}/../libc_r LIBCSRCDIR= ${.CURDIR}/../libc .PATH: ${LIBC_RSRCDIR} -DEBUG= -ggdb -Wall LIB= pthread LINTFLAGS= -z CFLAGS+= -DPTHREAD_KERNEL -D_POSIX_THREADS -D_THREAD_SAFE CFLAGS+= -D_PTHREADS_INVARIANTS CFLAGS+= -DNOPOLL -I${LIBC_RSRCDIR}/uthread CFLAGS+= -I${LIBC_RSRCDIR}/include +CFLAGS+= -I${LIBCSRCDIR}/include +AINC+= -I${LIBC_RSRCDIR}/uthread # Uncomment this if you want libc_r to contain debug information for # thread locking. CFLAGS+= -D_LOCK_DEBUG +DEBUG= -ggdb -Wall -.include "${LIBC_RSRCDIR}/uthread/Makefile.inc" - -CFLAGS+= -I${LIBCSRCDIR}/include -SRCS+= libc_storage.c - +.include "${LIBC_RSRCDIR}/include/Makefile.inc" .include "${LIBC_RSRCDIR}/man/Makefile.inc" .include "${LIBC_RSRCDIR}/sys/Makefile.inc" - -AINC+= -I${LIBC_RSRCDIR}/uthread - -.include "${LIBC_RSRCDIR}/include/Makefile.inc" +.include "${LIBC_RSRCDIR}/thread/Makefile.inc" +.include "${LIBC_RSRCDIR}/uthread/Makefile.inc" .include <bsd.own.mk> .include <bsd.lib.mk> |