summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/Makefile.inc
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 23:31:49 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 23:31:49 +0000
commit11fe3ba74681b3b35fe669fe360a7772cad3754a (patch)
treef959b101ec70b7e9f47fb43ad87926b59de5fb6a /lib/libc/stdlib/Makefile.inc
parent57fc76ed93195dead94120a74b200456106bc834 (diff)
Add support for building lint(1) library
Diffstat (limited to 'lib/libc/stdlib/Makefile.inc')
-rw-r--r--lib/libc/stdlib/Makefile.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc
index 6369c58b35b..625f0f9a91b 100644
--- a/lib/libc/stdlib/Makefile.inc
+++ b/lib/libc/stdlib/Makefile.inc
@@ -1,5 +1,5 @@
# from: @(#)Makefile.inc 5.6 (Berkeley) 6/4/91
-# $Id: Makefile.inc,v 1.1 1995/10/18 08:42:16 deraadt Exp $
+# $Id: Makefile.inc,v 1.2 1996/03/25 23:31:43 tholo Exp $
# stdlib sources
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/stdlib ${.CURDIR}/stdlib
@@ -13,12 +13,16 @@ SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c bsearch.c calloc.c \
.if (${MACHINE_ARCH} == "m68k")
SRCS+= abs.S div.c labs.c ldiv.c
+LSRCS+= abs.c
.elif (${MACHINE_ARCH} == "i386")
SRCS+= abs.S div.S labs.S ldiv.S
+LSRCS+= abs.c div.c labs.c ldiv.c
.elif (${MACHINE_ARCH} == "ns32k")
SRCS+= abs.S div.c labs.c ldiv.c
+LSRCS+= abs.c
.elif (${MACHINE_ARCH} == "tahoe")
SRCS+= abs.S div.c labs.c ldiv.c
+LSRCS+= abs.c
.elif (${MACHINE_ARCH} == "vax")
SRCS+= abs.c div.c labs.c ldiv.c
.elif (${MACHINE_ARCH} == "alpha")