Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/usr.bin/backend begin to fix this for GCC ...
details: https://anonhg.NetBSD.org/src/rev/3518552f0887
branches: trunk
changeset: 766568:3518552f0887
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jun 28 04:23:01 2011 +0000
description:
begin to fix this for GCC 4.5. gengtype-yacc is gone, and -parse is its
replacement. build the list of files from $G_GTFILES like GCC build dones.
diffstat:
external/gpl3/gcc/usr.bin/backend/Makefile | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 82d8bf21c44a -r 3518552f0887 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile Tue Jun 28 04:22:17 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile Tue Jun 28 04:23:01 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/06/24 05:26:06 mrg Exp $
+# $NetBSD: Makefile,v 1.3 2011/06/28 04:23:01 mrg Exp $
LIBISPRIVATE= yes
@@ -43,7 +43,7 @@
# These files have special needs
#
.for f in \
- build-errors build-ggc-none build-print-rtl build-rtl build-varray dummy-conditions gcov-iov genattr genattrtab genautomata gencheck genchecksum gencodes genconditions genconfig genconstants
genemit genextract genflags gengenrtl gengtype gengtype-lex gengtype-yacc genmddeps genmodes genopinit genoutput genpeep genpreds genrecog gensupport insn-conditions min-insn-modes read-rtl
+ build-errors build-ggc-none build-print-rtl build-rtl build-varray dummy-conditions gcov-iov genattr genattrtab genautomata gencheck genchecksum gencodes genconditions genconfig genconstants
genemit genextract genflags gengenrtl gengtype gengtype-lex genmddeps genmodes genopinit genoutput genpeep genpreds genrecog gensupport insn-conditions min-insn-modes read-rtl
CPPFLAGS.${f}.c= -DGENERATOR_FILE
.endfor
@@ -88,15 +88,19 @@
${_MKTARGET_LINK}
${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
+gtyp-input.list: Makefile
+ for f in ${G_GTFILES}; do echo $f; done > ${.TARGET}
+CLEANFILES+= gtyp-input.list
+
gtype-desc.c: gtype-desc.h
gtype-desc.h: gengtype
${_MKTARGET_CREATE}
rm -f auto-host.h
ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/auto-host.h .
- ./gengtype
+ ./gengtype ${DIST} gtyp-input.list
# gengtype is the real need for options.h
-gengtype.lo gengtype-lex.lo gengtype-yacc.lo: ${HH} gtyp-gen.h config.h options.h
-gengtype: gengtype.lo gengtype-lex.lo gengtype-yacc.lo build-errors.lo
+gengtype.lo gengtype-lex.lo gengtype-parse.lo: ${HH} gtyp-gen.h config.h options.h
+gengtype: gengtype.lo gengtype-lex.lo gengtype-parse.lo build-errors.lo gtyp-input.list
${_MKTARGET_LINK}
${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY}
Home |
Main Index |
Thread Index |
Old Index