freebsd-skq/usr.bin/gprof/Makefile
Andrew Turner e7b841ae27 Cleanups for gprof:
* Remove identical or almost identical headers
 * Only build aout.c on amd64 and i386. None of the the other current
   architectures ever supported running a.out binaries
 * Enable on all architectures

Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D26369
2020-09-14 16:18:53 +00:00

18 lines
352 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/29/93
# $FreeBSD$
PROG= gprof
SRCS= gprof.c arcs.c dfn.c elf.c lookup.c hertz.c \
printgprof.c printlist.c kernel.c
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
SRCS+= aout.c
CFLAGS+= -DWITH_AOUT
.endif
FILES= gprof.flat gprof.callg
FILESDIR= ${SHAREDIR}/misc
WARNS?= 1
.include <bsd.prog.mk>