NetBSD/usr.bin/gprof/Makefile

25 lines
553 B
Makefile

# $NetBSD: Makefile,v 1.25 1998/11/07 17:52:19 jonathan Exp $
# @(#)Makefile 8.1 (Berkeley) 6/29/93
.include <bsd.own.mk> # for OBJECT_FMT definition
.if (${OBJECT_FMT} == "a.out") || (${MACHINE_ARCH} == "mips")
PROG= gprof
.endif
SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
printgprof.c printlist.c
CPPFLAGS+= -D${MACHINE_ARCH}
.if !defined(NOSHARE)
FILES= ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg
FILESDIR=/usr/share/misc
.if make(install)
SUBDIR+=PSD.doc
.endif
.endif
.include <bsd.prog.mk>
.include <bsd.subdir.mk>