Cross Reference: Makefile.inc
xref: /src/common/lib/libc/arch/hppa/atomic/Makefile.inc
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/common/lib/libc/arch/hppa/atomic/
Makefile.inc revision 1.7
1#	$NetBSD: Makefile.inc,v 1.7 2009/01/06 13:23:31 mjf Exp $
2
3.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
4	|| ${LIB} == "rump")
5
6SRCS+=	atomic_add_32_cas.c atomic_add_32_nv_cas.c atomic_and_32_cas.c \
7	atomic_and_32_nv_cas.c atomic_dec_32_cas.c atomic_dec_32_nv_cas.c \
8	atomic_inc_32_cas.c atomic_inc_32_nv_cas.c atomic_or_32_cas.c \
9	atomic_or_32_nv_cas.c atomic_swap_32_cas.c membar_ops_nop.c
10
11.endif
12
13.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
14
15SRCS+=	atomic_init_testset.c
16SRCS+=	atomic_cas_up.S
17CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_UP
18
19.endif
20

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