summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread/Makefile
blob: 85d409d073c5d2ff77b97cc00fd997c5fcf5a368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$NetBSD: Makefile,v 1.18 2004/01/02 19:27:46 cl Exp $

.include <bsd.own.mk>

.if exists(${.CURDIR}/../../../lib/libpthread/arch/${MACHINE_ARCH})
ARCHSUBDIR=     ${MACHINE_ARCH}
.elif exists(${.CURDIR}/../../../lib/libpthread/arch/${MACHINE_CPU}) 
ARCHSUBDIR=     ${MACHINE_CPU}
.else
.BEGIN:
	@echo "WARNING: no ARCHSUBDIR for ${MACHINE_ARCH}/${MACHINE_CPU}"
	@echo "*** REFUSING TO CONTINUE! (nag, nag, nag) ***"
	@false	# this is intentional!
.endif

.if defined(ARCHSUBDIR)

SUBDIR+= atexit barrier1 cancel2 cond1 cond2 cond3 cond4 cond5 condcancel1 \
	 exit1 fork mutex1 mutex2 mutex3 mutex4 name once1 once2 \
	 preempt1 sem sigalarm sigmask1 siglongjmp1 sigsuspend

.endif

.include <bsd.subdir.mk>