2001-06-19 13:57:29 +02:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
# What version of the manual you want; "all" includes everything
|
|
|
|
CONFIG=all
|
|
|
|
|
|
|
|
# Options to extract the man page from as.texinfo
|
|
|
|
MANCONF = -Dman
|
|
|
|
|
2006-05-02 16:20:46 +02:00
|
|
|
TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2001-08-01 17:54:41 +02:00
|
|
|
POD2MAN = pod2man --center="GNU Development Tools" \
|
|
|
|
--release="binutils-$(VERSION)" --section=1
|
2001-06-19 13:57:29 +02:00
|
|
|
|
|
|
|
# List of man pages generated from binutils.texi
|
|
|
|
man_MANS = \
|
|
|
|
addr2line.1 \
|
|
|
|
ar.1 \
|
|
|
|
dlltool.1 \
|
|
|
|
nlmconv.1 \
|
|
|
|
nm.1 \
|
|
|
|
objcopy.1 \
|
|
|
|
objdump.1 \
|
|
|
|
ranlib.1 \
|
|
|
|
readelf.1 \
|
|
|
|
size.1 \
|
|
|
|
strings.1 \
|
|
|
|
strip.1 \
|
|
|
|
windres.1 \
|
2007-06-19 15:24:33 +02:00
|
|
|
windmc.1 \
|
2001-06-19 13:57:29 +02:00
|
|
|
$(DEMANGLER_NAME).1
|
|
|
|
|
|
|
|
info_TEXINFOS = binutils.texi
|
2005-05-15 20:19:45 +02:00
|
|
|
binutils_TEXI = $(srcdir)/binutils.texi
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2007-03-15 15:17:20 +01:00
|
|
|
AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
2007-08-13 03:53:01 +02:00
|
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
2007-03-15 15:17:20 +01:00
|
|
|
TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
2007-08-13 03:53:01 +02:00
|
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
2001-06-19 13:57:29 +02:00
|
|
|
|
|
|
|
# Man page generation from texinfo
|
2006-05-19 15:10:58 +02:00
|
|
|
addr2line.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Daddr2line < $(binutils_TEXI) > addr2line.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) addr2line.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f addr2line.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
ar.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dar < $(binutils_TEXI) > ar.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) ar.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f ar.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
dlltool.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Ddlltool < $(binutils_TEXI) > dlltool.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) dlltool.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f dlltool.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
nlmconv.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dnlmconv < $(binutils_TEXI) > nlmconv.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) nlmconv.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f nlmconv.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
nm.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dnm < $(binutils_TEXI) > nm.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) nm.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f nm.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
objcopy.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dobjcopy < $(binutils_TEXI) > objcopy.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) objcopy.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f objcopy.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
objdump.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dobjdump < $(binutils_TEXI) > objdump.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) objdump.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f objdump.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
ranlib.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dranlib < $(binutils_TEXI) > ranlib.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) ranlib.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f ranlib.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
readelf.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dreadelf < $(binutils_TEXI) > readelf.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) readelf.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f readelf.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
size.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dsize < $(binutils_TEXI) > size.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) size.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f size.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
strings.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dstrings < $(binutils_TEXI) > strings.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) strings.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f strings.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
strip.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dstrip < $(binutils_TEXI) > strip.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) strip.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f strip.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
windres.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dwindres < $(binutils_TEXI) > windres.pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) windres.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f windres.pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
2007-06-19 15:24:33 +02:00
|
|
|
windmc.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
|
|
touch $@
|
|
|
|
-$(TEXI2POD) $(MANCONF) -Dwindmc < $(binutils_TEXI) > windmc.pod
|
|
|
|
-($(POD2MAN) windmc.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
|
|
rm -f windmc.pod
|
|
|
|
|
2006-05-19 15:10:58 +02:00
|
|
|
cxxfilt.man: $(binutils_TEXI) $(binutils_TEXINFOS)
|
2001-06-19 13:57:29 +02:00
|
|
|
touch $@
|
2003-11-28 05:58:41 +01:00
|
|
|
-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $(binutils_TEXI) > $(DEMANGLER_NAME).pod
|
2001-07-03 18:35:34 +02:00
|
|
|
-($(POD2MAN) $(DEMANGLER_NAME).pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
2001-06-19 13:57:29 +02:00
|
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
2001-07-03 18:35:34 +02:00
|
|
|
rm -f $(DEMANGLER_NAME).pod
|
2001-06-19 13:57:29 +02:00
|
|
|
|
|
|
|
MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
|
|
|
|
|
|
|
|
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
|
2001-09-19 19:02:38 +02:00
|
|
|
if test -f cxxfilt.man; then \
|
|
|
|
man=cxxfilt.man; \
|
|
|
|
else \
|
|
|
|
man=$(srcdir)/cxxfilt.man; \
|
|
|
|
fi; \
|
2001-07-03 18:35:34 +02:00
|
|
|
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
|
2001-09-19 19:02:38 +02:00
|
|
|
-e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
|
2001-06-19 13:57:29 +02:00
|
|
|
> $(DEMANGLER_NAME).1
|
|
|
|
|
2002-01-26 22:27:36 +01:00
|
|
|
# We want install to imply install-info as per GNU standards, despite the
|
|
|
|
# cygnus option.
|
2005-05-15 20:19:45 +02:00
|
|
|
install-data-local: install-info
|
2002-01-26 22:27:36 +01:00
|
|
|
|
2009-02-03 16:54:05 +01:00
|
|
|
pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
|
|
|
|
|
|
install-pdf: 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
|
|
|
|
|
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
2006-04-06 23:49:35 +02:00
|
|
|
html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
|
|
|
|
|
|
install-html: install-html-am
|
|
|
|
|
|
|
|
install-html-am: $(HTMLS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
|
|
|
|
@list='$(HTMLS)'; for p in $$list; do \
|
|
|
|
if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
|
|
|
|
f=$(html__strip_dir) \
|
|
|
|
if test -d "$$d$$p"; then \
|
|
|
|
echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
$(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
|
|
|
echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
$(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
|
|
|
|
else \
|
|
|
|
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
2007-03-15 15:17:20 +01:00
|
|
|
MAINTAINERCLEANFILES = binutils.info
|
2006-12-11 16:09:46 +01:00
|
|
|
|
|
|
|
# Automake 1.9 will only build info files in the objdir if they are
|
|
|
|
# mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
|
|
|
|
# though, so we use a bogus condition.
|
|
|
|
if GENINSRC_NEVER
|
|
|
|
DISTCLEANFILES = binutils.info
|
|
|
|
endif
|
|
|
|
|
2001-06-19 13:57:29 +02:00
|
|
|
# Maintenance
|
|
|
|
|
|
|
|
# We need it for the taz target in ../../Makefile.in.
|
2005-05-15 20:19:45 +02:00
|
|
|
info-local: $(MANS)
|