]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gprof/Makefile.am
* configure.in: Change version number to 2.8.2. Call
[thirdparty/binutils-gdb.git] / gprof / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 ## We should have cygnus in AUTOMAKE_OPTIONS, but it doesn't work yet.
4 AUTOMAKE_OPTIONS = foreign
5
6 SUFFIXES = .m
7
8 INCLUDES = -D_GNU_SOURCE -DDEBUG -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
9
10 MY_TARGET = @MY_TARGET@
11
12 bin_PROGRAMS = gprof
13
14 gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
15 cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
16 search_list.c symtab.c sym_ids.c utils.c \
17 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
18 gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.la ../libiberty/libiberty.a
19 gprof_LDADD = $(MY_TARGET).o ../bfd/libbfd.la ../libiberty/libiberty.a
20
21 noinst_HEADERS = \
22 alpha.h i386.h ns532.h sparc.h tahoe.h vax.h dummy.h \
23 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
24 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
25 search_list.h source.h sparc.h sym_ids.h symtab.h utils.h
26
27 EXTRA_DIST = \
28 alpha.c i386.c ns532.c sparc.c tahoe.c vax.c dummy.c \
29 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
30
31 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
32
33 .m.c:
34 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
35 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
36 FILE=$*.m $(srcdir)/$*.m
37
38 info_TEXINFOS = gprof.texi
39 man_MANS = gprof.1
40
41 # Dependencies.
42 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
43 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
44 search_list.h source.h sym_ids.h symtab.h utils.h \
45 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
46 gconfig.h ../bfd/config.h $(MY_TARGET).h
47 $(MY_TARGET).o: $(MY_TARGET).c
48 basic_blocks.o: basic_blocks.c
49 bsd_call_bl.o: bsd_call_bl.c
50 call_graph.o: call_graph.c
51 cg_arcs.o: cg_arcs.c
52 cg_dfn.o: cg_dfn.c
53 cg_print.o: cg_print.c
54 core.o: core.c
55 flat_bl.o: flat_bl.c
56 fsf_callg_bl.o: fsf_callg_bl.c
57 gmon_io.o: gmon_io.c
58 gprof.o: gprof.c
59 hertz.o: hertz.c
60 hist.o: hist.c
61 search_list.o: search_list.c
62 source.o: source.c
63 symtab.o: symtab.c
64 sym_ids.o: sym_ids.c
65 utils.o: utils.c