From owner-cvs-lib Thu Oct 16 06:48:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA29635 for cvs-lib-outgoing; Thu, 16 Oct 1997 06:48:16 -0700 (PDT) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA29611; Thu, 16 Oct 1997 06:48:01 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA23377; Thu, 16 Oct 1997 06:46:50 -0700 (PDT) Date: Thu, 16 Oct 1997 06:46:50 -0700 (PDT) Message-Id: <199710161346.GAA23377@freefall.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 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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