|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1983 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 5.2 (Berkeley) 6/18/85 ! 7: # ! 8: SCCSID = @(#)Makefile 5.2 (Berkeley) 6/18/85 ! 9: ! 10: DFLAGS = ! 11: CFLAGS = -O ${DFLAGS} ! 12: LINTFLAGS = -x -a -n ${DFLAGS} ! 13: ! 14: RM= /bin/rm -f ! 15: INSTALL=install ! 16: PR=pr ! 17: ! 18: GPROFHDRS = gprof.h vax.h ! 19: GPROFSRCS = gprof.c arcs.c dfn.c lookup.c calls.c hertz.c \ ! 20: printgprof.c printlist.c ! 21: GPROFOBJS = gprof.o arcs.o dfn.o lookup.o calls.o hertz.o \ ! 22: printgprof.o printlist.o ! 23: ! 24: gprof: ${GPROFOBJS} ! 25: cc -o gprof ${CFLAGS} ${GPROFOBJS} ! 26: ! 27: install: gprof gprof.flat gprof.callg ! 28: install -s -g kmem -m 2755 gprof ${DESTDIR}/usr/ucb/gprof ! 29: install -c -m 644 gprof.flat ${DESTDIR}/usr/lib ! 30: install -c -m 644 gprof.callg ${DESTDIR}/usr/lib ! 31: ! 32: clean: ! 33: ${RM} ${GPROFOBJS} errs gprof ! 34: ! 35: gcrt0.h: ! 36: cp /usr/src/libc/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 gprof.callg ! 44: ! 45: lint: ! 46: lint ${LINTFLAGS} ${DFLAGS} ${GPROFSRCS} ! 47: ! 48: gprof.o: gprof.c gprof.h vax.h gcrt0.h ! 49: arcs.o: arcs.c gprof.h vax.h gcrt0.h ! 50: lookup.o: lookup.c gprof.h vax.h gcrt0.h ! 51: dfn.o: dfn.c gprof.h vax.h gcrt0.h ! 52: calls.o: calls.c gprof.h vax.h gcrt0.h ! 53: hertz.o: gprof.h vax.h hertz.c ! 54: printgprof.o: printgprof.c gprof.h vax.h gcrt0.h ! 55: 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.