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 - update source lists



details:   https://anonhg.NetBSD.org/src/rev/db98e09ee98e
branches:  trunk
changeset: 838828:db98e09ee98e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Feb 01 10:39:48 2019 +0000

description:
- update source lists
- XXX: pull out OBJS-libcommon-target and OBJS-libcommon-target
  in mknative

diffstat:

 external/gpl3/gcc/usr.bin/Makefile.inc           |  10 +++++++---
 external/gpl3/gcc/usr.bin/common-target/Makefile |   4 +++-
 external/gpl3/gcc/usr.bin/common/Makefile        |   9 ++++++---
 3 files changed, 16 insertions(+), 7 deletions(-)

diffs (76 lines):

diff -r 5346d835afe0 -r db98e09ee98e external/gpl3/gcc/usr.bin/Makefile.inc
--- a/external/gpl3/gcc/usr.bin/Makefile.inc    Fri Feb 01 10:39:03 2019 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile.inc    Fri Feb 01 10:39:48 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.31 2018/02/11 02:12:28 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.32 2019/02/01 10:39:48 mrg Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -90,8 +90,12 @@
                -DPKGVERSION=$(G_PKGVERSION_s) \
                -DBUGURL=$(G_BUGURL_s)
 
-CPPFLAGS.version.c+=   ${VER_CPPFLAGS}
-version.c: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+VERFILES=      cppbuiltin.c c-cppbuiltin.c gcc.c version.c
+
+.for _f in ${VERFILES}
+CPPFLAGS.${_f} +=      ${VER_CPPFLAGS}
+${_f}: ${GCCARCH}/defs.mk ${TOP}/tools/gcc/gcc-version.mk
+.endfor
 
 .include "${GCCARCH}/defs.mk"
 
diff -r 5346d835afe0 -r db98e09ee98e external/gpl3/gcc/usr.bin/common-target/Makefile
--- a/external/gpl3/gcc/usr.bin/common-target/Makefile  Fri Feb 01 10:39:03 2019 +0000
+++ b/external/gpl3/gcc/usr.bin/common-target/Makefile  Fri Feb 01 10:39:48 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2016/10/06 02:58:32 christos Exp $
+#      $NetBSD: Makefile,v 1.6 2019/02/01 10:39:48 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -7,8 +7,10 @@
 
 LIB=           common-target
 
+# XXX pullout OBJS-libcommon-target
 SRCS=          prefix.c params.c opts.c opts-common.c options.c vec.c \
                hooks.c common-targhooks.c hash-table.c file-find.c \
+               spellcheck.c selftest.c \
                ${G_common_out_file:T}
 
 CPPFLAGS+=     -I${GCCARCH} -I${BACKENDOBJ} -I. \
diff -r 5346d835afe0 -r db98e09ee98e external/gpl3/gcc/usr.bin/common/Makefile
--- a/external/gpl3/gcc/usr.bin/common/Makefile Fri Feb 01 10:39:03 2019 +0000
+++ b/external/gpl3/gcc/usr.bin/common/Makefile Fri Feb 01 10:39:48 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2018/02/04 10:16:07 mrg Exp $
+#      $NetBSD: Makefile,v 1.7 2019/02/01 10:39:48 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -7,17 +7,20 @@
 
 LIB=           common
 
+# XXX pullout OBJS-libcommon-target
 SRCS=          diagnostic.c \
                diagnostic-color.c \
                diagnostic-show-locus.o \
+               edit-context.o \
                pretty-print.c \
+               intl.c \
                vec.c \
-               intl.c \
                input.c \
                version.c \
                hash-table.c \
                ggc-none.c \
-               memory-block.cc
+               memory-block.cc \
+               selftest.cc
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=     -I${GCCARCH} -I${BACKENDOBJ} -I. \



Home | Main Index | Thread Index | Old Index