Source-Changes-HG archive

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

[src/trunk]: src/gnu/lib/libgcc4 Minor clean-up for the coming changes.



details:   https://anonhg.NetBSD.org/src/rev/3ef30bd8f1ec
branches:  trunk
changeset: 749468:3ef30bd8f1ec
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Mon Nov 30 11:55:12 2009 +0000

description:
Minor clean-up for the coming changes.

diffstat:

 gnu/lib/libgcc4/Makefile.inc |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 22cfa37e3c03 -r 3ef30bd8f1ec gnu/lib/libgcc4/Makefile.inc
--- a/gnu/lib/libgcc4/Makefile.inc      Mon Nov 30 11:47:06 2009 +0000
+++ b/gnu/lib/libgcc4/Makefile.inc      Mon Nov 30 11:55:12 2009 +0000
@@ -1,8 +1,10 @@
-#      $NetBSD: Makefile.inc,v 1.14 2009/10/01 20:07:09 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.15 2009/11/30 11:55:12 uebayasi Exp $
 
-.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk) && ${MKGCC} != "no"
+.if ${MKGCC} != "no"
+.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
 .include "${.CURDIR}/../arch/${MACHINE_ARCH}.mk"
 .endif
+.endif
 
 DIST=          ${NETBSDSRCDIR}/gnu/dist/gcc4
 GNUHOSTDIST=   ${DIST}
@@ -45,9 +47,8 @@
 LIB1ASMFUNCS=  ${G_LIB1ASMFUNCS:=.S}
 .endif
 
-DPSRCS+=       ${.CURDIR}/../arch/${MACHINE_ARCH}.mk tconfig.h
-CLEANFILES+=   ${LIB2FUNCS} ${LIB2FUNCS_ST} ${LIB2DIVMOD} cs-tconfig.h \
-               tconfig.h
+DPSRCS+=       ${.CURDIR}/../arch/${MACHINE_ARCH}.mk
+CLEANFILES+=   ${LIB2FUNCS} ${LIB2FUNCS_ST} ${LIB2DIVMOD} cs-tconfig.h
 .if !empty(G_LIB1ASMFUNCS)
 CLEANFILES+=   ${LIB1ASMFUNCS}
 .endif
@@ -119,6 +120,8 @@
        TARGET_CPU_DEFAULT="" \
        HEADERS="$(G_xm_include_list)" DEFINES="USED_FOR_TARGET $(G_xm_defines)" \
        ${HOST_SH} $(GNUHOSTDIST)/gcc/mkconfig.sh tconfig.h
+DPSRCS+=       tconfig.h
+CLEANFILES+=   tconfig.h
 
 BUILDSYMLINKS+=        ${G_UNWIND_H} unwind.h
 DPSRCS+=       unwind.h



Home | Main Index | Thread Index | Old Index