summaryrefslogtreecommitdiff
path: root/lib/libpthread/sys/Makefile.inc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-04-02 15:34:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-04-02 15:34:49 +0000
commite797bcdd74acd2760e48910f2616ec53d37d9445 (patch)
tree3618b551efcc3aa88de63d80cd628c2890f2d356 /lib/libpthread/sys/Makefile.inc
parent16007b5f25d703e8fa7b19715d2d64bbe1a1851d (diff)
slow_atomic_lock.c is only used by mips; marc@ ok
Diffstat (limited to 'lib/libpthread/sys/Makefile.inc')
-rw-r--r--lib/libpthread/sys/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc
index f39fe7e43a0..3081b701ab8 100644
--- a/lib/libpthread/sys/Makefile.inc
+++ b/lib/libpthread/sys/Makefile.inc
@@ -1,9 +1,12 @@
-# $OpenBSD: Makefile.inc,v 1.13 2004/02/06 01:52:01 brad Exp $
+# $OpenBSD: Makefile.inc,v 1.14 2004/04/02 15:34:48 mickey Exp $
.PATH: ${SRCDIR}/sys ${SRCDIR}/arch/${MACHINE_ARCH}
SRCS+= uthread_error.c
+
+.if (${MACHINE_ARCH} == "mips")
SRCS+= slow_atomic_lock.c
+.endif
.if exists(${SRCDIR}/arch/${MACHINE_ARCH}/_atomic_lock.c)
SRCS+= _atomic_lock.c