22 lines
424 B
Makefile
22 lines
424 B
Makefile
# from: @(#)Makefile 5.2 (Berkeley) 3/5/91
|
|
|
|
LIB=pthread
|
|
NOPIC= no
|
|
CPPFLAGS+= -g -DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE}
|
|
CFLAGS+= ${CPPFLAGS}
|
|
|
|
.include "${.CURDIR}/arch/${MACHINE}/Makefile.inc"
|
|
.include "${.CURDIR}/pthreads/Makefile.inc"
|
|
|
|
all beforedepend: pthread
|
|
|
|
CLEANFILES+=pthread
|
|
|
|
pthread:
|
|
if [ ! -e pthread ]; then \
|
|
ln -s ${.CURDIR}/include pthread; \
|
|
fi
|
|
|
|
.include <bsd.lib.mk>
|
|
|