-# $OpenBSD: Makefile.inc,v 1.15 2018/05/19 12:27:33 mpi Exp $
+# $OpenBSD: Makefile.inc,v 1.16 2018/09/24 11:25:09 jsg Exp $
.PATH: ${LIBCSRCDIR}/thread
spinlock.c \
spinlocktry.c
-.if ${MACHINE_ARCH} == "aarch64" || \
- ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
+.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
+ ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \
${MACHINE_ARCH} == "sparc64"
CFLAGS+= -DFUTEX
-# $OpenBSD: Makefile,v 1.50 2018/06/08 13:53:01 pirofti Exp $
+# $OpenBSD: Makefile,v 1.51 2018/09/24 11:25:09 jsg Exp $
LIB=pthread
LIBCSRCDIR= ${.CURDIR}/../libc
sched_prio.c
# Architectures that implement atomics
-.if ${MACHINE_ARCH} == "aarch64" || \
- ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
+.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
+ ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \
${MACHINE_ARCH} == "sparc64"
SRCS+= rthread_sem.c