diff options
| author | dsl <dsl@NetBSD.org> | 2009-07-31 20:39:59 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2009-07-31 20:39:59 +0000 |
| commit | 10ad5ffa714ce1a679dcc9dd8159648df2d67b5a (patch) | |
| tree | 98dda80f5beaf3993e01219c9f103e548872a35a /lib/libc/stdlib | |
| parent | 288dd7d67010368b50144130ab413e31b90037dc (diff) | |
Add the 'abs', 'div' and 'erand48' sources to stdlib/Makefile.inc.
Change the arch files only include the .S files.
This adds imaxdiv() to some archs where it was missing.
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/Makefile.inc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc index d3966b10fec..2d7551db09c 100644 --- a/lib/libc/stdlib/Makefile.inc +++ b/lib/libc/stdlib/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.72 2009/07/20 17:03:37 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.73 2009/07/31 20:39:59 dsl Exp $ # from: @(#)Makefile.inc 8.3 (Berkeley) 2/4/95 # stdlib sources @@ -17,6 +17,13 @@ SRCS+= _rand48.c \ strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c \ unsetenv.c strfmon.c +# These are often replaced by MD .S versions +SRCS+= abs.c labs.c llabs.c imaxabs.c +SRCS+= div.c ldiv.c imaxdiv.c + +# This might be replaced by erand48.c +SRCS+= erand48_ieee754.c + .if (${USE_JEMALLOC} != "no") SRCS+= jemalloc.c .else @@ -28,10 +35,6 @@ CPPFLAGS.strtol.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib CPPFLAGS.strtoq.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib CPPFLAGS.strtouq.c+= -I${LIBCDIR}/../../common/lib/libc/stdlib -# machine-dependent stdlib sources -# m-d Makefile.inc must include sources for: -# abs() div() labs() ldiv() llabs() imaxabs() imaxdiv() - .include "${ARCHDIR}/stdlib/Makefile.inc" MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 atoll.3 \ |
