|
|
1.1 root 1: SCCSID = @(#)makefile 1.20 (Berkeley) 3/31/83
2:
3: DFLAGS =
4: CFLAGS = -O ${DFLAGS}
5: LINTFLAGS = -x -a -n ${DFLAGS}
6:
7: RM= /bin/rm -f
8: INSTALL=cp
9: PR=pr
10:
11: GPROFHDRS = gprof.h vax.h
12: GPROFSRCS = gprof.c arcs.c dfn.c lookup.c calls.c hertz.c \
13: printgprof.c printlist.c
14: GPROFOBJS = gprof.o arcs.o dfn.o lookup.o calls.o hertz.o \
15: printgprof.o printlist.o
16:
17: gprof: ${GPROFOBJS}
18: cc -o gprof ${CFLAGS} ${GPROFOBJS}
19:
20: install: gprof gprof.flat.blurb gprof.callg.blurb
21: ${INSTALL} gprof ${DESTDIR}/usr/ucb/gprof
22: cp gprof.flat.blurb ${DESTDIR}/usr/lib
23: cp gprof.callg.blurb ${DESTDIR}/usr/lib
24:
25: clean:
26: ${RM} ${GPROFOBJS} errs gprof
27:
28: gcrt0.h:
29: cp /usr/src/libc/csu/gcrt0.h gcrt0.h
30:
31: print:
32: @ ls -l | ${PR}
33: @ ${PR} makefile
34: @ ${PR} gcrt0.h
35: @ ${PR} ${GPROFHDRS} ${GPROFSRCS}
36: @ ${PR} gprof.flat.blurb gprof.callg.blurb
37:
38: lint:
39: lint ${LINTFLAGS} ${DFLAGS} ${GPROFSRCS}
40:
41: gprof.o: gprof.c gprof.h vax.h gcrt0.h
42: arcs.o: arcs.c gprof.h vax.h gcrt0.h
43: lookup.o: lookup.c gprof.h vax.h gcrt0.h
44: dfn.o: dfn.c gprof.h vax.h gcrt0.h
45: calls.o: calls.c gprof.h vax.h gcrt0.h
46: hertz.o: gprof.h vax.h hertz.c
47: printgprof.o: printgprof.c gprof.h vax.h gcrt0.h
48: printlist.o: printlist.c gprof.h vax.h gcrt0.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.