Source-Changes-HG archive

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

[src/trunk]: src/lib/libc Assign quad / softfloat specific ${SRCS} to ${SRCS....



details:   https://anonhg.NetBSD.org/src/rev/ed8fa11dad34
branches:  trunk
changeset: 749696:ed8fa11dad34
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Dec 06 05:34:42 2009 +0000

description:
Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat}
then append them to ${SRCS}.  Those will be used to generate quad / softfloat
symbol lists.

diffstat:

 lib/libc/quad/Makefile.inc      |  14 ++++++++------
 lib/libc/softfloat/Makefile.inc |  10 ++++++----
 2 files changed, 14 insertions(+), 10 deletions(-)

diffs (59 lines):

diff -r adc3701f46cb -r ed8fa11dad34 lib/libc/quad/Makefile.inc
--- a/lib/libc/quad/Makefile.inc        Sun Dec 06 02:42:34 2009 +0000
+++ b/lib/libc/quad/Makefile.inc        Sun Dec 06 05:34:42 2009 +0000
@@ -1,21 +1,23 @@
-#      $NetBSD: Makefile.inc,v 1.10 2001/05/18 15:23:44 fredette Exp $
+#      $NetBSD: Makefile.inc,v 1.11 2009/12/06 05:34:42 uebayasi Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 6/4/93
 
 # Quad support
-SRCS+= cmpdi2.c divdi3.c fixdfdi.c fixsfdi.c fixunsdfdi.c \
+SRCS.quad=     cmpdi2.c divdi3.c fixdfdi.c fixsfdi.c fixunsdfdi.c \
        fixunssfdi.c floatdidf.c floatdisf.c floatunsdidf.c \
        moddi3.c muldi3.c negdi2.c qdivrem.c \
        ucmpdi2.c udivdi3.c umoddi3.c 
 
 .if   (${MACHINE_ARCH} == "m68k")
-SRCS+= ashldi3.S ashrdi3.S lshrdi3.S
+SRCS.quad+=    ashldi3.S ashrdi3.S lshrdi3.S
 .elif (${MACHINE_ARCH} == "m68000")
-SRCS+= ashldi3.S lshrdi3.S
+SRCS.quad+=    ashldi3.S lshrdi3.S
 .else
-SRCS+= ashldi3.c ashrdi3.c lshrdi3.c
+SRCS.quad+=    ashldi3.c ashrdi3.c lshrdi3.c
 .endif
 
 # XXX as far as I can tell, these are never used and can be removed
-SRCS+= adddi3.c anddi3.c iordi3.c notdi2.c subdi3.c xordi3.c
+SRCS.quad+=    adddi3.c anddi3.c iordi3.c notdi2.c subdi3.c xordi3.c
+
+SRCS+= ${SRCS.quad}
 
 .PATH: ${ARCHDIR}/quad ${.CURDIR}/quad
diff -r adc3701f46cb -r ed8fa11dad34 lib/libc/softfloat/Makefile.inc
--- a/lib/libc/softfloat/Makefile.inc   Sun Dec 06 02:42:34 2009 +0000
+++ b/lib/libc/softfloat/Makefile.inc   Sun Dec 06 05:34:42 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.4 2004/09/26 21:13:27 jmmv Exp $
+#      $NetBSD: Makefile.inc,v 1.5 2009/12/06 05:34:42 uebayasi Exp $
 
 SOFTFLOAT_BITS?=64
 .PATH:         ${ARCHDIR}/softfloat \
@@ -7,11 +7,13 @@
 CPPFLAGS+=     -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat
 CPPFLAGS+=     -DSOFTFLOAT_FOR_GCC
 
-SRCS+=         softfloat.c
+SRCS.softfloat= softfloat.c
 
-SRCS+=         fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \
+SRCS.softfloat+=fpsetround.c fpgetmask.c fpsetmask.c \
                fpgetsticky.c fpsetsticky.c
 
-SRCS+=         eqsf2.c nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \
+SRCS.softfloat+=nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \
                eqdf2.c nedf2.c gtdf2.c gedf2.c ltdf2.c ledf2.c negdf2.c \
                nexf2.c gtxf2.c gexf2.c negxf2.c unordsf2.c unorddf2.c
+
+SRCS+=         ${SRCS.softfloat}



Home | Main Index | Thread Index | Old Index