1SCCSID = @(#)Makefile 1.13 (Berkeley) 01/14/82 2 3DFLAGS = 4CFLAGS = -O ${DFLAGS} 5LINTFLAGS = -x -a -n 6 7RM= /bin/rm -f 8INSTALL=cp 9 10GPROFHDRS = gprof.h 11GPROFSRCS = gprof.c arcs.c dfn.c lookup.c printgprof.c calls.c 12GPROFOBJS = gprof.o arcs.o dfn.o lookup.o printgprof.o calls.o 13 14gprof: ${GPROFOBJS} 15 cc -o gprof ${CFLAGS} ${GPROFOBJS} 16 17install: gprof flat.blurb callg.blurb 18 ${INSTALL} gprof ${DESTDIR}/usr/bin/gprof 19 cp flat.blurb ${DESTDIR}/usr/lib/flat.blurb 20 cp callg.blurb ${DESTDIR}/usr/lib/callg.blurb 21 22clean: 23 ${RM} ${GPROFOBJS} errs gprof 24 25gcrt0.h: 26 cp /usr/src/libc/csu/gcrt0.h gcrt0.h 27 28print: 29 @ ls -l | pr -f 30 @ pr -f makefile 31 @ pr -f gcrt0.h 32 @ pr -f ${GPROFHDRS} ${GPROFSRCS} 33 @ pr -f flat.blurb callg.blurb 34 35lint: 36 lint ${CFLAGS} ${LINTFLAGS} ${GPROFSRCS} 37 38gprof.o: gprof.c gprof.h gcrt0.h 39arcs.o: arcs.c gprof.h gcrt0.h 40lookup.o: lookup.c gprof.h gcrt0.h 41dfn.o: dfn.c gprof.h gcrt0.h 42printgprof.o: printgprof.c gprof.h gcrt0.h 43calls.o: calls.c gprof.h gcrt0.h 44