1b31505692
* Makefile.am (BFD32_LIBS): Add compress.lo. (BFD32_LIBS_CFILES): Add compress.c. (BFD_H_FILES): Likewise. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * config.in: Add HAVE_ZLIB_H * configure.in: Add test for libz and zlib.h * configure: Regenerate. * dwarf2.c (read_section): New function. (read_indirect_string): Call new function read_section. (read_abbrevs): Likewise. (decode_line_info): Likewise. (read_debug_ranges): Likewise. (find_line): Call new function read_section when just one .zdebug_info section is found, otherwise read and compress multiple sections. (_bfd_dwarf2_cleanup_debug_info): Free sec_info_ptr. * elf.c (_bfd_elf_make_section_from_shdr): Add zdebug prefix. (special_sections_z): New struct. (special_sections): Refer to special_sections_z. * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Recognize sections named .zdebug_*. (_bfd_mips_elf_fake_sections): Likewise. * compress.c: New file. (bfd_uncompress_section_contents): New function. bfd/doc/ * Makefile.am (BFD_H_DEP): Add ../compress.c. * Makefile.in: Regenerate. binutils/ * config.in: Add HAVE_ZLIB_H * configure.in: Add test for libz and zlib.h * configure: Regenerate. * dwarf.c (debug_displays): Add .zdebug_* strings. * dwarf.h (struct dwarf_section): Add fields uncompressed_namd and compressed_name. * objdump.c (load_debug_section): Call bfd_uncompress_section_contents when loading a compressed section. (dump_dwarf_section): Recognize compressed section name. (mach_o_dwarf_sections): Rename as mach_o_uncompressed_dwarf_sections. (mach_o_compressed_dwarf_sections): New variable. (generic_dwarf_section): Rename as generic_uncompressed_dwarf_sections. (generic_compressed_dwarf_sections): New variable. (check_mach_o_dwarf): Save and restore mach_o_compressed_dwarf_sections. * readelf.c: Add #include for config.h and zlib.h (process_section_headers): Recognize compressed section name. (uncompress_section_contents): New function. (load_debug_section): Call uncompress_section_contents when loading a compressed section. (display_debug_section): Recognize compressed section name. binutils/testsuite: * binutils-all/objdump.exp: Add test for objdump -s on a file with a compressed debug section. Add test for objdump -W on a file that contains a compressed debug section. * binutils-all/readelf.exp: Call readelf_compressed_wa_test. (readelf_compressed_wa_test): New function. * binutils-all/dw2-compressed.S: New file. * binutils-all/objdump.W: New file. * binutils-all/objdump.s: New file. * binutils-all/readelf.wa: New file.
741 lines
23 KiB
Makefile
741 lines
23 KiB
Makefile
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
@SET_MAKE@
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
top_builddir = ..
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
INSTALL = @INSTALL@
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = $(program_transform_name)
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
build_triplet = @build@
|
|
host_triplet = @host@
|
|
target_triplet = @target@
|
|
subdir = doc
|
|
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
am__aclocal_m4_deps = $(top_srcdir)/../bfd/acinclude.m4 \
|
|
$(top_srcdir)/../bfd/warning.m4 \
|
|
$(top_srcdir)/../config/depstand.m4 \
|
|
$(top_srcdir)/../config/gettext-sister.m4 \
|
|
$(top_srcdir)/../config/iconv.m4 \
|
|
$(top_srcdir)/../config/lead-dot.m4 \
|
|
$(top_srcdir)/../config/lib-ld.m4 \
|
|
$(top_srcdir)/../config/lib-link.m4 \
|
|
$(top_srcdir)/../config/lib-prefix.m4 \
|
|
$(top_srcdir)/../config/nls.m4 \
|
|
$(top_srcdir)/../config/override.m4 \
|
|
$(top_srcdir)/../config/po.m4 \
|
|
$(top_srcdir)/../config/proginstall.m4 \
|
|
$(top_srcdir)/../config/progtest.m4 \
|
|
$(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
|
|
$(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
|
|
$(top_srcdir)/configure.in
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
$(ACLOCAL_M4)
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
depcomp =
|
|
am__depfiles_maybe =
|
|
SOURCES =
|
|
INFO_DEPS = binutils.info
|
|
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
|
|
am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
|
|
DVIS = binutils.dvi
|
|
PDFS = binutils.pdf
|
|
PSS = binutils.ps
|
|
HTMLS = binutils.html
|
|
TEXINFOS = binutils.texi
|
|
TEXI2PDF = $(TEXI2DVI) --pdf --batch
|
|
MAKEINFOHTML = $(MAKEINFO) --html
|
|
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
|
|
DVIPS = dvips
|
|
man1dir = $(mandir)/man1
|
|
am__installdirs = "$(DESTDIR)$(man1dir)"
|
|
NROFF = nroff
|
|
MANS = $(man_MANS)
|
|
ACLOCAL = @ACLOCAL@
|
|
ALLOCA = @ALLOCA@
|
|
AMDEP_FALSE = @AMDEP_FALSE@
|
|
AMDEP_TRUE = @AMDEP_TRUE@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AWK = @AWK@
|
|
BUILD_DLLTOOL = @BUILD_DLLTOOL@
|
|
BUILD_DLLWRAP = @BUILD_DLLWRAP@
|
|
BUILD_INSTALL_MISC = @BUILD_INSTALL_MISC@
|
|
BUILD_MISC = @BUILD_MISC@
|
|
BUILD_NLMCONV = @BUILD_NLMCONV@
|
|
BUILD_SRCONV = @BUILD_SRCONV@
|
|
BUILD_WINDMC = @BUILD_WINDMC@
|
|
BUILD_WINDRES = @BUILD_WINDRES@
|
|
CATALOGS = @CATALOGS@
|
|
CATOBJEXT = @CATOBJEXT@
|
|
CC = @CC@
|
|
CCDEPMODE = @CCDEPMODE@
|
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
|
CFLAGS = @CFLAGS@
|
|
CPP = @CPP@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CYGPATH_W = @CYGPATH_W@
|
|
DATADIRNAME = @DATADIRNAME@
|
|
DEFS = @DEFS@
|
|
DEMANGLER_NAME = @DEMANGLER_NAME@
|
|
DEPDIR = @DEPDIR@
|
|
DLLTOOL_DEFS = @DLLTOOL_DEFS@
|
|
DUMPBIN = @DUMPBIN@
|
|
ECHO_C = @ECHO_C@
|
|
ECHO_N = @ECHO_N@
|
|
ECHO_T = @ECHO_T@
|
|
EGREP = @EGREP@
|
|
EMULATION = @EMULATION@
|
|
EMULATION_VECTOR = @EMULATION_VECTOR@
|
|
EXEEXT = @EXEEXT@
|
|
EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
|
|
FGREP = @FGREP@
|
|
GENCAT = @GENCAT@
|
|
GENINSRC_NEVER_FALSE = @GENINSRC_NEVER_FALSE@
|
|
GENINSRC_NEVER_TRUE = @GENINSRC_NEVER_TRUE@
|
|
GMSGFMT = @GMSGFMT@
|
|
GREP = @GREP@
|
|
HDEFINES = @HDEFINES@
|
|
INCINTL = @INCINTL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
LD = @LD@
|
|
LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
LIBICONV = @LIBICONV@
|
|
LIBINTL = @LIBINTL@
|
|
LIBINTL_DEP = @LIBINTL_DEP@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LN_S = @LN_S@
|
|
LTLIBICONV = @LTLIBICONV@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
MAINT = @MAINT@
|
|
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
|
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
MSGMERGE = @MSGMERGE@
|
|
NLMCONV_DEFS = @NLMCONV_DEFS@
|
|
NM = @NM@
|
|
NO_WERROR = @NO_WERROR@
|
|
OBJDUMP_DEFS = @OBJDUMP_DEFS@
|
|
OBJEXT = @OBJEXT@
|
|
PACKAGE = @PACKAGE@
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
POSUB = @POSUB@
|
|
RANLIB = @RANLIB@
|
|
SED = @SED@
|
|
SET_MAKE = @SET_MAKE@
|
|
SHELL = @SHELL@
|
|
STRIP = @STRIP@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
WARN_CFLAGS = @WARN_CFLAGS@
|
|
XGETTEXT = @XGETTEXT@
|
|
YACC = @YACC@
|
|
ac_ct_AR = @ac_ct_AR@
|
|
ac_ct_CC = @ac_ct_CC@
|
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
|
ac_ct_STRIP = @ac_ct_STRIP@
|
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
|
am__include = @am__include@
|
|
am__leading_dot = @am__leading_dot@
|
|
am__quote = @am__quote@
|
|
am__tar = @am__tar@
|
|
am__untar = @am__untar@
|
|
bindir = @bindir@
|
|
build = @build@
|
|
build_alias = @build_alias@
|
|
build_cpu = @build_cpu@
|
|
build_os = @build_os@
|
|
build_vendor = @build_vendor@
|
|
datadir = @datadir@
|
|
datarootdir = @datarootdir@
|
|
docdir = @docdir@
|
|
exec_prefix = @exec_prefix@
|
|
host = @host@
|
|
host_alias = @host_alias@
|
|
host_cpu = @host_cpu@
|
|
host_os = @host_os@
|
|
host_vendor = @host_vendor@
|
|
htmldir = @htmldir@
|
|
includedir = @includedir@
|
|
infodir = @infodir@
|
|
install_sh = @install_sh@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
localstatedir = @localstatedir@
|
|
lt_ECHO = @lt_ECHO@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
prefix = @prefix@
|
|
program_transform_name = @program_transform_name@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
target_cpu = @target_cpu@
|
|
target_os = @target_os@
|
|
target_vendor = @target_vendor@
|
|
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
|
|
TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
|
|
POD2MAN = pod2man --center="GNU Development Tools" \
|
|
--release="binutils-$(VERSION)" --section=1
|
|
|
|
|
|
# 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 \
|
|
windmc.1 \
|
|
$(DEMANGLER_NAME).1
|
|
|
|
info_TEXINFOS = binutils.texi
|
|
binutils_TEXI = $(srcdir)/binutils.texi
|
|
AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
|
|
|
TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \
|
|
-I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc
|
|
|
|
MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
|
|
html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
MAINTAINERCLEANFILES = binutils.info
|
|
|
|
# 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.
|
|
@GENINSRC_NEVER_TRUE@DISTCLEANFILES = binutils.info
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .dvi .ps
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
&& exit 0; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --foreign doc/Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
*config.status*) \
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
|
*) \
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
|
esac;
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
-rm -f libtool
|
|
|
|
binutils.info: binutils.texi
|
|
restore=: && backupdir="$(am__leading_dot)am$$$$" && \
|
|
rm -rf $$backupdir && mkdir $$backupdir && \
|
|
if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
|
|
for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
|
|
if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
|
|
done; \
|
|
else :; fi && \
|
|
if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
|
-o $@ `test -f 'binutils.texi' || echo '$(srcdir)/'`binutils.texi; \
|
|
then \
|
|
rc=0; \
|
|
else \
|
|
rc=$$?; \
|
|
$$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
|
|
fi; \
|
|
rm -rf $$backupdir; exit $$rc
|
|
|
|
binutils.dvi: binutils.texi
|
|
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
|
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
|
$(TEXI2DVI) -o $@ `test -f 'binutils.texi' || echo '$(srcdir)/'`binutils.texi
|
|
|
|
binutils.pdf: binutils.texi
|
|
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
|
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
|
$(TEXI2PDF) -o $@ `test -f 'binutils.texi' || echo '$(srcdir)/'`binutils.texi
|
|
|
|
binutils.html: binutils.texi
|
|
rm -rf $(@:.html=.htp)
|
|
if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
|
-o $(@:.html=.htp) `test -f 'binutils.texi' || echo '$(srcdir)/'`binutils.texi; \
|
|
then \
|
|
rm -rf $@; \
|
|
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
|
mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
|
|
else \
|
|
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
|
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
|
|
exit 1; \
|
|
fi
|
|
.dvi.ps:
|
|
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
|
$(DVIPS) -o $@ $<
|
|
|
|
uninstall-info-am:
|
|
@$(PRE_UNINSTALL)
|
|
@if (install-info --version && \
|
|
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
|
list='$(INFO_DEPS)'; \
|
|
for file in $$list; do \
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
|
|
install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
|
|
done; \
|
|
else :; fi
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(INFO_DEPS)'; \
|
|
for file in $$list; do \
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
(if cd "$(DESTDIR)$(infodir)"; then \
|
|
echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
|
|
rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
|
|
else :; fi); \
|
|
done
|
|
|
|
dist-info: $(INFO_DEPS)
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
list='$(INFO_DEPS)'; \
|
|
for base in $$list; do \
|
|
case $$base in \
|
|
$(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
|
|
esac; \
|
|
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
|
for file in $$d/$$base*; do \
|
|
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
|
test -f $(distdir)/$$relfile || \
|
|
cp -p $$file $(distdir)/$$relfile; \
|
|
done; \
|
|
done
|
|
|
|
mostlyclean-aminfo:
|
|
-rm -rf binutils.aux binutils.cp binutils.cps binutils.fn binutils.fns \
|
|
binutils.ky binutils.log binutils.pg binutils.pgs \
|
|
binutils.tmp binutils.toc binutils.tp binutils.tps \
|
|
binutils.vr binutils.vrs binutils.dvi binutils.pdf \
|
|
binutils.ps binutils.html
|
|
|
|
maintainer-clean-aminfo:
|
|
@list='$(INFO_DEPS)'; for i in $$list; do \
|
|
i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
|
|
rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
|
|
done
|
|
|
|
clean-info: mostlyclean-aminfo
|
|
install-man1: $(man1_MANS) $(man_MANS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
|
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
case "$$ext" in \
|
|
1*) ;; \
|
|
*) ext='1' ;; \
|
|
esac; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
|
|
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
|
|
done
|
|
uninstall-man1:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
case "$$ext" in \
|
|
1*) ;; \
|
|
*) ext='1' ;; \
|
|
esac; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
|
|
rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
|
|
done
|
|
tags: TAGS
|
|
TAGS:
|
|
|
|
ctags: CTAGS
|
|
CTAGS:
|
|
|
|
check-am:
|
|
check: check-am
|
|
all-am: Makefile $(MANS)
|
|
installdirs:
|
|
for dir in "$(DESTDIR)$(man1dir)"; do \
|
|
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
|
done
|
|
install: install-am
|
|
install-exec: install-exec-am
|
|
install-data: install-data-am
|
|
uninstall: uninstall-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
`test -z '$(STRIP)' || \
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
mostlyclean-generic:
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
clean: clean-am
|
|
|
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
-rm -f Makefile
|
|
distclean-am: clean-am distclean-generic distclean-libtool
|
|
|
|
dvi: dvi-am
|
|
|
|
dvi-am: $(DVIS)
|
|
|
|
html: html-am
|
|
|
|
html-am: $(HTMLS)
|
|
|
|
info: info-am
|
|
|
|
info-am: $(INFO_DEPS) info-local
|
|
|
|
install-data-am: install-data-local install-man
|
|
|
|
install-exec-am:
|
|
|
|
install-info: install-info-am
|
|
|
|
install-info-am: $(INFO_DEPS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
list='$(INFO_DEPS)'; \
|
|
for file in $$list; do \
|
|
case $$file in \
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
esac; \
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
|
|
$$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
|
|
if test -f $$ifile; then \
|
|
relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
|
|
echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
|
|
$(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
|
|
else : ; fi; \
|
|
done; \
|
|
done
|
|
@$(POST_INSTALL)
|
|
@if (install-info --version && \
|
|
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
|
list='$(INFO_DEPS)'; \
|
|
for file in $$list; do \
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
|
|
install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
|
|
done; \
|
|
else : ; fi
|
|
install-man: install-man1
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
-rm -f Makefile
|
|
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
|
|
maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic \
|
|
mostlyclean-libtool
|
|
|
|
pdf: pdf-am
|
|
|
|
pdf-am: $(PDFS)
|
|
|
|
ps: ps-am
|
|
|
|
ps-am: $(PSS)
|
|
|
|
uninstall-am: uninstall-man
|
|
|
|
uninstall-man: uninstall-man1
|
|
|
|
.PHONY: all all-am check check-am clean clean-generic clean-info \
|
|
clean-libtool dist-info distclean distclean-generic \
|
|
distclean-libtool dvi dvi-am html html-am info info-am \
|
|
info-local install install-am install-data install-data-am \
|
|
install-data-local install-exec install-exec-am install-info \
|
|
install-info-am install-man install-man1 install-strip \
|
|
installcheck installcheck-am installdirs maintainer-clean \
|
|
maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
|
|
mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool pdf \
|
|
pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
|
|
uninstall-man uninstall-man1
|
|
|
|
|
|
# Man page generation from texinfo
|
|
addr2line.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Daddr2line < $(binutils_TEXI) > addr2line.pod
|
|
-($(POD2MAN) addr2line.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f addr2line.pod
|
|
|
|
ar.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dar < $(binutils_TEXI) > ar.pod
|
|
-($(POD2MAN) ar.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f ar.pod
|
|
|
|
dlltool.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Ddlltool < $(binutils_TEXI) > dlltool.pod
|
|
-($(POD2MAN) dlltool.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f dlltool.pod
|
|
|
|
nlmconv.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dnlmconv < $(binutils_TEXI) > nlmconv.pod
|
|
-($(POD2MAN) nlmconv.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f nlmconv.pod
|
|
|
|
nm.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dnm < $(binutils_TEXI) > nm.pod
|
|
-($(POD2MAN) nm.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f nm.pod
|
|
|
|
objcopy.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dobjcopy < $(binutils_TEXI) > objcopy.pod
|
|
-($(POD2MAN) objcopy.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f objcopy.pod
|
|
|
|
objdump.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dobjdump < $(binutils_TEXI) > objdump.pod
|
|
-($(POD2MAN) objdump.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f objdump.pod
|
|
|
|
ranlib.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dranlib < $(binutils_TEXI) > ranlib.pod
|
|
-($(POD2MAN) ranlib.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f ranlib.pod
|
|
|
|
readelf.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dreadelf < $(binutils_TEXI) > readelf.pod
|
|
-($(POD2MAN) readelf.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f readelf.pod
|
|
|
|
size.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dsize < $(binutils_TEXI) > size.pod
|
|
-($(POD2MAN) size.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f size.pod
|
|
|
|
strings.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dstrings < $(binutils_TEXI) > strings.pod
|
|
-($(POD2MAN) strings.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f strings.pod
|
|
|
|
strip.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dstrip < $(binutils_TEXI) > strip.pod
|
|
-($(POD2MAN) strip.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f strip.pod
|
|
|
|
windres.1: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dwindres < $(binutils_TEXI) > windres.pod
|
|
-($(POD2MAN) windres.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f windres.pod
|
|
|
|
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
|
|
|
|
cxxfilt.man: $(binutils_TEXI) $(binutils_TEXINFOS)
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) -Dcxxfilt < $(binutils_TEXI) > $(DEMANGLER_NAME).pod
|
|
-($(POD2MAN) $(DEMANGLER_NAME).pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
|
|
rm -f $(DEMANGLER_NAME).pod
|
|
|
|
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
|
|
if test -f cxxfilt.man; then \
|
|
man=cxxfilt.man; \
|
|
else \
|
|
man=$(srcdir)/cxxfilt.man; \
|
|
fi; \
|
|
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
|
|
-e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
|
|
> $(DEMANGLER_NAME).1
|
|
|
|
# We want install to imply install-info as per GNU standards, despite the
|
|
# cygnus option.
|
|
install-data-local: install-info
|
|
|
|
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
|
|
|
|
# Maintenance
|
|
|
|
# We need it for the taz target in ../../Makefile.in.
|
|
info-local: $(MANS)
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|