From fd943454deb6ae134e5586a8f2be72da4dbcff71 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 16 Oct 1997 13:46:50 +0000 Subject: Handle machine-dependent (m-d) (string) sources more automatically. The names of m-d variants are now added (manually) to MDSRCS instead of to SRCS, and the names of all machine-independent (m-i) variants that can reasonably be replaced by an m-d variant are now added (manually) to MISRCS instead of to SRCS, so that a simple substitution can be used to discard the unused m-i variants. MISRCS is potentially all m-i sources, but the substitution is too simple to be fast, so MISRCS should be kept reasonably small. libc/Makefile.inc: Do the substitution. libc/i386/string/Makefile.inc: Add to MDSRCS instead of to SRCS. Add the names of all sources in this directory, but no others. libc/string/Makefile.inc Add to MISRCS instead of to SRCS. Add the names of all sources in this directory. Don't use (broken) explicit rules for special cases. --- lib/libc/i386/string/Makefile.inc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lib/libc/i386/string') diff --git a/lib/libc/i386/string/Makefile.inc b/lib/libc/i386/string/Makefile.inc index 870cc3b..0a3ccdb 100644 --- a/lib/libc/i386/string/Makefile.inc +++ b/lib/libc/i386/string/Makefile.inc @@ -1,8 +1,6 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 -# $Id: Makefile.inc,v 1.6 1997/02/22 14:59:02 peter Exp $ +# $Id: Makefile.inc,v 1.7 1997/04/20 12:46:11 bde Exp $ -SRCS+= bcmp.S bcopy.S bzero.S ffs.S index.S memchr.S memcmp.S \ - memmove.S memcpy.S memset.S \ - rindex.S strcat.S strchr.S strcmp.S strcpy.S strcspn.c \ - strlen.S strncat.c strncmp.S strncpy.c strpbrk.c strsep.c \ - strspn.c strrchr.S strstr.c swab.S +MDSRCS+=bcmp.S bcopy.S bzero.S ffs.S index.S memchr.S memcmp.S memcpy.S \ + memmove.S memset.S rindex.S strcat.S strchr.S strcmp.S strcpy.S \ + strlen.S strncmp.S strrchr.S swab.S -- cgit v1.1