1 1.1 matt # $NetBSD: Makefile.inc,v 1.1 2014/09/03 19:34:26 matt Exp $ 2 1.1 matt 3 1.1 matt SRCS+= bzero.S clz.S ctz.S ffs.S strlen.S memset.S 4 1.1 matt 5 1.1 matt memcpy.o: memcpy.c 6 1.1 matt memcpy.po: memcpy.c 7 1.1 matt memcpy.pico: memcpy.c 8 1.1 matt 9 1.1 matt # disable the asm versions of these because they break the explora. 10 1.1 matt # the special rules here are to override the suffix rules which seem 11 1.1 matt # to prefer .S files over .c 12 1.1 matt .if ${MACHINE} == "evbppc" 13 1.1 matt bcopy.o: bcopy.c 14 1.1 matt bcopy.po: bcopy.c 15 1.1 matt bcopy.pico: bcopy.c 16 1.1 matt memcmp.o: memcmp.c 17 1.1 matt memcmp.po: memcmp.c 18 1.1 matt memcmp.pico: memcmp.c 19 1.1 matt memmove.o: memmove.c 20 1.1 matt memmove.po: memmove.c 21 1.1 matt memmove.pico: memmove.c 22 1.1 matt .else 23 1.1 matt SRCS+= memcmp.S bcopy.S memmove.S 24 1.1 matt .endif 25