11.6Spooka#	$NetBSD: Makefile.inc,v 1.6 2009/01/04 17:54:29 pooka Exp $
21.4Sad
31.6Spooka.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
41.6Spooka	|| ${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.4Sad.endif
101.4Sad
111.5Sad.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
121.3Sad
131.3SadSRCS+=	atomic_init_cas.c
141.3Sad
151.2Sad.endif
16