* breakpoint.c (breakpoint_address_is_meaningful): New function.
[deliverable/binutils-gdb.git] / gprof / Makefile.am
index 50d787b0e21d46e3096463b73a56da9d1bd33efb..4e311d4384dcdbfb2b48dabe3bccfa9e9d51c5ba 100644 (file)
@@ -49,9 +49,27 @@ po/POTFILES.in: @MAINT@ Makefile
        for file in $(POTFILES); do echo $$file; done | sort > tmp \
          && mv tmp $(srcdir)/po/POTFILES.in
 
+MANCONF  = -Dman
+
+TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
+
+POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
+
 info_TEXINFOS = gprof.texi
 man_MANS = gprof.1
 
+# Build the man page from the texinfo file
+# The sed command removes the no-adjust Nroff command so that
+# the man output looks standard.
+$(srcdir)/gprof.1: $(srcdir)/gprof.texi
+       touch $(srcdir)/gprof.1
+       -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
+       -($(POD2MAN) gprof.pod | \
+               sed -e '/^.if n .na/d' > $(srcdir)/gprof.1.T$$$$ && \
+               mv -f $(srcdir)/gprof.1.T$$$$ $(srcdir)/gprof.1) || \
+               (rm -f $(srcdir)/gprof.1.T$$$$ && exit 1)
+       rm -f gprof.pod
+
 # Targets to rebuild dependencies in this Makefile.
 # Have to get rid of DEP1 here so that "$?" later includes all sources.
 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
@@ -141,7 +159,8 @@ gprof.o: gprof.c $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
   $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h gconfig.h \
   $(INCDIR)/bin-bugs.h basic_blocks.h source.h search_list.h \
   symtab.h ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \
-  corefile.h gmon_io.h gmon.h hertz.h hist.h sym_ids.h
+  corefile.h gmon_io.h gmon.h hertz.h hist.h sym_ids.h \
+  $(INCDIR)/demangle.h
 hertz.o: hertz.c hertz.h gprof.h $(INCDIR)/ansidecl.h \
   $(BFDDIR)/sysdep.h ../bfd/config.h $(INCDIR)/fopen-same.h \
   $(INCDIR)/filenames.h gconfig.h $(INCDIR)/bin-bugs.h
This page took 0.022862 seconds and 4 git commands to generate.