1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = cygnus
9 INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
13 ## Convenience var listing pure sources.
14 sources = 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
18 gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
19 gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLDEPS)
20 gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS)
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
27 EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
29 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
31 diststuff: $(BUILT_SOURCES) info
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
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
43 info_TEXINFOS = gprof.texi
47 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
48 corefile.h gmon_io.h gmon.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
52 basic_blocks.o: basic_blocks.c
53 bsd_call_bl.o: bsd_call_bl.c
54 call_graph.o: call_graph.c
57 cg_print.o: cg_print.c
58 corefile.o: corefile.c
60 fsf_callg_bl.o: fsf_callg_bl.c
65 search_list.o: search_list.c