summaryrefslogtreecommitdiff
path: root/common/lib/libc/arch/x86_64/atomic/Makefile.inc
blob: a590a2a8a47aefcd0fafb0709434fa46ae89eb49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#	$NetBSD: Makefile.inc,v 1.6 2009/01/04 17:54:29 pooka Exp $

.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
	|| ${LIB} == "rump")

SRCS+=	atomic.S

.endif

.if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")

SRCS+=	atomic_init_cas.c

.endif