Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/gprof/Makefile
# @(#)Makefile 8.1 (Berkeley) 6/29/93 | # @(#)Makefile 8.1 (Berkeley) 6/29/93 | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PROG= gprof | PROG= gprof | ||||
SRCS= gprof.c arcs.c dfn.c elf.c lookup.c hertz.c \ | SRCS= gprof.c arcs.c dfn.c elf.c lookup.c hertz.c \ | ||||
printgprof.c printlist.c kernel.c | printgprof.c printlist.c kernel.c | ||||
.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv" && \ | .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" | ||||
${MACHINE_ARCH} != "s390x" | |||||
SRCS+= aout.c | SRCS+= aout.c | ||||
CFLAGS+= -DWITH_AOUT | CFLAGS+= -DWITH_AOUT | ||||
.endif | .endif | ||||
FILES= gprof.flat gprof.callg | FILES= gprof.flat gprof.callg | ||||
FILESDIR= ${SHAREDIR}/misc | FILESDIR= ${SHAREDIR}/misc | ||||
WARNS?= 1 | WARNS?= 1 | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |