Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/hppa/atomic Tweak layout - no functiona...



details:   https://anonhg.NetBSD.org/src/rev/064b09dac855
branches:  trunk
changeset: 760916:064b09dac855
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 17 07:29:17 2011 +0000

description:
Tweak layout - no functional change.

diffstat:

 common/lib/libc/arch/hppa/atomic/Makefile.inc |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r e13e236654ef -r 064b09dac855 common/lib/libc/arch/hppa/atomic/Makefile.inc
--- a/common/lib/libc/arch/hppa/atomic/Makefile.inc     Mon Jan 17 07:13:31 2011 +0000
+++ b/common/lib/libc/arch/hppa/atomic/Makefile.inc     Mon Jan 17 07:29:17 2011 +0000
@@ -1,19 +1,23 @@
-#      $NetBSD: Makefile.inc,v 1.7 2009/01/06 13:23:31 mjf Exp $
+#      $NetBSD: Makefile.inc,v 1.8 2011/01/17 07:29:17 skrll Exp $
 
-.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
-       || ${LIB} == "rump")
+.if defined(LIB)
+
+.  if (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" || \
+    ${LIB} == "rump")
 
 SRCS+= atomic_add_32_cas.c atomic_add_32_nv_cas.c atomic_and_32_cas.c \
        atomic_and_32_nv_cas.c atomic_dec_32_cas.c atomic_dec_32_nv_cas.c \
        atomic_inc_32_cas.c atomic_inc_32_nv_cas.c atomic_or_32_cas.c \
        atomic_or_32_nv_cas.c atomic_swap_32_cas.c membar_ops_nop.c
 
-.endif
+.  endif
 
-.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
+.  if (${LIB} == "c" || ${LIB} == "pthread")
 
 SRCS+= atomic_init_testset.c
 SRCS+= atomic_cas_up.S
 CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_UP
 
+.  endif
+
 .endif



Home | Main Index | Thread Index | Old Index