1 # @(#)Makefile 5.17 (Berkeley) 5/11/90
5 #### host and target dependent Makefile fragments come in here.
9 SRCS
= gprof.c arcs.c dfn.c lookup.c
${MACHINE}.c hertz.c \
10 printgprof.c printlist.c
11 LIBS
= ..
/bfd
/libbfd.a ..
/libiberty
/libiberty.a
13 OBJS
= gprof.o arcs.o dfn.o lookup.o
${MACHINE}.o hertz.o \
14 printgprof.o printlist.o
18 $(CC
) -c
$(CFLAGS
) -I
$(srcdir) -I
$(srcdir)/..
/include -DMACHINE_H
=\"${MACHINE}.h
\" ${TCFLAGS} ${HCFLAGS} $<
26 install -c
-o
${BINOWN} -g
${BINGRP} -m
${BINMODE} \
27 ${.CURDIR
}/gprof.flat
${.CURDIR
}/gprof.callg \
28 ${DESTDIR}/usr
/share
/misc
31 $(CC
) $(CFLAGS
) $(OBJS
) -o
$(PROG
) $(LIBS
)
34 -rm -f
$(OBJS
) core gprof nohup.out
35 # These get around a bug in Sun Make in SunOS 4.1.1 and Solaris 2
40 ${MACHINE}.o
: ${MACHINE}.c
42 printgprof.o
: printgprof.c
43 printlist.o
: printlist.c