aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gprof/Makefile
blob: 28d0ffeef25c45bc0bc22d7d8b4b6aa5bdcaaa31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	@(#)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_ARCH} != "aarch64" && ${MACHINE_ARCH} != "riscv" && \
    ${MACHINE_ARCH} != "s390x"
SRCS+=	aout.c
CFLAGS+=	-DWITH_AOUT
.endif
FILES=	gprof.flat gprof.callg
FILESDIR=	${SHAREDIR}/misc

WARNS?=	1

.include <bsd.prog.mk>