From 5fe6301c5a761865b75159f5af6f09739ac9a0b6 Mon Sep 17 00:00:00 2001 From: Mats O Jansson Date: Mon, 30 Sep 1996 18:48:20 +0000 Subject: Allow the Makefile to work on strange machines like VAX :-) -moj --- lib/libm/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/libm/Makefile b/lib/libm/Makefile index df4a575d7e9..4119a11e6db 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -123,6 +123,13 @@ SRCS= ${COMMON_SRCS} LSRCS+=${i:S/.S/.c/} .endfor +.if (${MACHINE_ARCH} == "vax") +.for i in ${NOIEEE_ARCH} + SRCS:=${SRCS:S/${i:S/.S/.c/}/$i/} + LSRCS+=${i:S/.S/.c/} +.endfor +.endif + 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 \ -- cgit v1.2.3