1 1.21 joerg # $NetBSD: Makefile.inc,v 1.21 2014/01/29 23:37:18 joerg Exp $ 2 1.1 bjh21 3 1.8 dsl SRCS+= byte_swap_2.S byte_swap_4.S 4 1.8 dsl SRCS+= ffs.S 5 1.14 matt SRCS+= memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S 6 1.10 matt 7 1.16 matt .if !empty(MACHINE_ARCH:Mearm*) 8 1.19 matt SRCS+= unwind_stub.c 9 1.20 matt .endif 10 1.20 matt .if empty(MACHINE_ARCH:Mearmv7*) 11 1.20 matt CPUFLAGS.ffs.S+= -marm 12 1.20 matt .endif 13 1.20 matt CPUFLAGS.divide.S+= -marm 14 1.20 matt CPUFLAGS.memcmp.S+= -marm 15 1.20 matt CPUFLAGS.memcpy.S+= -marm 16 1.20 matt CPUFLAGS.memmove.S+= -marm 17 1.20 matt CPUFLAGS.memset.S+= -marm 18 1.20 matt .if empty(CPPFLAGS:M-D_STANDALONE) 19 1.20 matt CPUFLAGS.strcpy.S+= -marm 20 1.20 matt CPUFLAGS.strlcpy.S+= -marm 21 1.20 matt CPUFLAGS.strncpy.S+= -marm 22 1.10 matt .endif 23