2011-02-14 20:36:03 +01:00
|
|
|
# $NetBSD: Makefile.inc,v 1.7 2009/01/04 17:54:29 pooka Exp $
|
|
|
|
|
|
|
|
.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
|
2011-04-27 15:00:52 +02:00
|
|
|
|| ${LIB} == "rump" || (defined(__MINIX) && ${LIB} == "sys"))
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
SRCS+= atomic_add_64_cas.c atomic_add_64_nv_cas.c atomic_and_64_cas.c \
|
|
|
|
atomic_and_64_nv_cas.c atomic_dec_64_cas.c atomic_dec_64_nv_cas.c \
|
|
|
|
atomic_inc_64_cas.c atomic_inc_64_nv_cas.c atomic_or_64_cas.c \
|
|
|
|
atomic_or_64_nv_cas.c atomic_swap_64_cas.c atomic.S
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
|
|
|
|
|
|
|
|
SRCS+= atomic_init_cas.c
|
|
|
|
|
|
|
|
.endif
|