Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm Add a conditional for proper m68k softfloat operati...



details:   https://anonhg.NetBSD.org/src/rev/42dbc9bf32d2
branches:  trunk
changeset: 571209:42dbc9bf32d2
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sat Nov 13 20:29:47 2004 +0000

description:
Add a conditional for proper m68k softfloat operation.  It looks like I
forgot to commit this file back when this functionality was added.
Noted by Bruce O'Neel (the original author) in port-mac68k@.

diffstat:

 lib/libm/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r b171ab1b579e -r 42dbc9bf32d2 lib/libm/Makefile
--- a/lib/libm/Makefile Sat Nov 13 19:17:50 2004 +0000
+++ b/lib/libm/Makefile Sat Nov 13 20:29:47 2004 +0000
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.64 2004/07/10 13:49:09 junyoung Exp $
+#  $NetBSD: Makefile,v 1.65 2004/11/13 20:29:47 jmmv Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -78,12 +78,14 @@
 COPTS+=-m68040
 ARCH_SRCS = s_copysign.S s_finite.S
 .else
+.if (${MKSOFTFLOAT} != "yes")
 .PATH: ${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k
 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
+.endif
 # end of m68k
 .elif (${MACHINE_ARCH} == "vax")
 #.PATH:        ${.CURDIR}/arch/vax



Home | Main Index | Thread Index | Old Index