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