[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

File: [local] / src / usr.bin / gprof / Makefile (download)

Revision 1.4, Sun Dec 8 14:32:25 1996 UTC (27 years, 6 months ago) by downsj
Branch: MAIN
Changes since 1.3: +2 -2 lines

install -> ${INSTALL}, -c -> ${COPY}

#	$OpenBSD: Makefile,v 1.4 1996/12/08 14:32:25 downsj Exp $
#	$NetBSD: Makefile,v 1.14 1995/04/19 07:24:08 cgd Exp $

.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "mips")
NOPROG=
.else
PROG=	gprof
SRCS=	gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
	printgprof.c printlist.c
CFLAGS+= -D${MACHINE_ARCH}
.endif

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

.if make(install)
SUBDIR+= PSD.doc
.endif

.include <bsd.prog.mk>