From f5abe789ad3d1ba554abe3f51c7cc6718c6cdd5e Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 3 Feb 1999 00:15:09 +0000 Subject: [PATCH] Update to 2.9.1. --- gnu/usr.bin/gprof/Makefile | 20 ++++++-------------- gnu/usr.bin/gprof/gconfig.h | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 14 deletions(-) create mode 100644 gnu/usr.bin/gprof/gconfig.h diff --git a/gnu/usr.bin/gprof/Makefile b/gnu/usr.bin/gprof/Makefile index 564e67d0f6b9..768f3a4759eb 100644 --- a/gnu/usr.bin/gprof/Makefile +++ b/gnu/usr.bin/gprof/Makefile @@ -1,28 +1,20 @@ -# $NetBSD: Makefile,v 1.3 1998/10/19 04:15:10 ross Exp $ - -# Override this to build a cross profiler. -TARGET_ARCH?=${MACHINE_ARCH} +# $NetBSD: Makefile,v 1.4 1999/02/03 00:15:09 tv Exp $ TOP= ${.CURDIR}/../.. dist= ${TOP}/dist srcdir= ${dist}/gprof PROG= gprof -SRCS= ${TARGET_ARCH}.c basic_blocks.c call_graph.c \ - cg_arcs.c cg_dfn.c cg_print.c core.c \ +SRCS= basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c cg_print.c core.c \ gmon_io.c gprof.c hertz.c hist.c source.c search_list.c symtab.c \ - sym_ids.c utils.c - -SRCS+= flat_bl.c bsd_callg_bl.c fsf_callg_bl.c + sym_ids.c utils.c flat_bl.c bsd_callg_bl.c fsf_callg_bl.c i386.c \ + alpha.c vax.c tahoe.c sparc.c .PATH: ${srcdir} -CPPFLAGS+= -I${TOP}/lib/bfd -CPPFLAGS+= -I${dist}/bfd -CPPFLAGS+= -I${dist}/include +CPPFLAGS+= -I${TOP}/lib/bfd -I${dist}/bfd -I${dist}/include -I${.CURDIR} CPPFLAGS+= -I${DESTDIR}/usr/include/bfd -CPPFLAGS+= -DBSD44_FORMAT=1 -DTARGET_${TARGET_ARCH} -CPPFLAGS+= -DMACHINE_H=\"${TARGET_ARCH}.h\" +CPPFLAGS+= -DHAVE_CONFIG_H DPADD= ${LIBBFD} LDADD= -lbfd diff --git a/gnu/usr.bin/gprof/gconfig.h b/gnu/usr.bin/gprof/gconfig.h new file mode 100644 index 000000000000..49162a5ddc98 --- /dev/null +++ b/gnu/usr.bin/gprof/gconfig.h @@ -0,0 +1,16 @@ +/* gconfig.h. Generated automatically by configure. */ +/* gconfig.in. Generated automatically from configure.in by autoheader. */ + +/* Define if you need to in order for stat and other things to work. */ +/* #undef _POSIX_SOURCE */ + +/* Name of package. */ +#define PACKAGE "gprof" + +/* Version of package. */ +#define VERSION "2.9.1" + +/* Whether this system uses the BSD 4.4 gmon.out format. */ +#ifndef __ELF__ +#define BSD44_FORMAT 1 +#endif