diff options
author | bde <bde@FreeBSD.org> | 1997-10-16 13:46:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-10-16 13:46:50 +0000 |
commit | fd943454deb6ae134e5586a8f2be72da4dbcff71 (patch) | |
tree | dfb01b790d2ac8956d87a02e706e1cbb405d8b6b /lib/libc/i386/string | |
parent | 892dc3af7f13eb32842f75312cfed61179246caf (diff) | |
download | FreeBSD-src-fd943454deb6ae134e5586a8f2be72da4dbcff71.zip FreeBSD-src-fd943454deb6ae134e5586a8f2be72da4dbcff71.tar.gz |
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.
Diffstat (limited to 'lib/libc/i386/string')
-rw-r--r-- | lib/libc/i386/string/Makefile.inc | 10 |
1 files changed, 4 insertions, 6 deletions
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 |