|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. ! 4: # ! 5: # Redistribution and use in source and binary forms are permitted ! 6: # provided that the above copyright notice and this paragraph are ! 7: # duplicated in all such forms and that any documentation, ! 8: # advertising materials, and other materials related to such ! 9: # distribution and use acknowledge that the software was developed ! 10: # by the University of California, Berkeley. The name of the ! 11: # University may not be used to endorse or promote products derived ! 12: # from this software without specific prior written permission. ! 13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 16: # ! 17: # @(#)Makefile 5.12 (Berkeley) 6/29/88 ! 18: # ! 19: CFLAGS= -O ! 20: LIBC= /lib/libc.a ! 21: HDRS= gprof.h ${MACHINE}.h ! 22: SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \ ! 23: printgprof.c printlist.c ! 24: OBJS= gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \ ! 25: printgprof.o printlist.o ! 26: ! 27: all: gprof ! 28: ! 29: gprof: ${OBJS} ${LIBC} ! 30: ${CC} -o $@ ${CFLAGS} ${OBJS} ! 31: ! 32: gcrt0.h: FRC ! 33: -if [ -r gcrt0.h ] && \ ! 34: cmp -s gcrt0.h ../../lib/libc/${MACHINE}/csu/gmon.h; then \ ! 35: :; \ ! 36: else \ ! 37: rm -f gcrt0.h; \ ! 38: cp ../../lib/libc/${MACHINE}/csu/gmon.h gcrt0.h; \ ! 39: fi ! 40: ! 41: clean: FRC ! 42: rm -f ${OBJS} core gprof ! 43: ! 44: depend: FRC ! 45: mkdep ${CFLAGS} ${SRCS} ! 46: ! 47: install: FRC ! 48: install -s -o bin -g bin -m 755 gprof ${DESTDIR}/usr/ucb/gprof ! 49: install -c -o bin -g bin -m 444 gprof.flat ${DESTDIR}/usr/lib ! 50: install -c -o bin -g bin -m 444 gprof.callg ${DESTDIR}/usr/lib ! 51: ! 52: lint: FRC ! 53: lint ${CFLAGS} ${SRCS} ! 54: ! 55: tags: FRC ! 56: ctags ${SRCS} ! 57: ! 58: FRC: ! 59: ! 60: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 61: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 62: ! 63: gprof.o: gprof.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h ! 64: gprof.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h ! 65: gprof.o: gcrt0.h tahoe.h ! 66: arcs.o: arcs.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h ! 67: arcs.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h ! 68: arcs.o: gcrt0.h tahoe.h ! 69: dfn.o: dfn.c /usr/include/stdio.h gprof.h /usr/include/stdio.h ! 70: dfn.o: /usr/include/sys/types.h /usr/include/sys/stat.h /usr/include/a.out.h ! 71: dfn.o: /usr/include/sys/exec.h gcrt0.h tahoe.h ! 72: lookup.o: lookup.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h ! 73: lookup.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h ! 74: lookup.o: gcrt0.h tahoe.h ! 75: tahoe.o: tahoe.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h ! 76: tahoe.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h ! 77: tahoe.o: gcrt0.h tahoe.h ! 78: hertz.o: hertz.c /usr/include/sys/time.h /usr/include/time.h ! 79: printgprof.o: printgprof.c gprof.h /usr/include/stdio.h ! 80: printgprof.o: /usr/include/sys/types.h /usr/include/sys/stat.h ! 81: printgprof.o: /usr/include/a.out.h /usr/include/sys/exec.h gcrt0.h tahoe.h ! 82: printlist.o: printlist.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h ! 83: printlist.o: /usr/include/sys/stat.h /usr/include/a.out.h ! 84: printlist.o: /usr/include/sys/exec.h gcrt0.h tahoe.h ! 85: ! 86: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.