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