Makefile revision 1.22
1#	$NetBSD: Makefile,v 1.22 1998/02/23 01:04:08 jonathan Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/29/93
3
4# XXX not ELF?
5.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && \
6     ${MACHINE_ARCH} != "powerpc")
7PROG=	gprof
8.endif
9
10SRCS=	gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
11	printgprof.c printlist.c
12CPPFLAGS+= -D${MACHINE_ARCH}
13
14FILES=	${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg
15FILESDIR=/usr/share/misc
16
17.if make(install)
18SUBDIR+=PSD.doc
19.endif
20
21.include <bsd.prog.mk>
22.include <bsd.subdir.mk>
23