1SCCSID = @(#)Makefile 1.12 (Berkeley) 12/03/81 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 28lint: 29 lint ${CFLAGS} ${LINTFLAGS} ${GPROFSRCS} 30 31gprof.o: gprof.c gprof.h gcrt0.h 32arcs.o: arcs.c gprof.h gcrt0.h 33lookup.o: lookup.c gprof.h gcrt0.h 34dfn.o: dfn.c gprof.h gcrt0.h 35printgprof.o: printgprof.c gprof.h gcrt0.h 36calls.o: calls.c gprof.h gcrt0.h 37