1993-11-15 01:06:22 +03:00
|
|
|
# from: @(#)Makefile 5.2 (Berkeley) 3/5/91
|
|
|
|
|
|
|
|
LIB=pthread
|
|
|
|
INSTALL_PIC_ARCHIVE= no
|
1993-11-15 13:02:18 +03:00
|
|
|
CPPFLAGS+= -g -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"
|
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-15 13:02:18 +03:00
|
|
|
if [ ! -e pthread ]; then; \
|
|
|
|
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>
|
|
|
|
|