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