1 ## Process this file with automake to generate Makefile.in
3 ## We should have cygnus in AUTOMAKE_OPTIONS, but it doesn't work yet.
4 AUTOMAKE_OPTIONS = foreign
8 INCLUDES = -D_GNU_SOURCE -DTARGET_$(MY_TARGET) -DMACHINE_H=\"$(MY_TARGET).h\" -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd
10 LINK = $(HLDENV) $(CC) $(LDFLAGS) -o $@
12 MY_TARGET = @MY_TARGET@
16 gprof_SOURCES = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \
17 cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \
18 search_list.c symtab.c sym_ids.c utils.c \
19 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
20 gprof_LDFLAGS = $(HLDFLAGS)
21 gprof_DEPENDENCIES = $(MY_TARGET).o ../bfd/libbfd.a ../libiberty/libiberty.a
22 gprof_LDADD = $(MY_TARGET).o @BFDLIB@ ../libiberty/libiberty.a
25 alpha.h i386.h ns532.h sparc.h tahoe.h vax.h dummy.h \
26 basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
27 core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
28 search_list.h source.h sparc.h sym_ids.h symtab.h utils.h
31 alpha.c i386.c ns532.c sparc.c tahoe.c vax.c dummy.c \
32 flat_bl.c bsd_callg_bl.c fsf_callg_bl.c \
34 BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
37 awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
38 FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
39 FILE=$*.m $(srcdir)/$*.m
41 info_TEXINFOS = gprof.texi
45 $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
46 core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
47 search_list.h source.h sym_ids.h symtab.h utils.h \
48 $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \
50 $(MY_TARGET).o: $(MY_TARGET).c
51 basic_blocks.o: basic_blocks.c
52 bsd_call_bl.o: bsd_call_bl.c
53 call_graph.o: call_graph.c
56 cg_print.o: cg_print.c
59 fsf_callg_bl.o: fsf_callg_bl.c
64 search_list.o: search_list.c