Makefile revision 1.26
1#	$NetBSD: Makefile,v 1.26 1999/02/03 00:17:35 tv 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") && \
7     (${MACHINE_ARCH} != "i386")) || \
8    (${MACHINE_ARCH} == "mips")
9PROG=	gprof
10.endif
11
12SRCS=	gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
13	printgprof.c printlist.c
14CPPFLAGS+= -D${MACHINE_ARCH}
15
16.if !defined(NOSHARE)
17FILES=	${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg
18FILESDIR=/usr/share/misc
19
20.if make(install)
21SUBDIR+=PSD.doc
22.endif
23.endif
24
25.include <bsd.prog.mk>
26.include <bsd.subdir.mk>
27