Date: Thu, 16 Oct 1997 06:46:50 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc Makefile.inc src/lib/libc/i386/string Makefile.inc src/lib/libc/string Makefile.inc Message-ID: <199710161346.GAA23377@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1997/10/16 06:46:50 PDT
Modified files:
lib/libc Makefile.inc
lib/libc/i386/string Makefile.inc
lib/libc/string Makefile.inc
Log:
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.
Revision Changes Path
1.3 +12 -1 src/lib/libc/Makefile.inc
1.8 +4 -6 src/lib/libc/i386/string/Makefile.inc
1.12 +7 -73 src/lib/libc/string/Makefile.inc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710161346.GAA23377>
