Makefile revision 1.25
1#	$NetBSD: Makefile,v 1.25 1998/11/07 17:52:19 jonathan Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/29/93
3
4.include <bsd.own.mk>			# for OBJECT_FMT definition
5
6.if (${OBJECT_FMT} == "a.out") || (${MACHINE_ARCH} == "mips")
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
14.if !defined(NOSHARE)
15FILES=	${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg
16FILESDIR=/usr/share/misc
17
18.if make(install)
19SUBDIR+=PSD.doc
20.endif
21.endif
22
23.include <bsd.prog.mk>
24.include <bsd.subdir.mk>
25