From f4f652f27b6bc683e59d246956a77749e21a8a0c Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 6 Feb 2004 01:52:02 +0000 Subject: remove silly stub file for alpha and only try to compile _atomic_lock.c if it actually exists. ok marc@ --- lib/libpthread/sys/Makefile.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/libpthread/sys/Makefile.inc') diff --git a/lib/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc index 633c31d8b61..f39fe7e43a0 100644 --- a/lib/libpthread/sys/Makefile.inc +++ b/lib/libpthread/sys/Makefile.inc @@ -1,10 +1,13 @@ -# $OpenBSD: Makefile.inc,v 1.12 2003/10/22 00:25:42 brad Exp $ +# $OpenBSD: Makefile.inc,v 1.13 2004/02/06 01:52:01 brad Exp $ .PATH: ${SRCDIR}/sys ${SRCDIR}/arch/${MACHINE_ARCH} SRCS+= uthread_error.c -SRCS+= _atomic_lock.c slow_atomic_lock.c +SRCS+= slow_atomic_lock.c +.if exists(${SRCDIR}/arch/${MACHINE_ARCH}/_atomic_lock.c) +SRCS+= _atomic_lock.c +.endif .if exists(${SRCDIR}/arch/${MACHINE_ARCH}/uthread_machdep_asm.S) SRCS+= uthread_machdep_asm.S .endif -- cgit v1.2.3