Commit | Line | Data |
---|---|---|
2f1fec47 ILT |
1 | ## Process this file with automake to generate Makefile.in |
2 | ||
c3de2a19 | 3 | AUTOMAKE_OPTIONS = cygnus |
2f1fec47 ILT |
4 | |
5 | SUFFIXES = .m | |
6 | ||
16a02269 TT |
7 | SUBDIRS = po |
8 | ||
9 | INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\"" | |
2f1fec47 ILT |
10 | |
11 | bin_PROGRAMS = gprof | |
12 | ||
16a02269 TT |
13 | ## Convenience var listing pure sources. |
14 | sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \ | |
43870aec | 15 | cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \ |
2f1fec47 | 16 | search_list.c symtab.c sym_ids.c utils.c \ |
c3de2a19 | 17 | i386.c alpha.c vax.c tahoe.c sparc.c |
3b4d91a1 | 18 | gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c |
16a02269 TT |
19 | gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS) |
20 | gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS) | |
2f1fec47 ILT |
21 | |
22 | noinst_HEADERS = \ | |
2f1fec47 | 23 | basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \ |
43870aec | 24 | corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ |
c3de2a19 | 25 | search_list.h source.h sym_ids.h symtab.h utils.h |
2f1fec47 | 26 | |
249da916 | 27 | EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl |
2f1fec47 ILT |
28 | |
29 | BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c | |
30 | ||
0054bb2a ILT |
31 | diststuff: $(BUILT_SOURCES) info |
32 | ||
2f1fec47 ILT |
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 | ||
16a02269 TT |
38 | POTFILES = $(sources) $(noinst_HEADERS) |
39 | po/POTFILES.in: @MAINT@ Makefile | |
40 | for file in $(POTFILES); do echo $$file; done | sort > tmp \ | |
41 | && mv tmp $(srcdir)/po/POTFILES.in | |
42 | ||
2f1fec47 ILT |
43 | info_TEXINFOS = gprof.texi |
44 | man_MANS = gprof.1 | |
45 | ||
46 | # Dependencies. | |
47 | $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \ | |
43870aec | 48 | corefile.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ |
2f1fec47 ILT |
49 | search_list.h source.h sym_ids.h symtab.h utils.h \ |
50 | $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \ | |
c3de2a19 | 51 | gconfig.h ../bfd/config.h |
2f1fec47 ILT |
52 | basic_blocks.o: basic_blocks.c |
53 | bsd_call_bl.o: bsd_call_bl.c | |
54 | call_graph.o: call_graph.c | |
55 | cg_arcs.o: cg_arcs.c | |
56 | cg_dfn.o: cg_dfn.c | |
57 | cg_print.o: cg_print.c | |
43870aec | 58 | corefile.o: corefile.c |
2f1fec47 ILT |
59 | flat_bl.o: flat_bl.c |
60 | fsf_callg_bl.o: fsf_callg_bl.c | |
61 | gmon_io.o: gmon_io.c | |
62 | gprof.o: gprof.c | |
63 | hertz.o: hertz.c | |
64 | hist.o: hist.c | |
65 | search_list.o: search_list.c | |
66 | source.o: source.c | |
67 | symtab.o: symtab.c | |
68 | sym_ids.o: sym_ids.c | |
69 | utils.o: utils.c | |
c3de2a19 ILT |
70 | i386.o: i386.c |
71 | alpha.o: alpha.c | |
72 | vax.o: vax.c | |
73 | tahoe.o: tahoe.c | |
74 | sparc.o: sparc.c |