2b9ce4c8f17294142b26ad2b78650fcd92de5785
[deliverable/binutils-gdb.git] / gprof / Makefile.in
1 # @(#)Makefile 5.17 (Berkeley) 5/11/90
2
3 srcdir = .
4
5 #### host and target dependent Makefile fragments come in here.
6 ###
7
8 PROG= gprof
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
12
13 OBJS= gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \
14 printgprof.o printlist.o
15
16 CFLAGS=
17 .c.o:
18 $(CC) -c $(CFLAGS) -I$(srcdir) -I$(srcdir)/../include -DMACHINE_H=\"${MACHINE}.h\" ${TCFLAGS} ${HCFLAGS} $<
19
20 all: ${PROG}
21
22 .PHONY: check
23 check:
24
25 beforeinstall:
26 install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
27 ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
28 ${DESTDIR}/usr/share/misc
29
30 $(PROG): $(OBJS)
31 $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS)
32
33 clean:
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
36 gprof.o: gprof.c
37 arcs.o: arcs.c
38 dfn.o: dfn.c
39 lookup.o: lookup.c
40 ${MACHINE}.o: ${MACHINE}.c
41 hertz.o: hertz.c
42 printgprof.o: printgprof.c
43 printlist.o: printlist.c
This page took 0.029239 seconds and 4 git commands to generate.