1 1.18.2.1 rmind # $NetBSD: Makefile.inc,v 1.18.2.1 2013/08/28 23:59:35 rmind 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.17 matt SRCS+= divsi3.S udivsi3.S divide.S clzsi2.S 6 1.14 matt SRCS+= memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S 7 1.18 matt SRCS+= modsi3.S umodsi3.S 8 1.10 matt 9 1.16 matt .if !empty(MACHINE_ARCH:Mearm*) 10 1.10 matt SRCS+= __aeabi_ldivmod.S __aeabi_uldivmod.S __aeabi_lcmp.c __aeabi_ulcmp.c 11 1.18.2.1 rmind SRCS+= unwind_stub.c 12 1.18.2.1 rmind .endif 13 1.18.2.1 rmind .if empty(MACHINE_ARCH:Mearmv7*) 14 1.18.2.1 rmind CPUFLAGS.ffs.S+= -marm 15 1.18.2.1 rmind .endif 16 1.18.2.1 rmind CPUFLAGS.divide.S+= -marm 17 1.18.2.1 rmind CPUFLAGS.memcmp.S+= -marm 18 1.18.2.1 rmind CPUFLAGS.memcpy.S+= -marm 19 1.18.2.1 rmind CPUFLAGS.memmove.S+= -marm 20 1.18.2.1 rmind CPUFLAGS.memset.S+= -marm 21 1.18.2.1 rmind .if empty(CPPFLAGS:M-D_STANDALONE) 22 1.18.2.1 rmind CPUFLAGS.strcpy.S+= -marm 23 1.18.2.1 rmind CPUFLAGS.strlcpy.S+= -marm 24 1.18.2.1 rmind CPUFLAGS.strncpy.S+= -marm 25 1.10 matt .endif 26