summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-02-20 07:44:29 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-02-20 07:44:29 +0000
commit05b706676ba42268b7d0924994a1132c0dce6f24 (patch)
tree2b1c82b6e30b40f9d4b1fcfa6a6659aa631dbf15
parent554ce328973cfbbbe45b9bf3977c99a1c8df1961 (diff)
Notes
-rw-r--r--lib/msun/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index 81576f7247fef..a0ca7405fbd74 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 5.1beta 93/09/24
-# $Id: Makefile,v 1.18 1997/02/22 15:08:42 peter Exp $
+# $Id: Makefile,v 1.19 1997/04/15 14:05:28 bde Exp $
#
# ====================================================
# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -41,12 +41,27 @@
# default standard
#
+.if ${MACHINE_ARCH} == "alpha"
+.PATH: ${.CURDIR)/alpha
+ARCH= alpha
+ARCH_SRCS = s_copysign.S s_copysignf.S
+# XXX Comment from NetBSD/Alpha:
+# XXX LINT SIGFPEs in e_exp.c's strtod(). FP underflow/denorm software
+# handling is broken (doesn't exist!) on the Alpha port.
+.elif ${MACHINE_ARCH} == "i386"
ARCH= i387
ARCH_PREFIX= ${ARCH}_
ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \
e_remainder.S e_scalb.S e_sqrt.S s_atan.S s_ceil.S s_copysign.S \
s_cos.S s_finite.S s_floor.S s_ilogb.S s_logb.S \
s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S
+.elif ${MACHINE_ARCH} == "m68k"
+.PATH: ${.CURDIR}/mc68881
+ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \
+ e_log10.S e_remainder.S e_scalb.S e_sinh.S e_sqrt.S s_atan.S \
+ s_ceil.S s_copysign.S s_cos.S s_expm1.S s_finite.S s_floor.S \
+ s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S
+.endif
# Broken
# ARCH_SRCS+= s_log1p.S