diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-25 23:41:42 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-29 20:28:29 -0500 |
commit | 48b5f33ab1df5c78fcd51605340cdb6c146f594e (patch) | |
tree | 1fddf5d9c6e26c9ae45d1695e5e70f25a0edca64 /ld | |
parent | c7d1b270c20ced5f1e3265de898a5205badeb94a (diff) | |
download | gdb-48b5f33ab1df5c78fcd51605340cdb6c146f594e.zip gdb-48b5f33ab1df5c78fcd51605340cdb6c146f594e.tar.gz gdb-48b5f33ab1df5c78fcd51605340cdb6c146f594e.tar.bz2 |
ld: enable silent build rules
Also add $(AM_V_xxx) to various manual rules in here.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/Makefile.am | 62 | ||||
-rw-r--r-- | ld/Makefile.in | 62 | ||||
-rwxr-xr-x | ld/configure | 43 | ||||
-rw-r--r-- | ld/configure.ac | 1 |
4 files changed, 104 insertions, 64 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index 2fe9e28..d27d995 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -508,38 +508,38 @@ STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c # yacc will produce working code which contain compile time warnings. ldgram.@OBJEXT@: ldgram.c if am__fastdepCC - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) + $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif - $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) + $(AM_V_CC)$(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) endif ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c if am__fastdepCC - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR) - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR) + $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif - $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR) + $(AM_V_CC)$(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR) endif deffilep.@OBJEXT@: deffilep.c if am__fastdepCC - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) + $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif - $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) + $(AM_V_CC)$(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) endif SRC_POTFILES = $(CFILES) $(HFILES) @@ -555,18 +555,18 @@ po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES) ldmain.@OBJEXT@: ldmain.c config.status if am__fastdepCC - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ -DDEFAULT_EMULATION='"$(EMUL)"' \ -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ $(srcdir)/ldmain.c - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif - $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ + $(AM_V_CC)$(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ $(srcdir)/ldmain.c @@ -574,31 +574,31 @@ endif ldfile.@OBJEXT@: ldfile.c config.status if am__fastdepCC - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ $(srcdir)/ldfile.c - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif - $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ + $(AM_V_CC)$(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ -DTOOLBINDIR='"$(tooldir)/bin"' \ $(srcdir)/ldfile.c endif eelf32_spu.@OBJEXT@: eelf32_spu.c if am__fastdepCC - $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif - $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ + $(AM_V_CC)$(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ eelf32_spu.c endif @@ -618,7 +618,7 @@ ldemul-list.h: Makefile mv ldemul-tmp.h ldemul-list.h stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) - cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed + $(AM_V_GEN)cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed if AMDEP GENDEPDIR=$(DEPDIR) @@ -636,12 +636,12 @@ GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed # (The recursive variable expansion is portable.) run-genscripts: - ${GENSCRIPTS} $(script_target) "$($(script_tdirname))" + $(AM_V_at)${GENSCRIPTS} $(script_target) "$($(script_tdirname))" .PHONY: run-genscripts $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS) - base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \ + $(AM_V_GEN)base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \ $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base" # It's a pity we can't generate these include "./deps/e*.Pc" lines @@ -1005,11 +1005,11 @@ check-DEJAGNU: site.exp fi development.exp: $(BFDDIR)/development.sh - $(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ + $(AM_V_GEN)$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@ enablings.exp: - echo "set enable_libctf ${enable_libctf}" >> $@ + $(AM_V_GEN)echo "set enable_libctf ${enable_libctf}" >> $@ # # # Build a dummy plugin using libtool. @@ -1043,20 +1043,20 @@ libdep_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ # because almost all configs use "gen" version of manual. # Set DOCVER above to change. configdoc.texi: ${DOCVER}-doc.texi - cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi - chmod u+w ./configdoc.texi + $(AM_V_GEN)cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi + $(AM_V_at)chmod u+w ./configdoc.texi # Build the man page from the texinfo file # The sed command removes the no-adjust Nroff command so that # the man output looks standard. ld.1: $(srcdir)/ld.texi configdoc.texi - touch $@ - -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod - -($(POD2MAN) ld.pod | \ + $(AM_V_GEN)touch $@ + $(AM_V_at)-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod + $(AM_V_at)-($(POD2MAN) ld.pod | \ sed -e '/^.if n .na/d' > $@.T$$$$ && \ mv -f $@.T$$$$ $@) || \ (rm -f $@.T$$$$ && exit 1) - rm -f ld.pod + $(AM_V_at)rm -f ld.pod MAINTAINERCLEANFILES = configdoc.texi ld.1 @@ -1116,8 +1116,8 @@ info-recursive: ld.1 html-local: doc/ld/index.html doc/ld/index.html: ld.texi $(ld_TEXINFOS) - $(MKDIR_P) doc - $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + $(AM_V_at)$(MKDIR_P) doc + $(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ --split=node -I$(srcdir) $(srcdir)/ld.texi -o doc/ld DISTCLEANFILES = site.exp development.exp enablings.exp site.bak stringify.sed diff --git a/ld/Makefile.in b/ld/Makefile.in index 3570f7f..d159f14 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -2214,25 +2214,25 @@ uninstall-man: uninstall-man1 # Disable -Werror, if it has been enabled, since old versions of bison/ # yacc will produce working code which contain compile time warnings. ldgram.@OBJEXT@: ldgram.c -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) +@am__fastdepCC_TRUE@ $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) +@am__fastdepCC_FALSE@ $(AM_V_CC)$(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR) -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR) +@am__fastdepCC_TRUE@ $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR) +@am__fastdepCC_FALSE@ $(AM_V_CC)$(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR) deffilep.@OBJEXT@: deffilep.c -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) +@am__fastdepCC_TRUE@ $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) +@am__fastdepCC_FALSE@ $(AM_V_CC)$(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) po/SRC-POTFILES.in: @MAINT@ Makefile for f in $(SRC_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \ @@ -2243,37 +2243,37 @@ po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES) && mv $@-tmp $(srcdir)/po/BLD-POTFILES.in ldmain.@OBJEXT@: ldmain.c config.status -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ @am__fastdepCC_TRUE@ -DDEFAULT_EMULATION='"$(EMUL)"' \ @am__fastdepCC_TRUE@ -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ @am__fastdepCC_TRUE@ -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ @am__fastdepCC_TRUE@ $(srcdir)/ldmain.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ +@am__fastdepCC_FALSE@ $(AM_V_CC)$(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ @am__fastdepCC_FALSE@ -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ @am__fastdepCC_FALSE@ -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ @am__fastdepCC_FALSE@ $(srcdir)/ldmain.c ldfile.@OBJEXT@: ldfile.c config.status -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ @am__fastdepCC_TRUE@ -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ @am__fastdepCC_TRUE@ $(srcdir)/ldfile.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ +@am__fastdepCC_FALSE@ $(AM_V_CC)$(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ @am__fastdepCC_FALSE@ -DTOOLBINDIR='"$(tooldir)/bin"' \ @am__fastdepCC_FALSE@ $(srcdir)/ldfile.c eelf32_spu.@OBJEXT@: eelf32_spu.c -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ @am__fastdepCC_TRUE@ -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ +@am__fastdepCC_FALSE@ $(AM_V_CC)$(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ @am__fastdepCC_FALSE@ eelf32_spu.c ldemul-list.h: Makefile @@ -2292,7 +2292,7 @@ ldemul-list.h: Makefile mv ldemul-tmp.h ldemul-list.h stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) - cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed + $(AM_V_GEN)cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed @TDIRS@ @@ -2302,12 +2302,12 @@ stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) # (The recursive variable expansion is portable.) run-genscripts: - ${GENSCRIPTS} $(script_target) "$($(script_tdirname))" + $(AM_V_at)${GENSCRIPTS} $(script_target) "$($(script_tdirname))" .PHONY: run-genscripts $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS) - base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \ + $(AM_V_GEN)base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \ $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base" # It's a pity we can't generate these include "./deps/e*.Pc" lines @@ -2652,31 +2652,31 @@ check-DEJAGNU: site.exp fi development.exp: $(BFDDIR)/development.sh - $(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ + $(AM_V_GEN)$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@ enablings.exp: - echo "set enable_libctf ${enable_libctf}" >> $@ + $(AM_V_GEN)echo "set enable_libctf ${enable_libctf}" >> $@ # DOCUMENTATION TARGETS # Manual configuration file; not usually attached to normal configuration, # because almost all configs use "gen" version of manual. # Set DOCVER above to change. configdoc.texi: ${DOCVER}-doc.texi - cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi - chmod u+w ./configdoc.texi + $(AM_V_GEN)cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi + $(AM_V_at)chmod u+w ./configdoc.texi # Build the man page from the texinfo file # The sed command removes the no-adjust Nroff command so that # the man output looks standard. ld.1: $(srcdir)/ld.texi configdoc.texi - touch $@ - -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod - -($(POD2MAN) ld.pod | \ + $(AM_V_GEN)touch $@ + $(AM_V_at)-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod + $(AM_V_at)-($(POD2MAN) ld.pod | \ sed -e '/^.if n .na/d' > $@.T$$$$ && \ mv -f $@.T$$$$ $@) || \ (rm -f $@.T$$$$ && exit 1) - rm -f ld.pod + $(AM_V_at)rm -f ld.pod mostlyclean-local: -rm -rf tmpdir @@ -2718,8 +2718,8 @@ info-recursive: ld.1 html-local: doc/ld/index.html doc/ld/index.html: ld.texi $(ld_TEXINFOS) - $(MKDIR_P) doc - $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + $(AM_V_at)$(MKDIR_P) doc + $(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ --split=node -I$(srcdir) $(srcdir)/ld.texi -o doc/ld distclean-local: rm -rf ldscripts diff --git a/ld/configure b/ld/configure index a30f515..c4ba490 100755 --- a/ld/configure +++ b/ld/configure @@ -3405,6 +3405,45 @@ END fi fi +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } @@ -11413,7 +11452,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11416 "configure" +#line 11455 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11519,7 +11558,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11522 "configure" +#line 11561 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/ld/configure.ac b/ld/configure.ac index 8ea97c4..2b4c108 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -25,6 +25,7 @@ AC_CANONICAL_TARGET AC_CANONICAL_BUILD AM_INIT_AUTOMAKE +AM_SILENT_RULES([yes]) AM_MAINTAINER_MODE AC_PROG_CC |