e7b841ae27
* 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
18 lines
352 B
Makefile
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>
|