From d1bc3e7989dac636cb0d935dd11ab98278452972 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 16 Oct 1997 14:58:30 +0000 Subject: Handle machine-dependent (stdlib) sources more automatically. This fixes bugs in the manual handling. abs.[cS] was handled too specially and the wrong (.c) variant for each of div.[cS], labs.[cS] and ldiv.[cS] was added to SRCS. This caused the .c variant to be used if `depend' was made and the .S version to be used otherwise. --- lib/libc/i386/stdlib/Makefile.inc | 4 ++-- lib/libc/stdlib/Makefile.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/libc/i386/stdlib/Makefile.inc b/lib/libc/i386/stdlib/Makefile.inc index 65ce348..16a9039 100644 --- a/lib/libc/i386/stdlib/Makefile.inc +++ b/lib/libc/i386/stdlib/Makefile.inc @@ -1,4 +1,4 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 -# $Id$ +# $Id: Makefile.inc,v 1.5 1997/02/22 14:58:55 peter Exp $ -SRCS+= abs.S +MDSRCS+=abs.S div.S labs.S ldiv.S diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc index 120ea21..23af25e 100644 --- a/lib/libc/stdlib/Makefile.inc +++ b/lib/libc/stdlib/Makefile.inc @@ -1,10 +1,10 @@ # from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95 -# $Id: Makefile.inc,v 1.10 1997/07/01 18:39:31 phk Exp $ +# $Id: Makefile.inc,v 1.11 1997/10/15 16:16:13 bde Exp $ # machine-independent stdlib sources .PATH: ${.CURDIR}/../libc/${MACHINE}/stdlib ${.CURDIR}/../libc/stdlib -SRCS+= abort.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c \ +MISRCS+=abort.c abs.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c \ exit.c getenv.c getopt.c getsubopt.c strhash.c heapsort.c labs.c \ ldiv.c malloc.c merge.c putenv.c qsort.c radixsort.c rand.c random.c \ realpath.c setenv.c strtod.c strtol.c strtoq.c strtoul.c \ -- cgit v1.1