mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
sbindir = @sbindir@
man_MANS = gprof.1
AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../bfd/doc" -I ../bfd/doc
TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../bfd/doc" -I ../bfd/doc
+pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
MAINTAINERCLEANFILES = gprof.info
(rm -f $@.T$$$$ && exit 1)
rm -f gprof.pod
+.PHONY: install-pdf install-pdf-am install-pdf-recursive
+
+install-pdf: install-pdf-recursive install-pdf-am
+
+install-pdf-am: $(PDFS)
+ @$(NORMAL_INSTALL)
+ test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
+ @list='$(PDFS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(pdf__strip_dir) \
+ echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
+ $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
+ done
+
+install-pdf-recursive:
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
.PHONY: install-html install-html-am install-html-recursive
install-html: install-html-recursive install-html-am
basic_blocks.o: basic_blocks.c gprof.h $(BFDDIR)/sysdep.h \
../bfd/config.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \
$(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
- gconfig.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
- basic_blocks.h corefile.h gmon_io.h gmon_out.h search_list.h \
- source.h symtab.h sym_ids.h
+ gconfig.h $(INCDIR)/libiberty.h basic_blocks.h corefile.h \
+ gmon_io.h gmon_out.h search_list.h source.h symtab.h \
+ sym_ids.h
call_graph.o: call_graph.c gprof.h $(BFDDIR)/sysdep.h \
../bfd/config.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \
$(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
cg_arcs.o: cg_arcs.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h search_list.h source.h symtab.h \
- call_graph.h cg_arcs.h cg_dfn.h cg_print.h utils.h \
- sym_ids.h
+ search_list.h source.h symtab.h call_graph.h cg_arcs.h \
+ cg_dfn.h cg_print.h utils.h sym_ids.h
cg_dfn.o: cg_dfn.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h search_list.h source.h symtab.h \
- cg_arcs.h cg_dfn.h utils.h
+ search_list.h source.h symtab.h cg_arcs.h cg_dfn.h \
+ utils.h
cg_print.o: cg_print.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h search_list.h source.h symtab.h \
- cg_arcs.h cg_print.h hist.h utils.h corefile.h
+ search_list.h source.h symtab.h cg_arcs.h cg_print.h \
+ hist.h utils.h corefile.h
corefile.o: corefile.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h search_list.h source.h symtab.h \
- hist.h corefile.h $(INCDIR)/safe-ctype.h
+ search_list.h source.h symtab.h hist.h corefile.h $(INCDIR)/safe-ctype.h
gmon_io.o: gmon_io.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/binary-io.h \
search_list.h source.h symtab.h cg_arcs.h basic_blocks.h \
corefile.h call_graph.h gmon_io.h gmon_out.h gmon.h \
- hertz.h hist.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h
+ hertz.h hist.h $(INCDIR)/libiberty.h
gprof.o: gprof.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h ../bfd/bfdver.h search_list.h \
- source.h symtab.h basic_blocks.h call_graph.h cg_arcs.h \
- cg_print.h corefile.h gmon_io.h hertz.h hist.h sym_ids.h \
- $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
+ ../bfd/bfdver.h search_list.h source.h symtab.h basic_blocks.h \
+ call_graph.h cg_arcs.h cg_print.h corefile.h gmon_io.h \
+ hertz.h hist.h sym_ids.h $(INCDIR)/demangle.h
hertz.o: hertz.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h hertz.h
hist.o: hist.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h search_list.h source.h symtab.h \
- corefile.h gmon_io.h gmon_out.h hist.h sym_ids.h utils.h
+ search_list.h source.h symtab.h corefile.h gmon_io.h \
+ gmon_out.h hist.h sym_ids.h utils.h
source.o: source.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h search_list.h source.h
+ search_list.h source.h
search_list.o: search_list.c gprof.h $(BFDDIR)/sysdep.h \
../bfd/config.h $(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h \
$(INCDIR)/filenames.h ../bfd/bfd.h $(INCDIR)/symcat.h \
- gconfig.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
- search_list.h
+ gconfig.h $(INCDIR)/libiberty.h search_list.h
symtab.o: symtab.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h search_list.h \
sym_ids.o: sym_ids.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/libiberty.h \
- $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h search_list.h \
- source.h symtab.h cg_arcs.h sym_ids.h corefile.h
+ $(INCDIR)/safe-ctype.h search_list.h source.h symtab.h \
+ cg_arcs.h sym_ids.h corefile.h
utils.o: utils.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h $(INCDIR)/demangle.h \
- $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h search_list.h \
- source.h symtab.h cg_arcs.h utils.h corefile.h
+ $(INCDIR)/libiberty.h search_list.h source.h symtab.h \
+ cg_arcs.h utils.h corefile.h
i386.o: i386.c gprof.h $(BFDDIR)/sysdep.h ../bfd/config.h \
$(INCDIR)/ansidecl.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h \
../bfd/bfd.h $(INCDIR)/symcat.h gconfig.h search_list.h \