xref: /freebsd/usr.bin/gprof/Makefile (revision f6a3b357e9be4c6423c85eff9a847163a0d307c8)
1#	@(#)Makefile	8.1 (Berkeley) 6/29/93
2#	$FreeBSD$
3
4PROG=	gprof
5SRCS=	gprof.c arcs.c dfn.c elf.c lookup.c hertz.c \
6	printgprof.c printlist.c kernel.c
7
8.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_ARCH} != "riscv" && \
9    ${MACHINE_ARCH} != "s390x"
10SRCS+=	aout.c
11CFLAGS+=	-DWITH_AOUT
12.endif
13FILES=	gprof.flat gprof.callg
14FILESDIR=	${SHAREDIR}/misc
15
16WARNS?=	1
17
18.include <bsd.prog.mk>
19