catch up with GCC_SUBDIR changes for new-to-gcc 4.8 directories.

This commit is contained in:
mrg 2014-06-01 20:24:45 +00:00
parent 5beaf704be
commit 2c6fc41c81
5 changed files with 26 additions and 22 deletions

View File

@ -1,14 +1,14 @@
# $NetBSD
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
GNUHOSTDIST= ${DIST}
LIBISPRIVATE= yes
.include <bsd.own.mk>
.include <bsd.init.mk>
LIB= backtrace
DIST= ${GCCDIST}
GNUHOSTDIST= ${DIST}
SRCS= dwarf.c elf.c fileline.c mmap.c mmapio.c nounwind.c \
posix.c print.c state.c

View File

@ -1,19 +1,21 @@
# $NetBSD: Makefile,v 1.1 2014/03/01 10:00:42 mrg Exp $
# $NetBSD: Makefile,v 1.2 2014/06/01 20:24:45 mrg Exp $
.include <bsd.own.mk>
.include <bsd.init.mk>
.include <bsd.shlib.mk>
NOLINT= # defined
LIB= liblto_plugin
DIST= ${GCCDIST}
GNUHOSTDIST= ${DIST}
SRCS= lto-plugin.c
CPPFLAGS+= -DHAVE_CONFIG_H -I${DIST}/include -I.
LIBISMODULE= 1
USE_SHLIBDIR= yes
REQUIRETOOLS= yes
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
GNUHOSTDIST= ${DIST}
LIB= liblto_plugin
SRCS= lto-plugin.c
.PATH: ${DIST}/lto-plugin
CPPFLAGS+= -DHAVE_CONFIG_H -I${DIST}/include -I.
NOLINT= # defined
# make this /usr/lib/gcc?
LIBDIR= /usr/libexec
@ -45,6 +47,8 @@ config.h: Makefile
.include <bsd.lib.mk>
.PATH: ${DIST}/lto-plugin
.else
.include <bsd.prog.mk> # do nothing
.endif

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1 2014/03/01 10:00:48 mrg Exp $
# $NetBSD: Makefile,v 1.2 2014/06/01 20:24:45 mrg Exp $
.include <bsd.own.mk>
.include <bsd.init.mk>
.include "${.CURDIR}/../../arch/${GCC_MACHINE_ARCH}/defs.mk"
.cc: # disable .cc->NULL transform
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
DIST= ${GCCDIST}
GNUHOSTDIST= ${DIST}
INCS= ${G_pb_headers1} ${G_pb_headers2} ${G_pb_headers3} ${G_pb_headers4}
INCS+= ${G_pb_headers5} ${G_pb_headers6} ${G_pb_headers7}

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1 2014/03/01 10:00:48 mrg Exp $
# $NetBSD: Makefile,v 1.2 2014/06/01 20:24:45 mrg Exp $
.include <bsd.own.mk>
.include <bsd.init.mk>
.include "${.CURDIR}/../../arch/${GCC_MACHINE_ARCH}/defs.mk"
.cc: # disable .cc->NULL transform
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
DIST= ${GCCDIST}
GNUHOSTDIST= ${DIST}
INCS= ${G_profile_headers} ${G_profile_impl_headers}
INCSDIR= /usr/include/g++/profile

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1 2014/03/01 10:00:48 mrg Exp $
# $NetBSD: Makefile,v 1.2 2014/06/01 20:24:45 mrg Exp $
.include <bsd.own.mk>
.include <bsd.init.mk>
.include "${.CURDIR}/../../arch/${GCC_MACHINE_ARCH}/defs.mk"
.cc: # disable .cc->NULL transform
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
DIST= ${GCCDIST}
GNUHOSTDIST= ${DIST}
INCS= ${G_tr2_headers}
INCSDIR= /usr/include/g++/tr2