NetBSD/regress/lib/libpthread/Makefile

25 lines
643 B
Makefile

# $NetBSD: Makefile,v 1.12 2003/03/04 18:00:48 thorpej 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 cond1 cond2 cond3 cond4 cond5 \
mutex1 mutex2 mutex3 mutex4 name once1 once2 sem \
sigsuspend
.endif
.include <bsd.subdir.mk>