1993-11-14 22:06:22 +00:00
|
|
|
# from: @(#)Makefile 5.2 (Berkeley) 3/5/91
|
|
|
|
|
|
|
|
LIB=pthread
|
1993-11-16 03:21:44 +00:00
|
|
|
NOPIC= no
|
1994-02-07 21:59:27 +00:00
|
|
|
CPPFLAGS+= -DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE}
|
1993-11-14 22:06:22 +00:00
|
|
|
CFLAGS+= ${CPPFLAGS}
|
|
|
|
|
|
|
|
.include "${.CURDIR}/arch/${MACHINE}/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/pthreads/Makefile.inc"
|
1994-02-07 21:59:27 +00:00
|
|
|
.include "${.CURDIR}/stdio/Makefile.inc"
|
1993-11-15 06:49:08 +00:00
|
|
|
|
1993-11-15 11:11:00 +00:00
|
|
|
all beforedepend: pthread
|
1993-11-15 10:02:18 +00:00
|
|
|
|
|
|
|
CLEANFILES+=pthread
|
|
|
|
|
1993-11-15 11:11:00 +00:00
|
|
|
pthread:
|
1993-11-22 19:37:48 +00:00
|
|
|
if [ ! -e pthread ]; then \
|
1993-11-15 10:02:18 +00:00
|
|
|
ln -s ${.CURDIR}/include pthread; \
|
1993-11-15 06:49:08 +00:00
|
|
|
fi
|
1993-11-14 22:06:22 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
|