freebsd-dev/usr.bin/gprof4/Makefile
Brian Feldman 3fc980b135 Add -K support to gprof(1), which enables dynamic symbol resolution from
the currently-running kernel (and supercedes an executable file argument
given).  With this change, properly-compiled KLD modules are now
able to be profiled.

Obtained from:	NAI Labs CBOSS project
Funded by:	DARPA
2001-10-30 15:54:09 +00:00

16 lines
436 B
Makefile

# This was cloned from the Makefile for gprof by changing PROG from gprof
# to gprof4, adding NOMAN and PATH, adding -DGPROF4 to CFLAGS and deleting
# beforeinstall.
# @(#)Makefile 5.17 (Berkeley) 5/11/90
# $FreeBSD$
PROG= gprof4
NOMAN= noman
SRCS= gprof.c aout.c arcs.c dfn.c elf.c lookup.c ${MACHINE_ARCH}.c hertz.c \
printgprof.c printlist.c kernel.c
CFLAGS+=-DGPROF4
.PATH: ${.CURDIR}/../../usr.bin/gprof
.include <bsd.prog.mk>