Cross Reference: Makefile.inc
xref: /src/common/lib/libc/arch/hppa/atomic/Makefile.inc
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/common/lib/libc/arch/hppa/atomic/
Makefile.inc revision 1.8
11.8Sskrll#	$NetBSD: Makefile.inc,v 1.8 2011/01/17 07:29:17 skrll Exp $
21.3Sad
31.8Sskrll.if defined(LIB)
41.8Sskrll
51.8Sskrll.  if (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" || \
61.8Sskrll    ${LIB} == "rump")
71.1Sad
81.1SadSRCS+=	atomic_add_32_cas.c atomic_add_32_nv_cas.c atomic_and_32_cas.c \
91.1Sad	atomic_and_32_nv_cas.c atomic_dec_32_cas.c atomic_dec_32_nv_cas.c \
101.1Sad	atomic_inc_32_cas.c atomic_inc_32_nv_cas.c atomic_or_32_cas.c \
111.1Sad	atomic_or_32_nv_cas.c atomic_swap_32_cas.c membar_ops_nop.c
121.1Sad
131.8Sskrll.  endif
141.3Sad
151.8Sskrll.  if (${LIB} == "c" || ${LIB} == "pthread")
161.2Sad
171.2SadSRCS+=	atomic_init_testset.c
181.4SskrllSRCS+=	atomic_cas_up.S
191.4SskrllCPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_UP
201.2Sad
211.8Sskrll.  endif
221.8Sskrll
231.1Sad.endif
24

Indexes created Mon Nov 10 17:20:41 GMT 2025