1# $NetBSD: Makefile.inc,v 1.5 2008/09/29 08:43:00 ad Exp $ 2 3.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \ 4 || ${LIB} == "rump") 5 6SRCS+= atomic_add.S atomic_and.S atomic_cas.S atomic_dec.S \ 7 atomic_inc.S atomic_or.S atomic_swap.S membar_ops.S 8 9.endif 10 11.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread") 12 13SRCS+= atomic_init_cas.c 14 15.endif 16