NetBSD/usr.bin/gprof/Makefile

23 lines
741 B
Makefile
Raw Normal View History

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 $
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}
beforeinstall:
@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 \
${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>