2a588ce73c
On arm64, riscv, and s390x disable building of aout components. This allows gprof to build on these architectures which never supported the legacy a.out binary format. Obtained from: s390x branch MFC after: 3 months
19 lines
384 B
Makefile
19 lines
384 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_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>
|