build and install gcov-dump.

This commit is contained in:
mrg 2018-02-06 23:12:01 +00:00
parent d17a36957e
commit 8c973b6499
4 changed files with 41 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.2175 2018/02/04 11:08:16 mrg Exp $
# $NetBSD: mi,v 1.2176 2018/02/06 23:12:01 mrg Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@ -39,6 +39,7 @@
./usr/bin/gcc comp-c-bin gcccmds
./usr/bin/gcore comp-debug-bin
./usr/bin/gcov comp-debug-bin gcccmds
./usr/bin/gcov-dump comp-debug-bin gcccmds,gcc=6
./usr/bin/gdb comp-debug-bin gdb
./usr/bin/gdbtui comp-debug-bin gdb
./usr/bin/genassym comp-util-bin
@ -4013,6 +4014,7 @@
./usr/share/man/cat1/gcc.0 comp-c-catman gcccmds,.cat
./usr/share/man/cat1/gcore.0 comp-debug-catman .cat
./usr/share/man/cat1/gcov.0 comp-debug-catman gcccmds,.cat
./usr/share/man/cat1/gcov-dump.0 comp-debug-catman gcccmds,.cat,gcc=6
./usr/share/man/cat1/gdb.0 comp-debug-catman gdb,.cat
./usr/share/man/cat1/genassym.0 comp-util-catman .cat
./usr/share/man/cat1/gprof.0 comp-debug-catman binutils,.cat
@ -11697,6 +11699,7 @@
./usr/share/man/html1/gcc.html comp-c-htmlman gcccmds,html
./usr/share/man/html1/gcore.html comp-debug-htmlman html
./usr/share/man/html1/gcov.html comp-debug-htmlman gcccmds,html
./usr/share/man/html1/gcov-dump.html comp-debug-htmlman gcccmds,html,gcc=6
./usr/share/man/html1/gdb.html comp-debug-htmlman gdb,html
./usr/share/man/html1/genassym.html comp-util-htmlman html
./usr/share/man/html1/gprof.html comp-debug-htmlman binutils,html
@ -19121,6 +19124,7 @@
./usr/share/man/man1/gcc.1 comp-c-man gcccmds,.man
./usr/share/man/man1/gcore.1 comp-debug-man .man
./usr/share/man/man1/gcov.1 comp-debug-man gcccmds,.man
./usr/share/man/man1/gcov-dump.1 comp-debug-man gcccmds,.man,gcc=6
./usr/share/man/man1/gdb.1 comp-debug-man gdb,.man
./usr/share/man/man1/genassym.1 comp-util-man .man
./usr/share/man/man1/gprof.1 comp-debug-man binutils,.man

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.239 2018/02/03 21:27:45 mrg Exp $
# $NetBSD: mi,v 1.240 2018/02/06 23:12:02 mrg Exp $
./etc/mtree/set.debug comp-sys-root
./usr/lib comp-sys-usr compatdir
./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile
@ -541,6 +541,7 @@
./usr/libdata/debug/usr/bin/gcc.debug comp-c-debug gcccmds,debug
./usr/libdata/debug/usr/bin/gcore.debug comp-debug-debug debug
./usr/libdata/debug/usr/bin/gcov.debug comp-debug-debug gcccmds,debug
./usr/libdata/debug/usr/bin/gcov-dump.debug comp-debug-debug gcccmds,debug,gcc=6
./usr/libdata/debug/usr/bin/gdb.debug comp-debug-debug gdb,debug
./usr/libdata/debug/usr/bin/gdbtui.debug comp-debug-debug gdb,debug
./usr/libdata/debug/usr/bin/gencat.debug comp-locale-debug debug

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2016/03/15 19:14:47 mrg Exp $
# $NetBSD: Makefile,v 1.9 2018/02/06 23:12:01 mrg Exp $
NOOBJ=# defined
@ -16,7 +16,7 @@ SUBDIR+= host-libiberty .WAIT \
frontend .WAIT \
common common-target .WAIT \
libcpp libdecnumber .WAIT \
gcov cc1 cc1obj cc1plus cpp g++ gcc \
gcov gcov-dump cc1 cc1obj cc1plus cpp g++ gcc \
lto1 lto-wrapper \
include

View File

@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.1 2018/02/06 23:12:01 mrg Exp $
.include <bsd.own.mk>
PROG= gcov-dump
SRCS= ${G_GCOV_DUMP_OBJS:.o=.c}
CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
BINDIR= /usr/bin
MAN= gcov-dump.1
HOSTPROG_CXX= 1
.include <bsd.prog.mk>
# Force using C++ for this
HOST_CC:= ${HOST_CXX}
CC:= ${CXX}
CFLAGS:= ${CXXFLAGS} -Wno-stack-protector
.include "../Makefile.common"
.include "../Makefile.libcpp"
.include "../Makefile.backtrace"
.include "../Makefile.libiberty"
.include "../Makefile.libdecnumber"
LDADD+= -lintl
DPADD+= ${LIBINTL}
.PATH: ${DIST}/gcc ${DIST}/gcc/doc