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.10
11.10Sskrll#	$NetBSD: Makefile.inc,v 1.10 2014/02/22 08:21:03 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.10SskrllSRCS+=	atomic_add_32_cas.c atomic_add_32_nv_cas.c \
91.10Sskrll	atomic_and_32_cas.c atomic_and_32_nv_cas.c \
101.10Sskrll	atomic_dec_32_cas.c atomic_dec_32_nv_cas.c \
111.10Sskrll	atomic_inc_32_cas.c atomic_inc_32_nv_cas.c \
121.10Sskrll	atomic_or_32_cas.c \
131.10Sskrll	atomic_or_32_nv_cas.c atomic_swap_32_cas.c \
141.10Sskrll	membar_ops_nop.c
151.1Sad
161.8Sskrll.  endif
171.3Sad
181.8Sskrll.  if (${LIB} == "c" || ${LIB} == "pthread")
191.2Sad
201.2SadSRCS+=	atomic_init_testset.c
211.4SskrllSRCS+=	atomic_cas_up.S
221.4SskrllCPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_UP
231.9SskrllCPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_16_UP
241.9SskrllCPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_8_UP
251.8Sskrll.  endif
261.8Sskrll
271.1Sad.endif
28

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