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