Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/powerpc/gen Don't compile fp*.c if doing a sof...
details: https://anonhg.NetBSD.org/src/rev/aac4aa62b342
branches: trunk
changeset: 555554:aac4aa62b342
user: scw <scw%NetBSD.org@localhost>
date: Fri Nov 21 11:39:46 2003 +0000
description:
Don't compile fp*.c if doing a soft-float build.
diffstat:
lib/libc/arch/powerpc/gen/Makefile.inc | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3d05052ce2cd -r aac4aa62b342 lib/libc/arch/powerpc/gen/Makefile.inc
--- a/lib/libc/arch/powerpc/gen/Makefile.inc Fri Nov 21 09:29:11 2003 +0000
+++ b/lib/libc/arch/powerpc/gen/Makefile.inc Fri Nov 21 11:39:46 2003 +0000
@@ -1,10 +1,8 @@
-# $NetBSD: Makefile.inc,v 1.15 2003/10/25 22:31:20 kleink Exp $
+# $NetBSD: Makefile.inc,v 1.16 2003/11/21 11:39:46 scw Exp $
SRCS+= _setjmp.S setjmp.S sigsetjmp.S __setjmp14.S __sigsetjmp14.S
SRCS+= bswap16.c bswap32.c bswap64.c
SRCS+= fabs.c flt_rounds.c
-SRCS+= fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c
-SRCS+= fpgetsticky.c fpsetsticky.c
SRCS+= syncicache.c
SRCS+= _lwp.c makecontext.c resumecontext.c swapcontext.S
@@ -14,6 +12,11 @@
SRCS+= frexp_ieee754.c isinf_ieee754.c isinfl_dbl_ieee754.c isnan_ieee754.c
SRCS+= isnanl_dbl_ieee754.c ldexp_ieee754.c modf_ieee754.c
+.if (${MKSOFTFLOAT} != "no")
+SRCS+= fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c
+SRCS+= fpgetsticky.c fpsetsticky.c
+.endif
+
SRCS.powerpc.gen=Lint_swapcontext.c
LSRCS+= ${SRCS.powerpc.gen}
DPSRCS+= ${SRCS.powerpc.gen}
Home |
Main Index |
Thread Index |
Old Index