Add gprof.
This commit is contained in:
parent
29c91043c8
commit
923efdf600
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.13 2001/08/06 19:11:59 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2001/08/06 19:59:39 tv Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
.include "${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk"
|
||||
|
||||
SUBDIR= common gas ld ${G_PROGRAMS:C/-new$//:cxxfilt=c++filt}
|
||||
SUBDIR= common gas gprof ld ${G_PROGRAMS:C/-new$//:cxxfilt=c++filt}
|
||||
SUBDIR:= ${SUBDIR:O} # alphabetize
|
||||
|
||||
.else
|
||||
|
29
gnu/usr.bin/binutils/gprof/Makefile
Normal file
29
gnu/usr.bin/binutils/gprof/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $NetBSD: Makefile,v 1.1 2001/08/06 19:59:39 tv Exp $
|
||||
|
||||
TOP= ${.CURDIR}/../../..
|
||||
DIST= ${TOP}/dist/toolchain
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
||||
|
||||
PROG= gprof
|
||||
SRCS= ${G_gprof_OBJECTS:.o=.c}
|
||||
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
|
||||
|
||||
LDADD= -lintl
|
||||
DPADD= ${LIBINTL}
|
||||
|
||||
BFDOBJ!= cd ${TOP}/lib/libbfd && ${PRINTOBJDIR}
|
||||
LDADD+= -L${BFDOBJ} -lbfd
|
||||
DPADD+= ${BFDOBJ}/libbfd_pic.a
|
||||
|
||||
IBERTYOBJ!= cd ${TOP}/lib/libiberty && ${PRINTOBJDIR}
|
||||
LDADD+= -L${IBERTYOBJ} -liberty
|
||||
DPADD+= ${IBERTYOBJ}/libiberty.a
|
||||
|
||||
TEXINFO= ${G_TEXINFOS}
|
||||
|
||||
.PATH: ${DIST}/gprof
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.info.mk>
|
7
gnu/usr.bin/binutils/gprof/arch/i386/defs.mk
Normal file
7
gnu/usr.bin/binutils/gprof/arch/i386/defs.mk
Normal file
@ -0,0 +1,7 @@
|
||||
# This file is automatically generated. DO NOT EDIT!
|
||||
# Generated from: NetBSD: toolchain2netbsd,v 1.6 2001/08/06 19:58:25 tv Exp
|
||||
#
|
||||
G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/gprof -I.
|
||||
G_gprof_OBJECTS=basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o
|
||||
G_INCLUDES=-D_GNU_SOURCE -DDEBUG -I../bfd -I${DIST}/gprof/../include -I${DIST}/gprof/../bfd -I${DIST}/gprof/../intl -I../intl -I. -DLOCALEDIR="\"/usr/local/share/locale\""
|
||||
G_TEXINFOS=gprof.texi
|
148
gnu/usr.bin/binutils/gprof/arch/i386/gconfig.h
Normal file
148
gnu/usr.bin/binutils/gprof/arch/i386/gconfig.h
Normal file
@ -0,0 +1,148 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.6 2001/08/06 19:58:25 tv Exp */
|
||||
|
||||
/* gconfig.h. Generated automatically by configure. */
|
||||
/* gconfig.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
/* #undef C_ALLOCA */
|
||||
|
||||
/* Define to empty if the keyword does not work. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
|
||||
This function is required for alloca.c support on those systems. */
|
||||
/* #undef CRAY_STACKSEG_END */
|
||||
|
||||
/* Define if you have alloca, as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
|
||||
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
||||
/* #undef HAVE_ALLOCA_H */
|
||||
|
||||
/* Define if you have a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define as __inline if that's what the C compiler calls it. */
|
||||
/* #undef inline */
|
||||
|
||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
/* #undef off_t */
|
||||
|
||||
/* Define if you need to in order for stat and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at run-time.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown
|
||||
*/
|
||||
/* #undef STACK_DIRECTION */
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define if you have the __argz_count function. */
|
||||
/* #undef HAVE___ARGZ_COUNT */
|
||||
|
||||
/* Define if you have the __argz_next function. */
|
||||
/* #undef HAVE___ARGZ_NEXT */
|
||||
|
||||
/* Define if you have the __argz_stringify function. */
|
||||
/* #undef HAVE___ARGZ_STRINGIFY */
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#define HAVE_DCGETTEXT 1
|
||||
|
||||
/* Define if you have the getcwd function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define if you have the getpagesize function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define if you have the munmap function. */
|
||||
#define HAVE_MUNMAP 1
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#define HAVE_PUTENV 1
|
||||
|
||||
/* Define if you have the setenv function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define if you have the setlocale function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define if you have the setmode function. */
|
||||
#define HAVE_SETMODE 1
|
||||
|
||||
/* Define if you have the stpcpy function. */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define if you have the strcasecmp function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define if you have the strchr function. */
|
||||
#define HAVE_STRCHR 1
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
/* #undef HAVE_ARGZ_H */
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define if you have the <nl_types.h> header file. */
|
||||
#define HAVE_NL_TYPES_H 1
|
||||
|
||||
/* Define if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define if you have the <values.h> header file. */
|
||||
/* #undef HAVE_VALUES_H */
|
||||
|
||||
/* Define if you have the stpcpy function */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#define HAVE_LC_MESSAGES 1
|
||||
|
||||
/* Define to 1 if NLS is requested */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#define HAVE_GETTEXT 1
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "gprof"
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.11"
|
||||
|
||||
/* Define if you have the stpcpy function */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#define HAVE_LC_MESSAGES 1
|
||||
|
||||
/* Define to 1 if NLS is requested */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#define HAVE_GETTEXT 1
|
||||
|
Loading…
Reference in New Issue
Block a user