diff options
Diffstat (limited to 'lib/libpthread/Makefile')
-rw-r--r-- | lib/libpthread/Makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index b391e0098eb..7bd7077e0af 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -1,26 +1,22 @@ -# $OpenBSD: Makefile,v 1.16 2003/01/14 20:04:44 marc Exp $ +# $OpenBSD: Makefile,v 1.17 2003/01/20 18:12:11 marc Exp $ # # The pthread library is formed from the FreeBSD uthread sources of -# libc_r, and exploits weak symbols in libc. It is installed as -# libnpthread (new pthread) so it will not be picked up in addition to -# libc_r by misbehaving ports. +# libc_r, and exploits weak symbols in libc. # -LIBC_RSRCDIR= ${.CURDIR}/../libc_r +SRCDIR= ${.CURDIR} LIBCSRCDIR= ${.CURDIR}/../libc -.PATH: ${LIBC_RSRCDIR} - LIB= pthread LINTFLAGS= -z CFLAGS+= -DPTHREAD_KERNEL -D_POSIX_THREADS -D_THREAD_SAFE -Wall -CFLAGS+= -I${LIBC_RSRCDIR}/uthread -CFLAGS+= -I${LIBC_RSRCDIR}/include +CFLAGS+= -I${SRCDIR}/uthread +CFLAGS+= -I${SRCDIR}/include CFLAGS+= -I${LIBCSRCDIR}/include -AINC+= -I${LIBC_RSRCDIR}/uthread +AINC+= -I${SRCDIR}/uthread -# Uncomment this if you want libc_r to contain debug information for +# Uncomment this if you want libpthread to contain debug information for # thread locking. CFLAGS+= -D_LOCK_DEBUG #DEBUG= -g @@ -28,11 +24,11 @@ CFLAGS+= -D_LOCK_DEBUG # enable extra internal consistency checks CFLAGS+= -D_PTHREADS_INVARIANTS -.include "${LIBC_RSRCDIR}/include/Makefile.inc" -.include "${LIBC_RSRCDIR}/sys/Makefile.inc" -.include "${LIBC_RSRCDIR}/thread/Makefile.inc" -.include "${LIBC_RSRCDIR}/uthread/Makefile.inc" -.include "${LIBC_RSRCDIR}/man/Makefile.inc" +.include "${SRCDIR}/include/Makefile.inc" +.include "${SRCDIR}/sys/Makefile.inc" +.include "${SRCDIR}/thread/Makefile.inc" +.include "${SRCDIR}/uthread/Makefile.inc" +.include "${SRCDIR}/man/Makefile.inc" .include <bsd.own.mk> .include <bsd.lib.mk> |