#	BSDI Makefile,v 2.1 1995/02/03 12:22:32 polk Exp
#
#	@(#)Makefile	8.1 (Berkeley) 6/29/93

PROG=	gprof
SRCS=	gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
	printgprof.c printlist.c
CFLAGS+=-I.
CLEANFILES=machine.h

machine.h:
	ln -s ${.CURDIR}/${MACHINE}.h machine.h

beforeinstall:
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
	    ${DESTDIR}/usr/share/misc

.include <bsd.prog.mk>

.depend: machine.h
