1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/29/93
|
2001-10-30 15:54:09 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
PROG= gprof
|
2019-08-21 10:54:52 +00:00
|
|
|
SRCS= gprof.c arcs.c dfn.c elf.c lookup.c hertz.c \
|
2001-10-30 15:54:09 +00:00
|
|
|
printgprof.c printlist.c kernel.c
|
2019-08-21 10:54:52 +00:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_ARCH} != "riscv" && \
|
|
|
|
${MACHINE_ARCH} != "s390x"
|
|
|
|
SRCS+= aout.c
|
|
|
|
CFLAGS+= -DWITH_AOUT
|
|
|
|
.endif
|
2001-12-17 16:02:15 +00:00
|
|
|
FILES= gprof.flat gprof.callg
|
|
|
|
FILESDIR= ${SHAREDIR}/misc
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2010-01-02 10:27:05 +00:00
|
|
|
WARNS?= 1
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|