Makefile.inc revision 1.7
1# $NetBSD: Makefile.inc,v 1.7 2008/04/18 05:34:04 garbled Exp $ 2 3# disable the asm versions of these because they break the explora. 4# the special rules here are to override the suffix rules which seem 5* to prefer .S files over .c 6.if ${MACHINE} == "evbppc" 7SRCS+= bzero.S ffs.S strlen.S memcmp.c bcopy.c 8bcopy.o: bcopy.c 9bcopy.po: bcopy.c 10bcopy.so: bcopy.c 11memcpy.o: memcpy.c 12memcpy.po: memcpy.c 13memcpy.so: memcpy.c 14memcmp.o: memcmp.c 15memcmp.po: memcmp.c 16memcmp.so: memcmp.c 17memmove.o: memmove.c 18memmove.po: memmove.c 19memmove.so: memmove.c 20.else 21SRCS+= bzero.S ffs.S strlen.S memcmp.S bcopy.S memcpy.S memmove.S 22.endif 23 24SRCS+= bcmp.c index.c memchr.c \ 25 rindex.c strcat.c strcmp.c strcpy.c strcspn.c \ 26 strncat.c strncmp.c strncpy.c strpbrk.c strsep.c \ 27 strspn.c strstr.c swab.c 28