summaryrefslogtreecommitdiff
path: root/lib/libpthread/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /lib/libpthread/Makefile
initial import of NetBSD tree
Diffstat (limited to 'lib/libpthread/Makefile')
-rw-r--r--lib/libpthread/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
new file mode 100644
index 00000000000..85978519fe8
--- /dev/null
+++ b/lib/libpthread/Makefile
@@ -0,0 +1,22 @@
+# from: @(#)Makefile 5.2 (Berkeley) 3/5/91
+
+LIB=pthread
+NOPIC= no
+CPPFLAGS+= -DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE}
+CFLAGS+= ${CPPFLAGS}
+
+.include "${.CURDIR}/arch/${MACHINE}/Makefile.inc"
+.include "${.CURDIR}/pthreads/Makefile.inc"
+.include "${.CURDIR}/stdio/Makefile.inc"
+
+all beforedepend: pthread
+
+CLEANFILES+=pthread
+
+pthread:
+ if [ ! -e pthread ]; then \
+ ln -s ${.CURDIR}/include pthread; \
+ fi
+
+.include <bsd.lib.mk>
+