summaryrefslogtreecommitdiff
path: root/lib/libpthread/Makefile
blob: 594cb54326f459043f8c3bcfb9b5ac7ebcdf8404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	from: @(#)Makefile	5.2 (Berkeley) 3/5/91

LIB=pthread
NOPIC= no
CPPFLAGS+= -DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE_ARCH}

.include "${.CURDIR}/arch/${MACHINE_ARCH}/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>