1993-07-31 19:17:49 +04:00
|
|
|
# from: @(#)Makefile 5.17 (Berkeley) 5/11/90
|
1993-08-23 08:59:38 +04:00
|
|
|
# $Id: Makefile,v 1.5 1993/08/23 05:02:37 cgd Exp $
|
1993-03-31 21:24:07 +04:00
|
|
|
|
|
|
|
PROG= gprof
|
|
|
|
SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
|
|
|
|
printgprof.c printlist.c
|
1993-05-20 05:24:27 +04:00
|
|
|
CFLAGS+=-I${.CURDIR}/../../lib/csu/${MACHINE}
|
1993-03-31 21:24:07 +04:00
|
|
|
|
|
|
|
beforeinstall:
|
1993-04-11 00:39:06 +04:00
|
|
|
@if [ ! -d ${DESTDIR}/usr/share/misc ]; then \
|
|
|
|
/bin/rm -f ${DESTDIR}/usr/share/misc ; \
|
|
|
|
mkdir -p ${DESTDIR}/usr/share/misc ; \
|
|
|
|
chown root.wheel ${DESTDIR}/usr/share/misc ; \
|
|
|
|
chmod 755 ${DESTDIR}/usr/share/misc ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1993-08-23 08:59:38 +04:00
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
1993-03-31 21:24:07 +04:00
|
|
|
${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
|
|
|
|
${DESTDIR}/usr/share/misc
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|