Home | History | Annotate | Line # | Download | only in gprof
Makefile revision 1.5
      1 #	from: @(#)Makefile	5.17 (Berkeley) 5/11/90
      2 #	$Id: Makefile,v 1.5 1993/08/23 05:02:37 cgd Exp $
      3 
      4 PROG=	gprof
      5 SRCS=	gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
      6 	printgprof.c printlist.c
      7 CFLAGS+=-I${.CURDIR}/../../lib/csu/${MACHINE}
      8 
      9 beforeinstall:
     10 	@if [ ! -d ${DESTDIR}/usr/share/misc ]; then \
     11                 /bin/rm -f ${DESTDIR}/usr/share/misc ; \
     12                 mkdir -p ${DESTDIR}/usr/share/misc ; \
     13                 chown root.wheel ${DESTDIR}/usr/share/misc ; \
     14                 chmod 755 ${DESTDIR}/usr/share/misc ; \
     15         else \
     16                 true ; \
     17         fi
     18 	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
     19 	    ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
     20 	    ${DESTDIR}/usr/share/misc
     21 
     22 .include <bsd.prog.mk>
     23