Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / regress / lib / libpthread / Makefile
blob206594a0650cf01b0a3271db52754186442bd9d1
1 # $NetBSD: Makefile,v 1.31 2007/01/20 19:40:06 ad Exp $
3 .include <bsd.own.mk>
5 .if exists(${.CURDIR}/../../../lib/libpthread/arch/${MACHINE_ARCH})
6 ARCHSUBDIR= ${MACHINE_ARCH}
7 .elif exists(${.CURDIR}/../../../lib/libpthread/arch/${MACHINE_CPU})
8 ARCHSUBDIR= ${MACHINE_CPU}
9 .else
10 .BEGIN:
11 @echo "WARNING: no ARCHSUBDIR for ${MACHINE_ARCH}/${MACHINE_CPU}"
12 @echo "*** REFUSING TO CONTINUE! (nag, nag, nag) ***"
13 @false # this is intentional!
14 .endif
16 .if defined(ARCHSUBDIR)
18 SUBDIR+= atexit \
19 barrier1 \
20 cancel2 \
21 cond1 cond2 cond3 cond4 cond5 cond6 condcancel1 \
22 exit1 \
23 find \
24 fork \
25 fpu \
26 kill1 \
27 mutex1 mutex2 mutex3 mutex4 \
28 name \
29 once1 once2 once3 \
30 preempt1 \
31 resolv rwlock1 \
32 sem sem2 sigalarm sigmask1 sigmask2 sigmask3 sigmask4 \
33 siglongjmp1 sigsuspend \
34 sleep1
36 .endif
38 .include <bsd.subdir.mk>