|
|
Power 6/32 Unix version 1.21
SCCSID = @(#)makefile 1.0 (Tahoe) 03/21/85
DESTDIR=
AS=/bin/as
CC=/bin/cc
LD=/bin/ld
INCLDIR=${DESTDIR}/usr/include
LIBDIR=${DESTDIR}/lib
ULIBDIR=${DESTDIR}/usr/lib
DFLAGS =
CFLAGS = -O -I${INCLDIR} ${DFLAGS}
LINTFLAGS = -x -a -n ${DFLAGS}
RM= /bin/rm -f
INSTALL=cp
PR=pr
GPROFHDRS = gprof.h tahoe.h
GPROFSRCS = gprof.c arcs.c dfn.c lookup.c callf.c hertz.c \
printgprof.c printlist.c printhist.c
GPROFOBJS = gprof.o arcs.o dfn.o lookup.o callf.o hertz.o \
printgprof.o printlist.o printhist.o
gprof: ${GPROFOBJS}
${CC} -o gprof ${CFLAGS} ${GPROFOBJS}
install: gprof gprof.flat.blurb gprof.callg.blurb
${INSTALL} gprof ${DESTDIR}/usr/ucb/gprof
cp gprof.flat.blurb ${DESTDIR}/usr/lib
cp gprof.callg.blurb ${DESTDIR}/usr/lib
clean:
${RM} ${GPROFOBJS} errs gprof
gcrt0.h:
cp ../../lib/libc/tahoe/csu/gcrt0.h gcrt0.h
print:
@ ls -l | ${PR}
@ ${PR} makefile
@ ${PR} gcrt0.h
@ ${PR} ${GPROFHDRS} ${GPROFSRCS}
@ ${PR} gprof.flat.blurb gprof.callg.blurb
lint:
lint ${LINTFLAGS} ${DFLAGS} ${GPROFSRCS}
gprof.o: gprof.c gprof.h tahoe.h gcrt0.h
arcs.o: arcs.c gprof.h tahoe.h gcrt0.h
lookup.o: lookup.c gprof.h tahoe.h gcrt0.h
dfn.o: dfn.c gprof.h tahoe.h gcrt0.h
callf.o: callf.c gprof.h tahoe.h gcrt0.h
hertz.o: gprof.h tahoe.h hertz.c
printgprof.o: printgprof.c gprof.h tahoe.h gcrt0.h
printlist.o: printlist.c gprof.h tahoe.h gcrt0.h
printhist.o: printhist.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.