1999-05-03 15:29:06 +08:00
|
|
|
#
|
|
|
|
# Makefile.in for etc
|
|
|
|
#
|
|
|
|
|
2003-01-03 04:51:02 +08:00
|
|
|
DESTDIR =
|
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
libdir = @libdir@
|
|
|
|
tooldir = $(libdir)
|
|
|
|
datadir = @datadir@
|
|
|
|
|
|
|
|
mandir = @mandir@
|
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
man2dir = $(mandir)/man2
|
|
|
|
man3dir = $(mandir)/man3
|
|
|
|
man4dir = $(mandir)/man4
|
|
|
|
man5dir = $(mandir)/man5
|
|
|
|
man6dir = $(mandir)/man6
|
|
|
|
man7dir = $(mandir)/man7
|
|
|
|
man8dir = $(mandir)/man8
|
|
|
|
man9dir = $(mandir)/man9
|
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-07 05:49:30 +08:00
|
|
|
datarootdir = @datarootdir@
|
|
|
|
docdir = @docdir@
|
1999-05-03 15:29:06 +08:00
|
|
|
infodir = @infodir@
|
2007-03-28 02:09:32 +08:00
|
|
|
pdfdir = @docdir@
|
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-07 05:49:30 +08:00
|
|
|
htmldir = @htmldir@
|
1999-05-03 15:29:06 +08:00
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
|
|
MAKEINFO = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
|
|
|
|
then echo ../texinfo/makeinfo/makeinfo; \
|
|
|
|
else echo makeinfo; fi`
|
|
|
|
TEXI2DVI = `if [ -f ../texinfo/util/texi2dvi ]; \
|
|
|
|
then echo ../texinfo/util/texi2dvi; \
|
|
|
|
else echo texi2dvi; fi`
|
2007-03-28 02:09:32 +08:00
|
|
|
TEXI2PDF = `if [ -f ../texinfo/util/texi2dvi ]; \
|
|
|
|
then echo "../texinfo/util/texi2dvi --pdf"; \
|
|
|
|
else echo "texi2dvi --pdf"; fi`
|
2006-02-28 00:26:23 +08:00
|
|
|
TEXI2HTML = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
|
|
|
|
then echo "../texinfo/makeinfo/makeinfo --html"; \
|
|
|
|
else echo "makeinfo --html"; fi`
|
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
DVIPS = dvips
|
|
|
|
|
|
|
|
# Where to find texinfo.tex to format documentation with TeX.
|
|
|
|
TEXIDIR = $(srcdir)/../texinfo
|
|
|
|
|
|
|
|
#### Host, target, and site specific Makefile fragments come in here.
|
|
|
|
###
|
|
|
|
|
|
|
|
INFOFILES = standards.info configure.info
|
|
|
|
DVIFILES = standards.dvi configure.dvi
|
2007-03-28 02:09:32 +08:00
|
|
|
PDFFILES = standards.pdf configure.pdf
|
2006-02-28 00:26:23 +08:00
|
|
|
HTMLFILES = standards.html configure.html
|
1999-05-03 15:29:06 +08:00
|
|
|
|
2005-05-20 07:49:46 +08:00
|
|
|
all: info
|
2002-01-27 05:35:45 +08:00
|
|
|
install: install-info
|
1999-05-03 15:29:06 +08:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
|
|
|
|
info:
|
|
|
|
for f in $(INFOFILES); do \
|
|
|
|
if test -f $(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
|
|
|
|
if $(MAKE) "MAKEINFO=$(MAKEINFO)" $$f; then \
|
|
|
|
true; \
|
|
|
|
else \
|
|
|
|
exit 1; \
|
|
|
|
fi; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
install-info: info
|
2003-01-03 04:51:02 +08:00
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
|
1999-05-03 15:29:06 +08:00
|
|
|
if test ! -f standards.info; then cd $(srcdir); fi; \
|
|
|
|
if test -f standards.info; then \
|
|
|
|
for i in standards.info*; do \
|
2003-01-03 04:51:02 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
|
1999-05-03 15:29:06 +08:00
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
if test ! -f configure.info; then cd $(srcdir); fi; \
|
|
|
|
if test -f configure.info; then \
|
|
|
|
for i in configure.info*; do \
|
2003-01-03 04:51:02 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
|
1999-05-03 15:29:06 +08:00
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
|
2006-02-28 00:26:23 +08:00
|
|
|
html:
|
|
|
|
for f in $(HTMLFILES); do \
|
|
|
|
if test -f $(srcdir)/`echo $$f | sed -e 's/.html$$/.texi/'`; then \
|
|
|
|
if $(MAKE) "TEXI2HTML=$(TEXI2HTML)" $$f; then \
|
|
|
|
true; \
|
|
|
|
else \
|
|
|
|
exit 1; \
|
|
|
|
fi; \
|
|
|
|
fi; \
|
|
|
|
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-07 05:49:30 +08:00
|
|
|
install-html: html
|
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(htmldir)
|
|
|
|
if test ! -f standards.html; then cd $(srcdir); fi; \
|
|
|
|
if test -f standards.html; then \
|
|
|
|
for i in standards.html*; do \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
|
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
if test ! -f configure.html; then cd $(srcdir); fi; \
|
|
|
|
if test -f configure.html; then \
|
|
|
|
for i in configure.html*; do \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
|
|
|
|
done; \
|
|
|
|
fi
|
2006-02-28 00:26:23 +08:00
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
dvi:
|
|
|
|
for f in $(DVIFILES); do \
|
|
|
|
if test -f $(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
|
|
|
|
if $(MAKE) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
|
|
|
|
true; \
|
|
|
|
else \
|
|
|
|
exit 1; \
|
|
|
|
fi; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
2007-03-28 02:09:32 +08:00
|
|
|
pdf:
|
|
|
|
for f in $(PDFFILES); do \
|
|
|
|
if test -f $(srcdir)/`echo $$f | sed -e 's/.pdf$$/.texi/'`; then \
|
|
|
|
if $(MAKE) "TEXI2PDF=$(TEXI2PDF)" $$f; then \
|
|
|
|
true; \
|
|
|
|
else \
|
|
|
|
exit 1; \
|
|
|
|
fi; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
install-pdf: pdf
|
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(pdfdir)/etc
|
|
|
|
if test ! -f standards.pdf; then cd $(srcdir); fi; \
|
|
|
|
if test -f standards.pdf; then \
|
|
|
|
for i in standards.pdf*; do \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(pdfdir)/etc/$$i; \
|
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
if test ! -f configure.pdf; then cd $(srcdir); fi; \
|
|
|
|
if test -f configure.pdf; then \
|
|
|
|
for i in configure.pdf*; do \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(pdfdir)/etc/$$i; \
|
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
|
|
|
|
$(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
|
|
|
|
|
2006-02-28 00:26:23 +08:00
|
|
|
standards.html: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
|
|
|
|
$(TEXI2HTML) --no-split -I$(srcdir) -o standards.html $(srcdir)/standards.texi
|
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
standards.dvi: $(srcdir)/standards.texi
|
|
|
|
TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
|
|
|
|
|
|
|
|
standards.ps: standards.dvi
|
|
|
|
$(DVIPS) standards.dvi -o standards.ps
|
|
|
|
|
2007-03-28 02:09:32 +08:00
|
|
|
standards.pdf: $(srcdir)/standards.texi
|
|
|
|
TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/standards.texi
|
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
# makeinfo requires images to be in the current directory.
|
|
|
|
configure.info: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin
|
|
|
|
rm -f configdev.txt configbuild.txt
|
|
|
|
cp $(srcdir)/configdev.tin configdev.txt
|
|
|
|
cp $(srcdir)/configbuild.tin configbuild.txt
|
|
|
|
$(MAKEINFO) -I$(srcdir) -o configure.info $(srcdir)/configure.texi
|
|
|
|
rm -f configdev.txt configbuild.txt
|
|
|
|
|
|
|
|
# texi2dvi wants both the .txt and the .eps files.
|
|
|
|
configure.dvi: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
|
|
|
|
rm -f configdev.txt configbuild.txt
|
|
|
|
cp $(srcdir)/configdev.tin configdev.txt
|
|
|
|
cp $(srcdir)/configbuild.tin configbuild.txt
|
|
|
|
rm -f configdev.eps configbuild.eps
|
|
|
|
cp $(srcdir)/configdev.ein configdev.eps
|
|
|
|
cp $(srcdir)/configbuild.ein configbuild.eps
|
|
|
|
TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/configure.texi
|
|
|
|
rm -f configdev.txt configbuild.txt
|
|
|
|
rm -f configdev.eps configbuild.eps
|
|
|
|
|
|
|
|
# dvips requires images to be in the current directory
|
|
|
|
configure.ps: configure.dvi $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
|
|
|
|
rm -f configdev.eps configbuild.eps
|
|
|
|
cp $(srcdir)/configdev.ein configdev.eps
|
|
|
|
cp $(srcdir)/configbuild.ein configbuild.eps
|
|
|
|
$(DVIPS) configure.dvi -o configure.ps
|
|
|
|
rm -f configdev.eps configbuild.eps
|
|
|
|
|
2007-03-28 02:09:32 +08:00
|
|
|
configure.pdf: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
|
|
|
|
rm -f configdev.pdf configbuild.pdf
|
|
|
|
epstopdf $(srcdir)/configdev.ein -outfile=configdev.pdf
|
|
|
|
epstopdf $(srcdir)/configbuild.ein -outfile=configbuild.pdf
|
|
|
|
TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/configure.texi
|
|
|
|
rm -f configdev.pdf configbuild.pdf
|
|
|
|
|
1999-05-03 15:29:06 +08:00
|
|
|
configure.html: $(srcdir)/configure.texi
|
2006-02-28 00:26:23 +08:00
|
|
|
cp $(srcdir)/configdev.jin configdev.jpg
|
|
|
|
cp $(srcdir)/configbuild.jin configbuild.jpg
|
|
|
|
$(TEXI2HTML) --no-split -I$(srcdir) -o configure.html $(srcdir)/configure.texi
|
1999-05-03 15:29:06 +08:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
|
|
|
|
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
|
2006-02-28 00:26:23 +08:00
|
|
|
rm -f configdev.txt configbuild.txt
|
|
|
|
rm -f configdev.eps configbuild.eps
|
1999-05-03 15:29:06 +08:00
|
|
|
rm -f configdev.jpg configbuild.jpg
|
|
|
|
|
|
|
|
mostlyclean: clean
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile config.status config.cache
|
|
|
|
|
|
|
|
maintainer-clean realclean: distclean
|
2006-02-28 00:26:23 +08:00
|
|
|
rm -f *.html*
|
1999-05-03 15:29:06 +08:00
|
|
|
rm -f *.info*
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
|
|
|
|
$(SHELL) ./config.status
|
|
|
|
|
|
|
|
## these last targets are for standards.texi conformance
|
|
|
|
dist:
|
|
|
|
check:
|
|
|
|
installcheck:
|
|
|
|
TAGS:
|