Somewhat better support for building lint library
authortholo <tholo@openbsd.org>
Mon, 25 Mar 1996 07:13:00 +0000 (07:13 +0000)
committertholo <tholo@openbsd.org>
Mon, 25 Mar 1996 07:13:00 +0000 (07:13 +0000)
lib/libm/Makefile

index 2dc4797..df4a575 100644 (file)
@@ -120,9 +120,9 @@ SRCS=       ${COMMON_SRCS}
 # Substitute common sources with any arch specific sources 
 .for i in ${ARCH_SRCS}
     SRCS:=${SRCS:S/${i:S/.S/.c/}/$i/}
+    LSRCS+=${i:S/.S/.c/}
 .endfor
 
-
 MAN+=  acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \
        cos.3 cosh.3 erf.3 exp.3 fabs.3 floor.3 fmod.3 hypot.3 ieee.3 \
        ieee_test.3 j0.3 lgamma.3 math.3 rint.3 sin.3 sinh.3 sqrt.3 \