
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
29 lines
641 B
Makefile
29 lines
641 B
Makefile
# $NetBSD: Makefile.inc,v 1.1 2014/09/03 19:34:25 matt Exp $
|
|
|
|
.for op in add and cas nand or swap xor
|
|
.for sz in 32
|
|
SRCS.atomic+= atomic_${op}_${sz}.S
|
|
.endfor
|
|
.for sz in 8 16
|
|
SRCS.atomic+= atomic_${op}_${sz}_cas.c
|
|
.endfor
|
|
.endfor
|
|
SRCS.atomic+= atomic_dec_32.S atomic_inc_32.S
|
|
SRCS.atomic+= membar_ops.S
|
|
SRCS.atomic+= atomic_cas_by_cas32.c
|
|
.if defined(LIB) && ${LIB} != "kern"
|
|
SRCS.atomic+= sync_bool_compare_and_swap_4.S
|
|
.endif
|
|
|
|
#.if defined(LIB) && (${LIB} != "kern")
|
|
#SRCS.atomic+= atomic_simplelock.c
|
|
#.endif
|
|
|
|
.if defined(LIB) && (${LIB} != "kern" && ${LIB} != "rump")
|
|
|
|
SRCS.atomic+= atomic_init_cas.c
|
|
|
|
.endif #LIB
|
|
|
|
SRCS+= ${SRCS.atomic}
|