NetBSD/lib/libpthread/Makefile

23 lines
462 B
Makefile

# 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>