summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1996-09-30 18:48:20 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1996-09-30 18:48:20 +0000
commit5fe6301c5a761865b75159f5af6f09739ac9a0b6 (patch)
treeffaae017654bab343f2818dd8423059e7021ea14
parent2a60d3e1c02733333cd9aecb460ec4233df230e5 (diff)
Allow the Makefile to work on strange machines like VAX :-) -moj
-rw-r--r--lib/libm/Makefile7
1 files changed, 7 insertions, 0 deletions
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 \