Makefile.inc revision 1.1.2.1
1# $NetBSD: Makefile.inc,v 1.1.2.1 2007/04/18 04:19:15 thorpej Exp $ 2 3.if defined(LIB) && (${LIB} == "kern") 4 5SRCS+= atomic_add.S 6SRCS+= atomic_add_8_nv_cas.c atomic_add_16_nv_cas.c atomic_add_32_nv_cas.c \ 7 atomic_add_64_nv_cas.c 8 9SRCS+= atomic_and.S 10SRCS+= atomic_and_8_nv_cas.c atomic_and_16_nv_cas.c atomic_and_32_nv_cas.c \ 11 atomic_and_64_nv_cas.c 12 13SRCS+= atomic_cas.S 14 15SRCS+= atomic_dec.S 16SRCS+= atomic_dec_8_nv_add.c atomic_dec_16_nv_add.c atomic_dec_32_nv_add.c \ 17 atomic_dec_64_nv_add.c 18 19SRCS+= atomic_inc.S 20SRCS+= atomic_inc_8_nv_add.c atomic_inc_16_nv_add.c atomic_inc_32_nv_add.c \ 21 atomic_inc_64_nv_add.c 22 23SRCS+= atomic_or.S 24SRCS+= atomic_or_8_nv_cas.c atomic_or_16_nv_cas.c atomic_or_32_nv_cas.c \ 25 atomic_or_64_nv_cas.c 26 27SRCS+= atomic_swap.S 28 29SRCS+= membar_ops.S 30 31.endif 32