NetBSD/usr.bin/gprof/Makefile

25 lines
519 B
Makefile

# $NetBSD: Makefile,v 1.24 1998/09/27 17:22:11 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/29/93
.include <bsd.own.mk> # for OBJECT_FMT definition
.if (${OBJECT_FMT} == "a.out")
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>