diff options
author | 2000-01-06 21:19:10 +0000 | |
---|---|---|
committer | 2000-01-06 21:19:10 +0000 | |
commit | c4b491c95705334ad36f834309fa99e38e291ecd (patch) | |
tree | c3d2f6e4293b5b6cc1d642dcdbc97b64e3679885 | |
parent | Leave audio alone for midi or midibus. (diff) | |
download | wireguard-openbsd-c4b491c95705334ad36f834309fa99e38e291ecd.tar.xz wireguard-openbsd-c4b491c95705334ad36f834309fa99e38e291ecd.zip |
use everything in libc_r (sorry, todd)
-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> |