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.8
1#	$NetBSD: Makefile.inc,v 1.8 2011/01/17 07:29:17 skrll Exp $
2
3.if defined(LIB)
4
5.  if (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" || \
6    ${LIB} == "rump")
7
8SRCS+=	atomic_add_32_cas.c atomic_add_32_nv_cas.c atomic_and_32_cas.c \
9	atomic_and_32_nv_cas.c atomic_dec_32_cas.c atomic_dec_32_nv_cas.c \
10	atomic_inc_32_cas.c atomic_inc_32_nv_cas.c atomic_or_32_cas.c \
11	atomic_or_32_nv_cas.c atomic_swap_32_cas.c membar_ops_nop.c
12
13.  endif
14
15.  if (${LIB} == "c" || ${LIB} == "pthread")
16
17SRCS+=	atomic_init_testset.c
18SRCS+=	atomic_cas_up.S
19CPPFLAGS+= -D__HAVE_ASM_ATOMIC_CAS_UP
20
21.  endif
22
23.endif
24

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