add new sources in GCC 5.3.diff -r1.3 -r1.4 src/external/gpl3/gcc/usr.bin/common/Makefile
(mrg)
--- src/external/gpl3/gcc/usr.bin/common/Makefile 2014/05/31 22:55:17 1.3
+++ src/external/gpl3/gcc/usr.bin/common/Makefile 2016/03/15 19:13:22 1.4
@@ -1,23 +1,29 @@ | @@ -1,23 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2014/05/31 22:55:17 mrg Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2016/03/15 19:13:22 mrg Exp $ | |
2 | 2 | |||
3 | LIBISPRIVATE= yes | 3 | LIBISPRIVATE= yes | |
4 | 4 | |||
5 | # For ../Makefile.inc and bsd.own.mk | 5 | # For ../Makefile.inc and bsd.own.mk | |
6 | .include <bsd.init.mk> | 6 | .include <bsd.init.mk> | |
7 | 7 | |||
8 | LIB= common | 8 | LIB= common | |
9 | 9 | |||
10 | SRCS= diagnostic.c pretty-print.c intl.c input.c version.c | 10 | SRCS= diagnostic.c \ | |
11 | diagnostic-color.c \ | |||
12 | pretty-print.c \ | |||
13 | intl.c \ | |||
14 | vec.c \ | |||
15 | input.c \ | |||
16 | version.c | |||
11 | 17 | |||
12 | # XXX make sure this doesn't have more than it needs | 18 | # XXX make sure this doesn't have more than it needs | |
13 | CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \ | 19 | CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \ | |
14 | ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \ | 20 | ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \ | |
15 | -DPREFIX=\"/usr\" \ | 21 | -DPREFIX=\"/usr\" \ | |
16 | -DDEFAULT_TARGET_VERSION=\"${G_version}\" \ | 22 | -DDEFAULT_TARGET_VERSION=\"${G_version}\" \ | |
17 | -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \ | 23 | -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \ | |
18 | -DCONFIGURE_SPECS="\"\"" | 24 | -DCONFIGURE_SPECS="\"\"" | |
19 | 25 | |||
20 | MKPIC:= no | 26 | MKPIC:= no | |
21 | MKPICLIB:= no | 27 | MKPICLIB:= no | |
22 | 28 | |||
23 | HOSTPROG_CXX= 1 | 29 | HOSTPROG_CXX= 1 |
--- src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile 2015/01/07 02:02:44 1.1
+++ src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile 2016/03/15 19:13:22 1.2
@@ -1,23 +1,23 @@ | @@ -1,23 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2016/03/15 19:13:22 mrg Exp $ | |
2 | 2 | |||
3 | NOMAN=1 | 3 | NOMAN=1 | |
4 | PROG= lto-wrapper | 4 | PROG= lto-wrapper | |
5 | SRCS= lto-wrapper.c | 5 | SRCS= lto-wrapper.c \ | |
6 | collect-utils.c | |||
6 | CPPFLAGS+= -DPREFIX=\"/usr\" | 7 | CPPFLAGS+= -DPREFIX=\"/usr\" | |
7 | 8 | |||
8 | .include "../Makefile.backend" | 9 | .include "../Makefile.backend" | |
9 | .include "../Makefile.backtrace" | 10 | .include "../Makefile.backtrace" | |
10 | .include "../Makefile.common-target" | 11 | .include "../Makefile.common-target" | |
11 | .include "../Makefile.libcpp" | 12 | .include "../Makefile.libcpp" | |
12 | 13 | |||
13 | DPADD+= ${LIBIBERTYOBJ}/libiberty.a | 14 | DPADD+= ${LIBIBERTYOBJ}/libiberty.a | |
14 | LDADD+= ${LIBIBERTYOBJ}/libiberty.a | 15 | LDADD+= ${LIBIBERTYOBJ}/libiberty.a | |
15 | 16 | |||
16 | ||||
17 | # VER_CPPFLAGS from Makefile.inc | 17 | # VER_CPPFLAGS from Makefile.inc | |
18 | 18 | |||
19 | LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm | 19 | LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm | |
20 | DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM} | 20 | DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM} | |
21 | 21 | |||
22 | .PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config | 22 | .PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config | |
23 | .PATH: ${G_out_file:H} | 23 | .PATH: ${G_out_file:H} |
--- src/external/gpl3/gcc/usr.bin/lto1/Makefile 2015/01/14 20:26:41 1.2
+++ src/external/gpl3/gcc/usr.bin/lto1/Makefile 2016/03/15 19:13:22 1.3
@@ -1,17 +1,23 @@ | @@ -1,17 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2015/01/14 20:26:41 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2016/03/15 19:13:22 mrg Exp $ | |
2 | 2 | |||
3 | PROG= lto1 | 3 | PROG= lto1 | |
4 | SRCS= lto-partition.c lto-object.c lto.c lto-lang.c attribs.c main.c | 4 | SRCS= lto-partition.c \ | |
5 | lto-object.c \ | |||
6 | lto.c \ | |||
7 | lto-lang.c \ | |||
8 | lto-symtab.c \ | |||
9 | attribs.c \ | |||
10 | main.c | |||
5 | 11 | |||
6 | CPPFLAGS+= -DPREFIX=\"/usr\" | 12 | CPPFLAGS+= -DPREFIX=\"/usr\" | |
7 | 13 | |||
8 | COPTS.lto.c+= -Wno-stack-protector | 14 | COPTS.lto.c+= -Wno-stack-protector | |
9 | COPTS.lto-lang.c+= -Wno-stack-protector | 15 | COPTS.lto-lang.c+= -Wno-stack-protector | |
10 | 16 | |||
11 | .include "../Makefile.backend" | 17 | .include "../Makefile.backend" | |
12 | .include "../Makefile.backtrace" | 18 | .include "../Makefile.backtrace" | |
13 | .include "../Makefile.common" | 19 | .include "../Makefile.common" | |
14 | .include "../Makefile.common-target" | 20 | .include "../Makefile.common-target" | |
15 | .include "../Makefile.libcpp" | 21 | .include "../Makefile.libcpp" | |
16 | .include "../Makefile.libdecnumber" | 22 | .include "../Makefile.libdecnumber" | |
17 | .include "../Makefile.libiberty" | 23 | .include "../Makefile.libiberty" |