mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 15:12:44 +00:00
5584f22bb3
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.
13 lines
327 B
Makefile
13 lines
327 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/29/93
|
|
|
|
PROG= gprof
|
|
SRCS= gprof.c aout.c arcs.c dfn.c elf.c lookup.c ${MACHINE_ARCH}.c hertz.c \
|
|
printgprof.c printlist.c
|
|
|
|
beforeinstall:
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
|
|
${DESTDIR}/usr/share/misc
|
|
|
|
.include <bsd.prog.mk>
|