no more configure on which to depend
[external/binutils.git] / gprof / Makefile.in
1  #      @(#)Makefile    5.17 (Berkeley) 5/11/90
2
3 CC=     gcc
4 MACHINE=        sparc
5 PROG=   gprof
6 SRCS=   gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
7         printgprof.c printlist.c
8 LIBS = ../bfd/libbfd.a ../libiberty/libiberty.a
9
10 #CFLAGS+=-I${.CURDIR}/../../lib/csu.${MACHINE}
11 CFLAGS= -I. -I../include -O -g -DMACHINE_H=\"${MACHINE}.h\"
12
13 OBJS=   gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \
14         printgprof.o printlist.o
15
16 all:    ${PROG}
17
18 beforeinstall:
19         install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
20             ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
21             ${DESTDIR}/usr/share/misc
22
23 #.include <bsd.prog.mk>
24 $(PROG):        $(OBJS)
25         $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS)