5b11e2a2f4
the executable file, so it will work for both a.out and ELF format files. I have split the object format specific code into separate source files. It's cleaner than it was before, but it's still pretty crufty. Don't cheat on your make world for this update. A lot of things have to be rebuilt for it to work, including the compiler and all of the profiled libraries.
15 lines
415 B
Makefile
15 lines
415 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
|
|
|
|
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
|
|
CFLAGS+=-DGPROF4
|
|
.PATH: ${.CURDIR}/../../usr.bin/gprof
|
|
|
|
.include <bsd.prog.mk>
|