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