SCCSID
= @
(#)Makefile 1.20 (Berkeley) %G%
LINTFLAGS
= -x
-a
-n
${DFLAGS}
GPROFHDRS
= gprof.h vax.h
GPROFSRCS
= gprof.c arcs.c dfn.c lookup.c calls.c hertz.c \
GPROFOBJS
= gprof.o arcs.o dfn.o lookup.o calls.o hertz.o \
cc -o gprof
${CFLAGS} ${GPROFOBJS}
install: gprof gprof.flat.blurb gprof.callg.blurb
${INSTALL} gprof
${DESTDIR}/usr
/ucb
/gprof
cp gprof.flat.blurb
${DESTDIR}/usr
/lib
cp gprof.callg.blurb
${DESTDIR}/usr
/lib
${RM} ${GPROFOBJS} errs gprof
cp
/usr
/src
/libc
/csu
/gcrt0.h gcrt0.h
@
${PR} ${GPROFHDRS} ${GPROFSRCS}
@
${PR} gprof.flat.blurb gprof.callg.blurb
lint
${LINTFLAGS} ${DFLAGS} ${GPROFSRCS}
gprof.o
: gprof.c gprof.h vax.h gcrt0.h
arcs.o
: arcs.c gprof.h vax.h gcrt0.h
lookup.o
: lookup.c gprof.h vax.h gcrt0.h
dfn.o
: dfn.c gprof.h vax.h gcrt0.h
calls.o
: calls.c gprof.h vax.h gcrt0.h
hertz.o
: gprof.h vax.h hertz.c
printgprof.o
: printgprof.c gprof.h vax.h gcrt0.h
printlist.o
: printlist.c gprof.h vax.h gcrt0.h