11.5Spooka#	$NetBSD: Makefile.inc,v 1.5 2009/01/04 17:54:29 pooka Exp $
21.2Sad
31.5Spooka.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
41.5Spooka	|| ${LIB} == "rump")
51.2Sad
61.2SadSRCS+=	atomic_add.S atomic_and.S atomic_cas.S atomic_dec.S \
71.2Sad	atomic_inc.S atomic_or.S atomic_swap.S membar_ops.S
81.2Sad
91.2Sad.endif
101.3Sad
111.4Sad.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
121.3Sad
131.3SadSRCS+=	atomic_init_cas.c
141.3Sad
151.3Sad.endif
16