1 # from: @(#)Makefile 5.2 (Berkeley) 3/5/91 2 3 LIB=pthread 4 INSTALL_PIC_ARCHIVE= no 5 CPPFLAGS+= -g -DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE} 6 CFLAGS+= ${CPPFLAGS} 7 8 .include "${.CURDIR}/arch/${MACHINE}/Makefile.inc" 9 .include "${.CURDIR}/pthreads/Makefile.inc" 10 11 all: includelinks 12 13 beforedepend: includelinks 14 15 CLEANFILES+=pthread 16 17 includelinks: 18 if [ ! -e pthread ]; then; \ 19 ln -s ${.CURDIR}/include pthread; \ 20 fi 21 22 .include <bsd.lib.mk> 23 24