A foolish consistency... gen, net, and string all get MD sources

specified by including a Makefile.inc from the appropriate MD directory.
stdlib doesn't do that, but there's no reason that it shouldn't (and
it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
This commit is contained in:
cgd 1997-11-05 22:59:37 +00:00
parent 99df3ac6f2
commit 4d7e773266
10 changed files with 33 additions and 15 deletions

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 22:59:37 cgd Exp $
SRCS+= abs.c div.c labs.c ldiv.c

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 22:59:45 cgd Exp $
SRCS+= abs.c div.c labs.c ldiv.c

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 22:59:50 cgd Exp $
SRCS+= abs.S div.S labs.S ldiv.S

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 22:59:54 cgd Exp $
SRCS+= abs.S div.c labs.c ldiv.c

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 22:59:58 cgd Exp $
SRCS+= abs.c div.c labs.c ldiv.c

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 23:00:04 cgd Exp $
SRCS+= abs.S div.c labs.c ldiv.c

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 23:00:09 cgd Exp $
SRCS+= abs.c div.c labs.c ldiv.c

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 23:00:15 cgd Exp $
SRCS+= abs.c div.c labs.c ldiv.c

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/05 23:00:24 cgd Exp $
SRCS+= abs.c div.c labs.c ldiv.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.33 1997/07/15 00:42:29 kleink Exp $
# $NetBSD: Makefile.inc,v 1.34 1997/11/05 23:00:30 cgd Exp $
# from: @(#)Makefile.inc 5.6 (Berkeley) 6/4/91
# stdlib sources
@ -13,20 +13,11 @@ SRCS+= _strtoq.c _strtouq.c a64l.c abort.c atexit.c atoi.c atof.c atol.c \
system.c _rand48.c drand48.c erand48.c jrand48.c lcong48.c lrand48.c \
mrand48.c nrand48.c seed48.c srand48.c qabs.c qdiv.c
.if (${MACHINE_ARCH} == "m68k")
SRCS+= abs.S div.c labs.c ldiv.c
.elif (${MACHINE_ARCH} == "i386")
SRCS+= abs.S div.S labs.S ldiv.S
.elif (${MACHINE_ARCH} == "ns32k")
SRCS+= abs.S div.c labs.c ldiv.c
.elif (${MACHINE_ARCH} == "vax")
SRCS+= abs.c div.c labs.c ldiv.c
.elif (${MACHINE_ARCH} == "alpha")
# XXX should be .S's
SRCS+= abs.c div.c labs.c ldiv.c
.else
SRCS+= abs.c div.c labs.c ldiv.c
.endif
# machine-dependent stdlib sources
# m-d Makefile.inc must include sources for:
# abs() div() labs() ldiv()
.include "${.CURDIR}/arch/${MACHINE_ARCH}/stdlib/Makefile.inc"
MAN+= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
calloc.3 div.3 exit.3 free.3 getenv.3 getopt.3 labs.3 ldiv.3 \