Annotation of 43BSDReno/pgrm/gprof/hp.gprof.tar, revision 1.1.1.1
1.1 root 1: gprof/ 775 22 12 0 4611253540 5106 gprof/Makefile 444 14 12 5404 4341434366 6642 #
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 this notice is preserved and that due credit is given
7: # to the University of California at Berkeley. The name of the University
8: # may not be used to endorse or promote products derived from this
9: # software without specific written prior permission. This software
10: # is provided ``as is'' without express or implied warranty.
11: #
12: # @(#)Makefile 5.10 (Berkeley) 1/2/88
13: #
14: CFLAGS= -O
15: LIBC= /lib/libc.a
16: HDRS= gprof.h ${MACHINE}.h
17: SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
18: printgprof.c printlist.c
19: OBJS= gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \
20: printgprof.o printlist.o
21: LIBDIR= ../../lib
22:
23: all: gprof
24:
25: gprof: ${OBJS} ${LIBC}
26: ${CC} -o $@ ${CFLAGS} ${OBJS}
27:
28: gcrt0.h: FRC
29: -if [ -r gcrt0.h ] && \
30: cmp -s gcrt0.h ${LIBDIR}/libc/${MACHINE}/csu/gmon.h; then \
31: :; \
32: else \
33: rm -f gcrt0.h; \
34: cp ${LIBDIR}/libc/${MACHINE}/csu/gmon.h gcrt0.h; \
35: fi
36:
37: clean: FRC
38: rm -f ${OBJS} core gprof
39:
40: depend: FRC
41: mkdep ${CFLAGS} ${SRCS}
42:
43: install: FRC
44: install -s -m 755 gprof ${DESTDIR}/usr/ucb/gprof
45: install -c -m 644 gprof.flat ${DESTDIR}/usr/lib
46: install -c -m 644 gprof.callg ${DESTDIR}/usr/lib
47:
48: lint: FRC
49: lint ${CFLAGS} ${SRCS}
50:
51: tags: FRC
52: ctags ${SRCS}
53:
54: FRC:
55:
56: # DO NOT DELETE THIS LINE -- mkdep uses it.
57: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
58:
59: gprof.o: gprof.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h
60: gprof.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h
61: gprof.o: gcrt0.h tahoe.h
62: arcs.o: arcs.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h
63: arcs.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h
64: arcs.o: gcrt0.h tahoe.h
65: dfn.o: dfn.c /usr/include/stdio.h gprof.h /usr/include/stdio.h
66: dfn.o: /usr/include/sys/types.h /usr/include/sys/stat.h /usr/include/a.out.h
67: dfn.o: /usr/include/sys/exec.h gcrt0.h tahoe.h
68: lookup.o: lookup.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h
69: lookup.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h
70: lookup.o: gcrt0.h tahoe.h
71: tahoe.o: tahoe.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h
72: tahoe.o: /usr/include/sys/stat.h /usr/include/a.out.h /usr/include/sys/exec.h
73: tahoe.o: gcrt0.h tahoe.h
74: hertz.o: hertz.c /usr/include/sys/time.h /usr/include/time.h
75: printgprof.o: printgprof.c gprof.h /usr/include/stdio.h
76: printgprof.o: /usr/include/sys/types.h /usr/include/sys/stat.h
77: printgprof.o: /usr/include/a.out.h /usr/include/sys/exec.h gcrt0.h tahoe.h
78: printlist.o: printlist.c gprof.h /usr/include/stdio.h /usr/include/sys/types.h
79: printlist.o: /usr/include/sys/stat.h /usr/include/a.out.h
80: printlist.o: /usr/include/sys/exec.h gcrt0.h tahoe.h
81:
82: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
83: