Makefile.inc revision 1.9
1# $NetBSD: Makefile.inc,v 1.9 2013/08/21 03:05:35 matt Exp $ 2 3SRCS.string+= memcmp.S memcpy.S memmove.S memset.S 4SRCS.string+= ffs.S 5SRCS.string+= bcopy.S bzero.S 6SRCS.string+= strcat.S 7SRCS.string+= strcpy.S strlcpy.S strncpy.S 8.if empty(LIBC_MACHINE_ARCH:M*v7*) 9SRCS.string+= strcmp.S strncmp.S 10SRCS.string+= strlen.S strnlen.S 11SRCS.string+= strchr.S strrchr.S 12.endif 13 14.for f in ${SRCS.string} 15CPUFLAGS.${f}+= -marm 16.for s in o po pico ln d 17${f:.S=.${s}}: ${ARCHDIR}/string/Makefile.inc 18.endfor 19.endfor 20 21.if !empty(LIBC_MACHINE_ARCH:M*v7*) 22SRCS.string+= strcmp.S strncmp.S 23SRCS.string+= strlen.S strnlen.S 24SRCS.string+= strchr.S strrchr.S 25.endif 26 27SRCS.string+= strlcat.S 28 29SRCS+= ${SRCS.string} 30