diff --git a/.github/workflows/apple-gdb-1824-macos.yml b/.github/workflows/apple-gdb-1824-macos.yml index d78226842..f40abb9ae 100644 --- a/.github/workflows/apple-gdb-1824-macos.yml +++ b/.github/workflows/apple-gdb-1824-macos.yml @@ -29,17 +29,17 @@ jobs: fi date && sync brew install autogen texi2html texinfo deja-gnu expect dmalloc fastjar openssl@3 gperf help2man ant-contrib findutils grep coreutils remake byacc texlive gawk "${COMPILER_FORMULA}" - - run: test -e ./.profile_generic && test -r ./.profile_generic && source ./.profile_generic && sync && (env | uniq | sort | uniq) && sync + - run: test -e ./.profile_generic && test -r ./.profile_generic && source ./.profile_generic && sync && (env | uniq | sort | uniq) && sync && sleep 1 - run: ./configure --enable-silent-rules CC=${{ matrix.compiler }} OBJC=${{ matrix.compiler }} - run: make -ki -C libcheckpoint || make -ki -C libcheckpoint -f Makefile_orig || make -ki -C macsbug || make -ki -C macsbug/gdb_plugin_support || (if test -x "$(which ant)"; then ant; else echo "ant missing"; fi) - run: if test ! -e libcheckpoint/libcheckpoint.dylib; then (sync && echo "ensuring libcheckpoint is built" && sync && make -ki -C libcheckpoint -f Makefile_orig RC_CFLAGS="-std=gnu89 -w -Wno-error" && sync) || (sync && make -ki -C macsbug) || (sync && make -ki -C macsbug/gdb_plugin_support) || (if test -x "$(which ant)"; then ant; else echo "ant missing"; fi); else (sync && stat libcheckpoint/libcheckpoint.dylib); fi - - run: if test -d .. && test -w .. && test ! -e ../gdb; then (echo "symlinking source directory" && pushd .. && sync && ln -sv apple-gdb-1824 gdb && sync && readlink gdb && sync && popd); else (sync && stat .. && ls ..); fi + - run: if test -d .. && test -w .. && test ! -e ../gdb; then (sync && echo "symlinking source directory" && pushd .. && sync && ln -sv apple-gdb-1824 gdb && sync && readlink gdb && sync && popd); else (sync && stat .. && ls ..); fi - run: (if test -n "$(type ant 2>/dev/null)" && test -x "$(which ant)" && test -r build.xml; then if test ! -d build; then mkdir build; elif test ! -d "${HOME}"/work/apple-gdb-1824/build; then mkdir -pv "${HOME}"/work/apple-gdb-1824/build; fi; ant; else (echo "ant missing" && sync); fi) || (if test -x ./gradlew; then (./gradlew build || ./gradlew assemble || ./gradlew); elif test -r ./gradlew; then sh ./gradlew; elif test -e ./gradlew; then stat ./gradlew; else echo "gradlewrapper missing"; fi) || (if test -x "$(which gradle)"; then gradle; else echo "gradle missing"; fi) || (if test -x ~rc/bin/buildit; then sudo ~rc/bin/buildit "$(pwd)" -arch ppc -arch i386 -arch armv5 -target cross -project gdb -release RELEASENAME RC_CROSS_ARCHS=armv6; else echo "buildit missing"; fi) || ls - run: (if test -x ./gradlew; then (./gradlew build || ./gradlew assemble || ./gradlew); elif test -r ./gradlew; then sh ./gradlew; elif test -e ./gradlew; then stat ./gradlew; else echo "gradlewrapper missing" >&2; fi) || (if test -x "$(which gradle)"; then gradle; else echo "gradle missing"; fi) || (if test -x ~rc/bin/buildit; then sudo ~rc/bin/buildit "$(pwd)" -arch ppc -arch i386 -arch armv5 -target cross -project gdb -release RELEASENAME RC_CROSS_ARCHS=armv6; else echo "buildit missing"; fi) || ls - run: cd src && ./configure --disable-werror --disable-opts-test --enable-carbon-framework --enable-debug-symbols-framework --enable-64-bit-bfd --enable-silent-rules CC=${{ matrix.compiler }} OBJC=${{ matrix.compiler }} - run: cd src && make configure-bfd - run: cd src && sync && make -C bfd headers && sync - - run: cd src && if test ! -e bfd/bfd.h; then (sync && make -C bfd bfd.h); else (sync && stat bfd/bfd.h); fi + - run: cd src && if test ! -e bfd/bfd.h; then (sync && make -C bfd bfd.h); else (sync && stat bfd/bfd.h); fi && sync && find . -name bfd.h -print && sync - run: cd src && make -C bfd diststuff - run: cd src && make all-bfd - run: if test ! -e macsbug/MacsBug_plugin; then make -ki -C macsbug || make -ki -C macsbug/gdb_plugin_support || (if test -x "$(which ant)"; then ant; else echo "ant missing"; fi); else stat macsbug/MacsBug_plugin; fi @@ -80,7 +80,7 @@ jobs: else \ sync && (ls ./*.h || ls || pwd); \ fi - sync && find . -name arparse.h -type f -print + sync && find . -name arparse.h -type f -print && sync - run: cd src && make all-binutils - run: cd src && make all-cgen && make all-libiberty && make all-intl - run: cd src && make all-electric-fence diff --git a/.github/workflows/apple-gdb-1824.yml b/.github/workflows/apple-gdb-1824.yml index 64b37730d..564a5d6c6 100644 --- a/.github/workflows/apple-gdb-1824.yml +++ b/.github/workflows/apple-gdb-1824.yml @@ -17,7 +17,7 @@ jobs: - run: test -e ./.profile_generic && source ./.profile_generic && (env | uniq | sort | uniq) && sync && sleep 1 - run: cd src && ./configure --with-x --disable-werror --disable-opts-test --enable-64-bit-bfd --enable-silent-rules --with-system-zlib CC=${{ matrix.compiler }} OBJC=${{ matrix.compiler }} - run: cd src && make configure-bfd - - run: cd src && make -C bfd headers && (ls bfd/bfd*.h || stat bfd) && sleep 1 + - run: cd src && sync && make -C bfd headers && sync && (ls bfd/bfd*.h || stat bfd) && sync && sleep 1 - run: cd src && if test ! -e bfd/bfd.h; then make -C bfd bfd.h; else stat bfd/bfd.h; fi && find . -name bfd.h -print && sleep 1 - run: cd src && if test -e autogen/Makefile; then make -C autogen; elif test -d autogen; then (echo "listing autogen Makefiles present" && ls autogen/Makefile* && sleep 1); else echo "skipping autogen"; fi - run: cd src && make -C bfd diststuff diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 54f05e112..5558c8953 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -84,7 +84,7 @@ jobs: (sync && stat /home/runner/work/apple-gdb-1824/build); \ fi (cd src && sync && echo "now in $(pwd)..." && sync) - if test ${{ matrix.language }} == 'go'; then sleep 1; fi + if test ${{ matrix.language }} == 'go' || test ${{ matrix.language }} == 'csharp'; then sleep 1; fi - name: Dependencies if: matrix.language == 'c-cpp' diff --git a/libcheckpoint/Makefile_orig b/libcheckpoint/Makefile_orig index 50fe6d98b..50419046e 100644 --- a/libcheckpoint/Makefile_orig +++ b/libcheckpoint/Makefile_orig @@ -49,3 +49,8 @@ $(SYMROOT)/$(LIB) : $(OBJS) -current_version 1 $(OBJS) -framework ApplicationServices stat $(SYMROOT)/$(LIB) || stat $(GDBDIR)/$(LIB) || stat $(OBJS) du $(SYMROOT)/$(LIB) || du $(GDBDIR)/$(LIB) || du $(OBJS) + if test -x "`which machocheck`"; then \ + machocheck -progress $(SYMROOT)/$(LIB) || test -r $(SYMROOT)/$(LIB); \ + else \ + echo "no usable machocheck found; skipping running on $(SYMROOT)/$(LIB)"; \ + fi diff --git a/src/bfd/Makefile.am b/src/bfd/Makefile.am index 73c2bd2fa..797b7f1c7 100644 --- a/src/bfd/Makefile.am +++ b/src/bfd/Makefile.am @@ -998,7 +998,7 @@ stamp-lofiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) done; \ echo $${f} $(AM_V_redir) tlofiles $(RUN_MOVEIFCHANGE) tlofiles lofiles - $(AM_V_at)touch stamp-lofiles + $(AM_V_at)if test stamp-lofiles -ot lofiles; then touch stamp-lofiles; fi stamp-ofiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) rm -f $(AM_V_v) tofiles @@ -1011,7 +1011,7 @@ stamp-ofiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) done; \ echo $${f} $(AM_V_redir) tofiles $(RUN_MOVEIFCHANGE) tofiles ofiles - $(AM_V_at)touch stamp-ofiles + $(AM_V_at)if test stamp-ofiles -ot ofiles; then touch stamp-ofiles; fi stamp-plistfiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) rm -f $(AM_V_v) tplistfiles @@ -1024,7 +1024,9 @@ stamp-plistfiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) done; \ echo $${f} $(AM_V_redir) tplistfiles $(RUN_MOVEIFCHANGE) tplistfiles plistfiles - $(AM_V_at)touch stamp-plistfiles + $(AM_V_at)if test stamp-plistfiles -ot plistfiles; then \ + touch stamp-plistfiles; \ + fi lofiles: stamp-lofiles @echo "this target, '$@', just makes its dependency, '$<'" @@ -1097,7 +1099,7 @@ stamp-lib: libbfd.la @MAINT@ ofiles $(PATH_TO_MOVEIFCHANGE) ltmain.sh $(RANLIB) libbfd.a; \ fi; \ fi - $(AM_V_at)touch stamp-lib + $(AM_V_at)if test $@ -ot stamp-staticlib; then touch stamp-lib; fi # since OFILES no longer works as a dependency, have to make it explicitly # as part of a rule instead: @@ -1110,8 +1112,14 @@ stamp-staticlib: stamp-ofiles @MAINT@ bfd.h fi if [ -f libbfd.a ]; then \ $(RANLIB) libbfd.a; \ + elif [ -f $(srcdir)/libbfd.a ]; then \ + cp $(AM_V_v) $(srcdir)/libbfd.a .; \ + elif [ -f $(builddir)/libbfd.a ]; then \ + cp $(AM_V_v) $(builddir)/libbfd.a .; \ + else \ + echo "$@ target: warning: missing libbfd.a" >&2; \ fi - $(AM_V_at)touch stamp-staticlib + $(AM_V_at)if test $@ -ot libbfd.a; then touch stamp-staticlib; fi # likewise with making PLISTFILES when running `make check`: check-local: stamp-plistfiles @MAINT@ plistfiles @@ -1297,7 +1305,7 @@ DEP: dep.sed $(CFILES) $(HFILES) bfd.h else \ mv -f $(AM_V_v) DEPA $@; \ fi - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot dep.sed; then touch $@; fi # I also want to include a check for variables not being closed properly # (missing parentheses), but I am not sure how to do that in a way where # the bad syntax for which we would be grepping does not also get @@ -1310,7 +1318,7 @@ DEP1: $(CFILES) echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >>DEP2 $(MKDEP) $(AM_CPPFLAGS) $(CFLAGS) $? $(AM_V_redir_a) DEP2 mv -f $(AM_V_v) DEP2 $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot DEP2; then touch $@; fi #FIXME: this sed script is broken and hack-ish: dep.sed: dep-in.sed @MAINT@ config.status @@ -1318,31 +1326,35 @@ dep.sed: dep-in.sed @MAINT@ config.status -e 's!@BFD_H@!$(BFD_H)!' \ -e 's!@SRCDIR@!$(srcdir)!' \ -e 's!@TOPDIR@!'`echo $(srcdir) | $(SED) -e s,/bfd$$,,`'!' - touch $@ + if test $@ -ot dep-in.sed; then touch $@; fi #FIXME: this target relies on dep.sed, which is broken (see above) dep: DEP @MAINT@ $(PATH_TO_MOVEIFCHANGE) $(SED) -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile cat DEP >> tmp-Makefile $(RUN_MOVEIFCHANGE) tmp-Makefile Makefile - $(AM_V_at)touch Makefile + $(AM_V_at)if test Makefile -ot DEP; then touch Makefile; fi #FIXME: this target relies on dep.sed, which is broken (see above) dep-in: DEP @MAINT@ $(PATH_TO_MOVEIFCHANGE) $(SED) -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in cat DEP >> tmp-Makefile.in $(RUN_MOVEIFCHANGE) tmp-Makefile.in $(srcdir)/Makefile.in - $(AM_V_at)touch $(srcdir)/Makefile.in + $(AM_V_at)if test $(srcdir)/Makefile.in -ot DEP; then \ + touch $(srcdir)/Makefile.in; \ + fi #FIXME: this target relies on dep.sed, which is broken (see above) dep-am: DEP @MAINT@ $(PATH_TO_MOVEIFCHANGE) @echo "this target is broken/dangerous; not letting you use it" >&2 - @echo "edit Makefile.am if you have fixed things" + @echo "edit Makefile.am manually if you have fixed things" exit 1 $(SED) -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am cat DEP >> tmp-Makefile.am $(RUN_MOVEIFCHANGE) tmp-Makefile.am $(srcdir)/Makefile.am - $(AM_V_at)touch $(srcdir)/Makefile.am + $(AM_V_at)if test $(srcdir)/Makefile.am -ot DEP; then \ + touch $(srcdir)/Makefile.am; \ + fi # Some manually-specified dependencies: archive64.o: archive64.lo @@ -1398,15 +1410,17 @@ $(BFD_H): stmp-bfd-h $(srcdir)/bfd-in2.h bfd-in3.h $(srcdir)/libbfd.h \ fi; \ else \ echo "checking status of BFD_H ($(BFD_H))..." && stat $(BFD_H); \ + echo "also checking its length..." && wc -l $(BFD_H); \ + echo "also checking its disk usage..." && du $(BFD_H); \ fi stmp-bfd-h: bfd-in3.h @MAINT@ headers @MAINT@ $(PATH_TO_MOVEIFCHANGE) rm -f $(AM_V_v) bfd-tmp.h cp $(AM_V_v) bfd-in3.h bfd-tmp.h $(RUN_MOVEIFCHANGE) bfd-tmp.h $(BFD_H) - $(AM_V_at)touch $(BFD_H) + $(AM_V_at)if test $(BFD_H) -ot $@; then touch $(BFD_H); fi rm -f $(AM_V_v) bfd-tmp.h - touch $@ + if test $@ -ot bfd-in3.h; then touch $@; fi BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \ reloc.c syms.c bfd.c bfdio.c bfdwin.c \ @@ -1439,7 +1453,7 @@ stamp-framework-headers: bfd.h headers cp -p $(AM_V_v) $(srcdir)/*.h $(FRAMEWORK).framework/Versions/Current/Headers/ cp -p $(AM_V_v) *.h $(FRAMEWORK).framework/Versions/Current/Headers/ cp -p $(AM_V_v) $(BFD_H_DEPS) $(FRAMEWORK).framework/Versions/Current/Headers/ - $(AM_V_at)touch stamp-framework-headers + $(AM_V_at)if test $@ -ot bfd.h; then touch stamp-framework-headers; fi stamp-framework: $(libbfd_la_OBJECTS) $(libbfd_la_DEPENDENCIES) $(MAKE) $(FRAMEWORK_OFILES) @@ -1448,7 +1462,6 @@ stamp-framework: $(libbfd_la_OBJECTS) $(libbfd_la_DEPENDENCIES) $(MKDIR_P) $(AM_V_v) $(FRAMEWORK).framework/Versions/$(FRAMEWORK_VERSION)/Resources $(LN_S) $(AM_V_v) Versions/Current/Resources $(FRAMEWORK).framework/Resources $(MKDIR_P) $(AM_V_v) $(FRAMEWORK).framework/Versions/Current/Resources/English.lproj - set -ex; \ if [ "x$(FRAMEWORK_SUFFIX)" != "x" ]; then \ test -n "$(FRAMEWORK_SUFFIX)" && echo "$(FRAMEWORK_SUFFIX)"; \ @@ -1462,15 +1475,21 @@ stamp-framework: $(libbfd_la_OBJECTS) $(libbfd_la_DEPENDENCIES) $(NSLIBTOOL) -arch $(HOST_ARCHITECTURE) -compatibility_version 1 -current_version 1 -install_name /System/Library/PrivateFrameworks/$(FRAMEWORK).framework/Versions/$(FRAMEWORK_VERSION)/$(FRAMEWORK_PREFIX)$(FRAMEWORK) -o $(FRAMEWORK).framework/Versions/Current/$(FRAMEWORK_PREFIX)$(FRAMEWORK) $(FRAMEWORK_OFILES) $(FRAMEWORK_LIB); \ $(LN_S) $(AM_V_v) Versions/Current/$(FRAMEWORK_PREFIX)$(FRAMEWORK) $(FRAMEWORK).framework/$(FRAMEWORK_PREFIX)$(FRAMEWORK); \ fi - $(AM_V_at)touch stamp-framework + $(AM_V_at)if test $@ -ot stamp-framework-headers; then touch $@; fi # APPLE LOCAL end framework building. # Could really use a "copy-if-change"... headers: $(sdocdir)/Makefile stmp-bin2-h stmp-lbfd-h stmp-lcoff-h @MAINT@ $(PATH_TO_MOVEIFCHANGE) (cd $(sdocdir); $(MAKE) protos $(FLAGS_TO_PASS)) - (cd $(sdocdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS)) - (cd $(sdocdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS)) - (cd $(sdocdir); $(MAKE) bfd.h $(FLAGS_TO_PASS)) + if test ! -e $(sdocdir)/libbfd.h || test $(sdocdir)/libbfd.h -ot $(sdocdir)/Makefile; then \ + (cd $(sdocdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS)); \ + fi + if test ! -e $(sdocdir)/libcoff.h || test $(sdocdir)/libcoff.h -ot $(sdocdir)/Makefile; then \ + (cd $(sdocdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS)); \ + fi + if test ! -e $(sdocdir)/bfd.h || test $(sdocdir)/bfd.h -ot $(sdocdir)/Makefile; then \ + (cd $(sdocdir); $(MAKE) bfd.h $(FLAGS_TO_PASS)); \ + fi if test $(srcdir) != "."; then \ echo "out-of-tree build detected; checking back in srcdir ($(srcdir)) for $@..."; \ (cd $(sdocdir); $(MAKE) $(srcdir)/libbfd.h $(FLAGS_TO_PASS)); \ @@ -1479,15 +1498,34 @@ headers: $(sdocdir)/Makefile stmp-bin2-h stmp-lbfd-h stmp-lcoff-h @MAINT@ $(PATH else \ echo "$@ target: already in srcdir ($(srcdir)): `pwd`"; \ fi - cp $(AM_V_v) $(sdocdir)/bfd.h bfd-in2.h-new - $(RUN_MOVEIFCHANGE) bfd-in2.h-new $(srcdir)/bfd-in2.h - $(AM_V_at)touch $(srcdir)/bfd-in2.h - cp $(AM_V_v) $(sdocdir)/libbfd.h libbfd.h-new - $(RUN_MOVEIFCHANGE) libbfd.h-new $(srcdir)/libbfd.h - $(AM_V_at)touch $(srcdir)/libbfd.h - cp $(AM_V_v) $(sdocdir)/libcoff.h libcoff.h-new - $(RUN_MOVEIFCHANGE) libcoff.h-new $(srcdir)/libcoff.h - $(AM_V_at)touch $(srcdir)/libcoff.h + if test ! -e bfd-in2.h-new || test bfd-in2.h-new -ot $(sdocdir)/bfd.h; then \ + cp $(AM_V_v) $(sdocdir)/bfd.h bfd-in2.h-new; \ + $(RUN_MOVEIFCHANGE) bfd-in2.h-new $(srcdir)/bfd-in2.h; \ + fi + $(AM_V_at)if test $(srcdir)/bfd-in2.h -ot stmp-bin2-h; then \ + touch $(srcdir)/bfd-in2.h; \ + elif test stmp-bin2-h -ot $(srcdir)/bfd-in2.h; then \ + touch stmp-bin2-h; \ + fi + if test ! -e libbfd.h-new || test libbfd.h-new -ot $(sdocdir)/libbfd.h; then \ + cp $(AM_V_v) $(sdocdir)/libbfd.h libbfd.h-new; \ + $(RUN_MOVEIFCHANGE) libbfd.h-new $(srcdir)/libbfd.h; \ + fi + $(AM_V_at)if test $(srcdir)/libbfd.h -ot stmp-lbfd-h; then \ + touch $(srcdir)/libbfd.h; \ + elif test stmp-lbfd-h -ot $(srcdir)/libbfd.h; then \ + touch stmp-lbfd-h; \ + fi + if test ! -e libcoff.h-new || test libcoff.h-new -ot $(sdocdir)/libcoff.h; then \ + cp $(AM_V_v) $(sdocdir)/libcoff.h libcoff.h-new; \ + $(RUN_MOVEIFCHANGE) libcoff.h-new $(srcdir)/libcoff.h; \ + fi + $(AM_V_at)if test $(srcdir)/libcoff.h -ot stmp-lcoff-h; then \ + touch $(srcdir)/libcoff.h; \ + elif test stmp-lcoff-h -ot $(srcdir)/libcoff.h; then \ + touch stmp-lcoff-h; \ + fi + -rm -f $(AM_V_v) *.h-new || echo "done with $@ target" .PHONY: headers $(sdocdir)/Makefile: $(sdocdir)/Makefile.in $(top_builddir)/config.status @@ -1541,8 +1579,11 @@ stmp-bin2-h: $(sdocdir)/Makefile $(BFD_H_FILES) $(BFD64_H_FILES) @MAINT@ $(PATH_ fi cp $(AM_V_v) $(sdocdir)/bfd.h bfd-in2.h-new $(RUN_MOVEIFCHANGE) bfd-in2.h-new $(srcdir)/bfd-in2.h - $(AM_V_at)touch $(srcdir)/bfd-in2.h - touch $@ + $(AM_V_at)if test $(srcdir)/bfd-in2.h -ot $@; then \ + touch $(srcdir)/bfd-in2.h; \ + elif test $@ -ot $(srcdir)/bfd-in2.h; then \ + touch $@; \ + fi $(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h @echo "this target, '$@', just makes its dependency, '$<', when in maintainer mode" @@ -1556,8 +1597,11 @@ stmp-lbfd-h: $(LIBBFD_H_FILES) @MAINT@ $(PATH_TO_MOVEIFCHANGE) fi cp $(AM_V_v) $(sdocdir)/libbfd.h libbfd.h-new $(RUN_MOVEIFCHANGE) libbfd.h-new $(srcdir)/libbfd.h - $(AM_V_at)touch $(srcdir)/libbfd.h - touch $@ + $(AM_V_at)if test $(srcdir)/libbfd.h -ot $@; then \ + touch $(srcdir)/libbfd.h; \ + elif test $@ -ot $(srcdir)/libbfd.h; then \ + touch $@; \ + fi $(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h @echo "this target, '$@', just makes its dependency, '$<', when in maintainer mode" @@ -1571,8 +1615,11 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES) @MAINT@ $(PATH_TO_MOVEIFCHANGE) fi cp $(AM_V_v) $(sdocdir)/libcoff.h libcoff.h-new $(RUN_MOVEIFCHANGE) libcoff.h-new $(srcdir)/libcoff.h - $(AM_V_at)touch $(srcdir)/libcoff.h - touch $@ + $(AM_V_at)if test $(srcdir)/libcoff.h -ot $@; then \ + touch $(srcdir)/libcoff.h; \ + elif test $@ -ot $(srcdir)/libcoff.h; then \ + touch $@; \ + fi MOSTLYCLEANFILES = tofiles ofiles stamp-ofiles MOSTLYCLEANFILES += tlofiles lofiles stamp-lofiles @@ -1615,7 +1662,7 @@ bfdver.h: $(srcdir)/version.h @MAINT@ $(srcdir)/development.sh \ echo "$${bfd_soversion}" > libtool-soversion libtool-soversion: bfdver.h - stat $@ || touch $@ + stat $@ || (if test $@ -ot $<; then touch $@; fi) # Disable -Werror, if it has been enabled, since coffswap.h fails # to compile with gcc 4.5 and above: diff --git a/src/bfd/Makefile.in b/src/bfd/Makefile.in index 78ee91ada..d833a0d86 100644 --- a/src/bfd/Makefile.in +++ b/src/bfd/Makefile.in @@ -9663,7 +9663,7 @@ stamp-lofiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) done; \ echo $${f} $(AM_V_redir) tlofiles $(RUN_MOVEIFCHANGE) tlofiles lofiles - $(AM_V_at)touch stamp-lofiles + $(AM_V_at)if test stamp-lofiles -ot lofiles; then touch stamp-lofiles; fi stamp-ofiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) rm -f $(AM_V_v) tofiles @@ -9676,7 +9676,7 @@ stamp-ofiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) done; \ echo $${f} $(AM_V_redir) tofiles $(RUN_MOVEIFCHANGE) tofiles ofiles - $(AM_V_at)touch stamp-ofiles + $(AM_V_at)if test stamp-ofiles -ot ofiles; then touch stamp-ofiles; fi stamp-plistfiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) rm -f $(AM_V_v) tplistfiles @@ -9689,7 +9689,9 @@ stamp-plistfiles: Makefile @MAINT@ $(PATH_TO_MOVEIFCHANGE) done; \ echo $${f} $(AM_V_redir) tplistfiles $(RUN_MOVEIFCHANGE) tplistfiles plistfiles - $(AM_V_at)touch stamp-plistfiles + $(AM_V_at)if test stamp-plistfiles -ot plistfiles; then \ + touch stamp-plistfiles; \ + fi lofiles: stamp-lofiles @echo "this target, '$@', just makes its dependency, '$<'" @@ -9729,7 +9731,7 @@ stamp-lib: libbfd.la @MAINT@ ofiles $(PATH_TO_MOVEIFCHANGE) ltmain.sh $(RANLIB) libbfd.a; \ fi; \ fi - $(AM_V_at)touch stamp-lib + $(AM_V_at)if test $@ -ot stamp-staticlib; then touch stamp-lib; fi # since OFILES no longer works as a dependency, have to make it explicitly # as part of a rule instead: @@ -9742,8 +9744,14 @@ stamp-staticlib: stamp-ofiles @MAINT@ bfd.h fi if [ -f libbfd.a ]; then \ $(RANLIB) libbfd.a; \ + elif [ -f $(srcdir)/libbfd.a ]; then \ + cp $(AM_V_v) $(srcdir)/libbfd.a .; \ + elif [ -f $(builddir)/libbfd.a ]; then \ + cp $(AM_V_v) $(builddir)/libbfd.a .; \ + else \ + echo "$@ target: warning: missing libbfd.a" >&2; \ fi - $(AM_V_at)touch stamp-staticlib + $(AM_V_at)if test $@ -ot libbfd.a; then touch stamp-staticlib; fi # likewise with making PLISTFILES when running `make check`: check-local: stamp-plistfiles @MAINT@ plistfiles @@ -9917,7 +9925,7 @@ DEP: dep.sed $(CFILES) $(HFILES) bfd.h else \ mv -f $(AM_V_v) DEPA $@; \ fi - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot dep.sed; then touch $@; fi # I also want to include a check for variables not being closed properly # (missing parentheses), but I am not sure how to do that in a way where # the bad syntax for which we would be grepping does not also get @@ -9930,7 +9938,7 @@ DEP1: $(CFILES) echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >>DEP2 $(MKDEP) $(AM_CPPFLAGS) $(CFLAGS) $? $(AM_V_redir_a) DEP2 mv -f $(AM_V_v) DEP2 $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot DEP2; then touch $@; fi #FIXME: this sed script is broken and hack-ish: dep.sed: dep-in.sed @MAINT@ config.status @@ -9938,31 +9946,35 @@ dep.sed: dep-in.sed @MAINT@ config.status -e 's!@BFD_H@!$(BFD_H)!' \ -e 's!@SRCDIR@!$(srcdir)!' \ -e 's!@TOPDIR@!'`echo $(srcdir) | $(SED) -e s,/bfd$$,,`'!' - touch $@ + if test $@ -ot dep-in.sed; then touch $@; fi #FIXME: this target relies on dep.sed, which is broken (see above) dep: DEP @MAINT@ $(PATH_TO_MOVEIFCHANGE) $(SED) -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile cat DEP >> tmp-Makefile $(RUN_MOVEIFCHANGE) tmp-Makefile Makefile - $(AM_V_at)touch Makefile + $(AM_V_at)if test Makefile -ot DEP; then touch Makefile; fi #FIXME: this target relies on dep.sed, which is broken (see above) dep-in: DEP @MAINT@ $(PATH_TO_MOVEIFCHANGE) $(SED) -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in cat DEP >> tmp-Makefile.in $(RUN_MOVEIFCHANGE) tmp-Makefile.in $(srcdir)/Makefile.in - $(AM_V_at)touch $(srcdir)/Makefile.in + $(AM_V_at)if test $(srcdir)/Makefile.in -ot DEP; then \ + touch $(srcdir)/Makefile.in; \ + fi #FIXME: this target relies on dep.sed, which is broken (see above) dep-am: DEP @MAINT@ $(PATH_TO_MOVEIFCHANGE) @echo "this target is broken/dangerous; not letting you use it" >&2 - @echo "edit Makefile.am if you have fixed things" + @echo "edit Makefile.am manually if you have fixed things" exit 1 $(SED) -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am cat DEP >> tmp-Makefile.am $(RUN_MOVEIFCHANGE) tmp-Makefile.am $(srcdir)/Makefile.am - $(AM_V_at)touch $(srcdir)/Makefile.am + $(AM_V_at)if test $(srcdir)/Makefile.am -ot DEP; then \ + touch $(srcdir)/Makefile.am; \ + fi # Some manually-specified dependencies: archive64.o: archive64.lo @@ -10018,15 +10030,17 @@ $(BFD_H): stmp-bfd-h $(srcdir)/bfd-in2.h bfd-in3.h $(srcdir)/libbfd.h \ fi; \ else \ echo "checking status of BFD_H ($(BFD_H))..." && stat $(BFD_H); \ + echo "also checking its length..." && wc -l $(BFD_H); \ + echo "also checking its disk usage..." && du $(BFD_H); \ fi stmp-bfd-h: bfd-in3.h @MAINT@ headers @MAINT@ $(PATH_TO_MOVEIFCHANGE) rm -f $(AM_V_v) bfd-tmp.h cp $(AM_V_v) bfd-in3.h bfd-tmp.h $(RUN_MOVEIFCHANGE) bfd-tmp.h $(BFD_H) - $(AM_V_at)touch $(BFD_H) + $(AM_V_at)if test $(BFD_H) -ot $@; then touch $(BFD_H); fi rm -f $(AM_V_v) bfd-tmp.h - touch $@ + if test $@ -ot bfd-in3.h; then touch $@; fi stamp-framework-headers: bfd.h headers rm -f stamp-framework stamp-framework-headers @@ -10039,7 +10053,7 @@ stamp-framework-headers: bfd.h headers cp -p $(AM_V_v) $(srcdir)/*.h $(FRAMEWORK).framework/Versions/Current/Headers/ cp -p $(AM_V_v) *.h $(FRAMEWORK).framework/Versions/Current/Headers/ cp -p $(AM_V_v) $(BFD_H_DEPS) $(FRAMEWORK).framework/Versions/Current/Headers/ - $(AM_V_at)touch stamp-framework-headers + $(AM_V_at)if test $@ -ot bfd.h; then touch stamp-framework-headers; fi stamp-framework: $(libbfd_la_OBJECTS) $(libbfd_la_DEPENDENCIES) $(MAKE) $(FRAMEWORK_OFILES) @@ -10048,7 +10062,6 @@ stamp-framework: $(libbfd_la_OBJECTS) $(libbfd_la_DEPENDENCIES) $(MKDIR_P) $(AM_V_v) $(FRAMEWORK).framework/Versions/$(FRAMEWORK_VERSION)/Resources $(LN_S) $(AM_V_v) Versions/Current/Resources $(FRAMEWORK).framework/Resources $(MKDIR_P) $(AM_V_v) $(FRAMEWORK).framework/Versions/Current/Resources/English.lproj - set -ex; \ if [ "x$(FRAMEWORK_SUFFIX)" != "x" ]; then \ test -n "$(FRAMEWORK_SUFFIX)" && echo "$(FRAMEWORK_SUFFIX)"; \ @@ -10062,15 +10075,21 @@ stamp-framework: $(libbfd_la_OBJECTS) $(libbfd_la_DEPENDENCIES) $(NSLIBTOOL) -arch $(HOST_ARCHITECTURE) -compatibility_version 1 -current_version 1 -install_name /System/Library/PrivateFrameworks/$(FRAMEWORK).framework/Versions/$(FRAMEWORK_VERSION)/$(FRAMEWORK_PREFIX)$(FRAMEWORK) -o $(FRAMEWORK).framework/Versions/Current/$(FRAMEWORK_PREFIX)$(FRAMEWORK) $(FRAMEWORK_OFILES) $(FRAMEWORK_LIB); \ $(LN_S) $(AM_V_v) Versions/Current/$(FRAMEWORK_PREFIX)$(FRAMEWORK) $(FRAMEWORK).framework/$(FRAMEWORK_PREFIX)$(FRAMEWORK); \ fi - $(AM_V_at)touch stamp-framework + $(AM_V_at)if test $@ -ot stamp-framework-headers; then touch $@; fi # APPLE LOCAL end framework building. # Could really use a "copy-if-change"... headers: $(sdocdir)/Makefile stmp-bin2-h stmp-lbfd-h stmp-lcoff-h @MAINT@ $(PATH_TO_MOVEIFCHANGE) (cd $(sdocdir); $(MAKE) protos $(FLAGS_TO_PASS)) - (cd $(sdocdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS)) - (cd $(sdocdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS)) - (cd $(sdocdir); $(MAKE) bfd.h $(FLAGS_TO_PASS)) + if test ! -e $(sdocdir)/libbfd.h || test $(sdocdir)/libbfd.h -ot $(sdocdir)/Makefile; then \ + (cd $(sdocdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS)); \ + fi + if test ! -e $(sdocdir)/libcoff.h || test $(sdocdir)/libcoff.h -ot $(sdocdir)/Makefile; then \ + (cd $(sdocdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS)); \ + fi + if test ! -e $(sdocdir)/bfd.h || test $(sdocdir)/bfd.h -ot $(sdocdir)/Makefile; then \ + (cd $(sdocdir); $(MAKE) bfd.h $(FLAGS_TO_PASS)); \ + fi if test $(srcdir) != "."; then \ echo "out-of-tree build detected; checking back in srcdir ($(srcdir)) for $@..."; \ (cd $(sdocdir); $(MAKE) $(srcdir)/libbfd.h $(FLAGS_TO_PASS)); \ @@ -10079,15 +10098,34 @@ headers: $(sdocdir)/Makefile stmp-bin2-h stmp-lbfd-h stmp-lcoff-h @MAINT@ $(PATH else \ echo "$@ target: already in srcdir ($(srcdir)): `pwd`"; \ fi - cp $(AM_V_v) $(sdocdir)/bfd.h bfd-in2.h-new - $(RUN_MOVEIFCHANGE) bfd-in2.h-new $(srcdir)/bfd-in2.h - $(AM_V_at)touch $(srcdir)/bfd-in2.h - cp $(AM_V_v) $(sdocdir)/libbfd.h libbfd.h-new - $(RUN_MOVEIFCHANGE) libbfd.h-new $(srcdir)/libbfd.h - $(AM_V_at)touch $(srcdir)/libbfd.h - cp $(AM_V_v) $(sdocdir)/libcoff.h libcoff.h-new - $(RUN_MOVEIFCHANGE) libcoff.h-new $(srcdir)/libcoff.h - $(AM_V_at)touch $(srcdir)/libcoff.h + if test ! -e bfd-in2.h-new || test bfd-in2.h-new -ot $(sdocdir)/bfd.h; then \ + cp $(AM_V_v) $(sdocdir)/bfd.h bfd-in2.h-new; \ + $(RUN_MOVEIFCHANGE) bfd-in2.h-new $(srcdir)/bfd-in2.h; \ + fi + $(AM_V_at)if test $(srcdir)/bfd-in2.h -ot stmp-bin2-h; then \ + touch $(srcdir)/bfd-in2.h; \ + elif test stmp-bin2-h -ot $(srcdir)/bfd-in2.h; then \ + touch stmp-bin2-h; \ + fi + if test ! -e libbfd.h-new || test libbfd.h-new -ot $(sdocdir)/libbfd.h; then \ + cp $(AM_V_v) $(sdocdir)/libbfd.h libbfd.h-new; \ + $(RUN_MOVEIFCHANGE) libbfd.h-new $(srcdir)/libbfd.h; \ + fi + $(AM_V_at)if test $(srcdir)/libbfd.h -ot stmp-lbfd-h; then \ + touch $(srcdir)/libbfd.h; \ + elif test stmp-lbfd-h -ot $(srcdir)/libbfd.h; then \ + touch stmp-lbfd-h; \ + fi + if test ! -e libcoff.h-new || test libcoff.h-new -ot $(sdocdir)/libcoff.h; then \ + cp $(AM_V_v) $(sdocdir)/libcoff.h libcoff.h-new; \ + $(RUN_MOVEIFCHANGE) libcoff.h-new $(srcdir)/libcoff.h; \ + fi + $(AM_V_at)if test $(srcdir)/libcoff.h -ot stmp-lcoff-h; then \ + touch $(srcdir)/libcoff.h; \ + elif test stmp-lcoff-h -ot $(srcdir)/libcoff.h; then \ + touch stmp-lcoff-h; \ + fi + -rm -f $(AM_V_v) *.h-new || echo "done with $@ target" .PHONY: headers $(sdocdir)/Makefile: $(sdocdir)/Makefile.in $(top_builddir)/config.status @@ -10141,8 +10179,11 @@ stmp-bin2-h: $(sdocdir)/Makefile $(BFD_H_FILES) $(BFD64_H_FILES) @MAINT@ $(PATH_ fi cp $(AM_V_v) $(sdocdir)/bfd.h bfd-in2.h-new $(RUN_MOVEIFCHANGE) bfd-in2.h-new $(srcdir)/bfd-in2.h - $(AM_V_at)touch $(srcdir)/bfd-in2.h - touch $@ + $(AM_V_at)if test $(srcdir)/bfd-in2.h -ot $@; then \ + touch $(srcdir)/bfd-in2.h; \ + elif test $@ -ot $(srcdir)/bfd-in2.h; then \ + touch $@; \ + fi $(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h @echo "this target, '$@', just makes its dependency, '$<', when in maintainer mode" @@ -10156,8 +10197,11 @@ stmp-lbfd-h: $(LIBBFD_H_FILES) @MAINT@ $(PATH_TO_MOVEIFCHANGE) fi cp $(AM_V_v) $(sdocdir)/libbfd.h libbfd.h-new $(RUN_MOVEIFCHANGE) libbfd.h-new $(srcdir)/libbfd.h - $(AM_V_at)touch $(srcdir)/libbfd.h - touch $@ + $(AM_V_at)if test $(srcdir)/libbfd.h -ot $@; then \ + touch $(srcdir)/libbfd.h; \ + elif test $@ -ot $(srcdir)/libbfd.h; then \ + touch $@; \ + fi $(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h @echo "this target, '$@', just makes its dependency, '$<', when in maintainer mode" @@ -10171,8 +10215,11 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES) @MAINT@ $(PATH_TO_MOVEIFCHANGE) fi cp $(AM_V_v) $(sdocdir)/libcoff.h libcoff.h-new $(RUN_MOVEIFCHANGE) libcoff.h-new $(srcdir)/libcoff.h - $(AM_V_at)touch $(srcdir)/libcoff.h - touch $@ + $(AM_V_at)if test $(srcdir)/libcoff.h -ot $@; then \ + touch $(srcdir)/libcoff.h; \ + elif test $@ -ot $(srcdir)/libcoff.h; then \ + touch $@; \ + fi apple-clean: @MAINT@ mostlyclean (cd $(sdocdir); $(MAKE) apple-clean $(FLAGS_TO_PASS)) @@ -10204,7 +10251,7 @@ bfdver.h: $(srcdir)/version.h @MAINT@ $(srcdir)/development.sh \ echo "$${bfd_soversion}" > libtool-soversion libtool-soversion: bfdver.h - stat $@ || touch $@ + stat $@ || (if test $@ -ot $<; then touch $@; fi) # Disable -Werror, if it has been enabled, since coffswap.h fails # to compile with gcc 4.5 and above: diff --git a/src/bfd/doc/Makefile.am b/src/bfd/doc/Makefile.am index 76a5fc4a0..55eb69c62 100644 --- a/src/bfd/doc/Makefile.am +++ b/src/bfd/doc/Makefile.am @@ -163,7 +163,7 @@ aoutx.texi: $(srcdir_up)/aoutx.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/aoutx.h > aoutx.tmp $(RUN_MOVEIFCHANGE) aoutx.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi archive.texi: $(srcdir_up)/archive.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -172,7 +172,7 @@ archive.texi: $(srcdir_up)/archive.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/archive.c >archive.tmp $(RUN_MOVEIFCHANGE) archive.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi archures.texi: $(srcdir_up)/archures.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -181,7 +181,7 @@ archures.texi: $(srcdir_up)/archures.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_T fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/archures.c >archures.tmp $(RUN_MOVEIFCHANGE) archures.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with # bfd.texinfo on an 8.3 filesystem. @@ -192,7 +192,7 @@ bfdt.texi: $(srcdir_up)/bfd.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFC fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/bfd.c > bfd.tmp $(RUN_MOVEIFCHANGE) bfd.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi cache.texi: $(srcdir_up)/cache.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -201,7 +201,7 @@ cache.texi: $(srcdir_up)/cache.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/cache.c >cache.tmp $(RUN_MOVEIFCHANGE) cache.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi coffcode.texi: $(srcdir_up)/coffcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -210,7 +210,7 @@ coffcode.texi: $(srcdir_up)/coffcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_T fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/coffcode.h >coffcode.tmp $(RUN_MOVEIFCHANGE) coffcode.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi core.texi: $(srcdir_up)/corefile.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -219,7 +219,7 @@ core.texi: $(srcdir_up)/corefile.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/corefile.c >core.tmp $(RUN_MOVEIFCHANGE) core.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi elf.texi: $(srcdir_up)/elf.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -228,7 +228,7 @@ elf.texi: $(srcdir_up)/elf.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCH fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/elf.c > elf.tmp $(RUN_MOVEIFCHANGE) elf.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi elfcode.texi: $(srcdir_up)/elfcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -237,7 +237,7 @@ elfcode.texi: $(srcdir_up)/elfcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/elfcode.h >elfcode.tmp $(RUN_MOVEIFCHANGE) elfcode.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi mmo.texi: $(srcdir_up)/mmo.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -246,7 +246,7 @@ mmo.texi: $(srcdir_up)/mmo.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCH fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/mmo.c > mmo.tmp $(RUN_MOVEIFCHANGE) mmo.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi format.texi: $(srcdir_up)/format.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -255,7 +255,7 @@ format.texi: $(srcdir_up)/format.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/format.c >format.tmp $(RUN_MOVEIFCHANGE) format.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi libbfd.texi: $(srcdir_up)/libbfd.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -264,7 +264,7 @@ libbfd.texi: $(srcdir_up)/libbfd.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/libbfd.c >libbfd.tmp $(RUN_MOVEIFCHANGE) libbfd.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi bfdio.texi: $(srcdir_up)/bfdio.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -273,7 +273,7 @@ bfdio.texi: $(srcdir_up)/bfdio.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/bfdio.c >bfdio.tmp $(RUN_MOVEIFCHANGE) bfdio.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi bfdwin.texi: $(srcdir_up)/bfdwin.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -282,7 +282,7 @@ bfdwin.texi: $(srcdir_up)/bfdwin.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/bfdwin.c >bfdwin.tmp $(RUN_MOVEIFCHANGE) bfdwin.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi opncls.texi: $(srcdir_up)/opncls.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -291,7 +291,7 @@ opncls.texi: $(srcdir_up)/opncls.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/opncls.c >opncls.tmp $(RUN_MOVEIFCHANGE) opncls.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi reloc.texi: $(srcdir_up)/reloc.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -300,7 +300,7 @@ reloc.texi: $(srcdir_up)/reloc.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/reloc.c >reloc.tmp $(RUN_MOVEIFCHANGE) reloc.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi section.texi: $(srcdir_up)/section.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -309,7 +309,7 @@ section.texi: $(srcdir_up)/section.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/section.c >section.tmp $(RUN_MOVEIFCHANGE) section.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi syms.texi: $(srcdir_up)/syms.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -318,7 +318,7 @@ syms.texi: $(srcdir_up)/syms.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIF fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/syms.c > syms.tmp $(RUN_MOVEIFCHANGE) syms.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi targets.texi: $(srcdir_up)/targets.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -327,7 +327,7 @@ targets.texi: $(srcdir_up)/targets.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/targets.c >targets.tmp $(RUN_MOVEIFCHANGE) targets.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi init.texi: $(srcdir_up)/init.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -336,7 +336,7 @@ init.texi: $(srcdir_up)/init.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIF fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/init.c > init.tmp $(RUN_MOVEIFCHANGE) init.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi hash.texi: $(srcdir_up)/hash.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -345,7 +345,7 @@ hash.texi: $(srcdir_up)/hash.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIF fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/hash.c > hash.tmp $(RUN_MOVEIFCHANGE) hash.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi linker.texi: $(srcdir_up)/linker.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -354,7 +354,7 @@ linker.texi: $(srcdir_up)/linker.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/linker.c >linker.tmp $(RUN_MOVEIFCHANGE) linker.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi LIBBFD_H_DEP = \ $(srcdir_up)/libbfd-in.h \ @@ -390,7 +390,7 @@ libbfd.h: $(LIBBFD_H_DEP) @MAINT@ $(src_MKDOC) Makefile.am echo "#endif /* __LIBBFD_H__ */" >> $@ echo "" >> $@ echo "/* End of libbfd.h */" >> $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot Makefile; then touch $@; fi LIBCOFF_H_DEP = \ $(srcdir_up)/libcoff-in.h \ @@ -411,7 +411,7 @@ libcoff.h: $(LIBCOFF_H_DEP) @MAINT@ $(src_MKDOC) $(src_MKDOC) -i -f $(srcdir)/proto.str < $${file} >>$@ ;; \ esac; \ done - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot Makefile; then touch $@; fi BFD_H_DEP = \ $(srcdir_up)/bfd-in.h \ @@ -473,7 +473,7 @@ bfd.h: $(BFD_H_DEP) @MAINT@ $(src_MKDOC) echo "}" >> $@ echo "#endif /* __cplusplus */" >> $@ echo "#endif" >> $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot Makefile; then touch $@; fi bfdver.texi: @MAINT@ $(srcdir)/Makefile.in @echo "creating $@"; \ diff --git a/src/bfd/doc/Makefile.in b/src/bfd/doc/Makefile.in index c424bb306..34b3d4e14 100644 --- a/src/bfd/doc/Makefile.in +++ b/src/bfd/doc/Makefile.in @@ -1219,7 +1219,7 @@ aoutx.texi: $(srcdir_up)/aoutx.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/aoutx.h > aoutx.tmp $(RUN_MOVEIFCHANGE) aoutx.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi archive.texi: $(srcdir_up)/archive.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1228,7 +1228,7 @@ archive.texi: $(srcdir_up)/archive.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/archive.c >archive.tmp $(RUN_MOVEIFCHANGE) archive.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi archures.texi: $(srcdir_up)/archures.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1237,7 +1237,7 @@ archures.texi: $(srcdir_up)/archures.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_T fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/archures.c >archures.tmp $(RUN_MOVEIFCHANGE) archures.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with # bfd.texinfo on an 8.3 filesystem. @@ -1248,7 +1248,7 @@ bfdt.texi: $(srcdir_up)/bfd.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFC fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/bfd.c > bfd.tmp $(RUN_MOVEIFCHANGE) bfd.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi cache.texi: $(srcdir_up)/cache.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1257,7 +1257,7 @@ cache.texi: $(srcdir_up)/cache.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/cache.c >cache.tmp $(RUN_MOVEIFCHANGE) cache.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi coffcode.texi: $(srcdir_up)/coffcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1266,7 +1266,7 @@ coffcode.texi: $(srcdir_up)/coffcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_T fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/coffcode.h >coffcode.tmp $(RUN_MOVEIFCHANGE) coffcode.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi core.texi: $(srcdir_up)/corefile.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1275,7 +1275,7 @@ core.texi: $(srcdir_up)/corefile.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/corefile.c >core.tmp $(RUN_MOVEIFCHANGE) core.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi elf.texi: $(srcdir_up)/elf.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1284,7 +1284,7 @@ elf.texi: $(srcdir_up)/elf.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCH fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/elf.c > elf.tmp $(RUN_MOVEIFCHANGE) elf.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi elfcode.texi: $(srcdir_up)/elfcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1293,7 +1293,7 @@ elfcode.texi: $(srcdir_up)/elfcode.h $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/elfcode.h >elfcode.tmp $(RUN_MOVEIFCHANGE) elfcode.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi mmo.texi: $(srcdir_up)/mmo.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1302,7 +1302,7 @@ mmo.texi: $(srcdir_up)/mmo.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCH fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/mmo.c > mmo.tmp $(RUN_MOVEIFCHANGE) mmo.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi format.texi: $(srcdir_up)/format.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1311,7 +1311,7 @@ format.texi: $(srcdir_up)/format.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/format.c >format.tmp $(RUN_MOVEIFCHANGE) format.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi libbfd.texi: $(srcdir_up)/libbfd.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1320,7 +1320,7 @@ libbfd.texi: $(srcdir_up)/libbfd.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/libbfd.c >libbfd.tmp $(RUN_MOVEIFCHANGE) libbfd.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi bfdio.texi: $(srcdir_up)/bfdio.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1329,7 +1329,7 @@ bfdio.texi: $(srcdir_up)/bfdio.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/bfdio.c >bfdio.tmp $(RUN_MOVEIFCHANGE) bfdio.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi bfdwin.texi: $(srcdir_up)/bfdwin.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1338,7 +1338,7 @@ bfdwin.texi: $(srcdir_up)/bfdwin.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str < $(srcdir_up)/bfdwin.c >bfdwin.tmp $(RUN_MOVEIFCHANGE) bfdwin.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi opncls.texi: $(srcdir_up)/opncls.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1347,7 +1347,7 @@ opncls.texi: $(srcdir_up)/opncls.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/opncls.c >opncls.tmp $(RUN_MOVEIFCHANGE) opncls.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi reloc.texi: $(srcdir_up)/reloc.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1356,7 +1356,7 @@ reloc.texi: $(srcdir_up)/reloc.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVE fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/reloc.c >reloc.tmp $(RUN_MOVEIFCHANGE) reloc.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi section.texi: $(srcdir_up)/section.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1365,7 +1365,7 @@ section.texi: $(srcdir_up)/section.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/section.c >section.tmp $(RUN_MOVEIFCHANGE) section.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi syms.texi: $(srcdir_up)/syms.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1374,7 +1374,7 @@ syms.texi: $(srcdir_up)/syms.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIF fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/syms.c > syms.tmp $(RUN_MOVEIFCHANGE) syms.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi targets.texi: $(srcdir_up)/targets.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1383,7 +1383,7 @@ targets.texi: $(srcdir_up)/targets.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_ fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/targets.c >targets.tmp $(RUN_MOVEIFCHANGE) targets.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi init.texi: $(srcdir_up)/init.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1392,7 +1392,7 @@ init.texi: $(srcdir_up)/init.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIF fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/init.c > init.tmp $(RUN_MOVEIFCHANGE) init.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi hash.texi: $(srcdir_up)/hash.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1401,7 +1401,7 @@ hash.texi: $(srcdir_up)/hash.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIF fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/hash.c > hash.tmp $(RUN_MOVEIFCHANGE) hash.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi linker.texi: $(srcdir_up)/linker.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MOVEIFCHANGE) $(src_MKDOC) if test ! -e $(MKDOC); then $(MAKE) $(MKDOC); fi @@ -1410,7 +1410,7 @@ linker.texi: $(srcdir_up)/linker.c $(srcdir)/doc.str @MAINT@ chew.c $(PATH_TO_MO fi $(src_MKDOC) -f $(srcdir)/doc.str <$(srcdir_up)/linker.c >linker.tmp $(RUN_MOVEIFCHANGE) linker.tmp $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot $<; then touch $@; fi libbfd.h: $(LIBBFD_H_DEP) @MAINT@ $(src_MKDOC) Makefile.am echo "$(LIBBFD_H_DEP)" | $(SED) -f $(srcdir)/header.sed \ @@ -1431,7 +1431,7 @@ libbfd.h: $(LIBBFD_H_DEP) @MAINT@ $(src_MKDOC) Makefile.am echo "#endif /* __LIBBFD_H__ */" >> $@ echo "" >> $@ echo "/* End of libbfd.h */" >> $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot Makefile; then touch $@; fi libcoff.h: $(LIBCOFF_H_DEP) @MAINT@ $(src_MKDOC) echo "$(LIBCOFF_H_DEP)" | $(SED) -f $(srcdir)/header.sed \ @@ -1445,7 +1445,7 @@ libcoff.h: $(LIBCOFF_H_DEP) @MAINT@ $(src_MKDOC) $(src_MKDOC) -i -f $(srcdir)/proto.str < $${file} >>$@ ;; \ esac; \ done - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot Makefile; then touch $@; fi am--refresh: Makefile $(srcdir_up)/Makefile @pwd || echo "am--refresh" @@ -1482,7 +1482,7 @@ bfd.h: $(BFD_H_DEP) @MAINT@ $(src_MKDOC) echo "}" >> $@ echo "#endif /* __cplusplus */" >> $@ echo "#endif" >> $@ - $(AM_V_at)touch $@ + $(AM_V_at)if test $@ -ot Makefile; then touch $@; fi bfdver.texi: @MAINT@ $(srcdir)/Makefile.in @echo "creating $@"; \ diff --git a/src/bfd/po/bfd.pot b/src/bfd/po/bfd.pot index 5bfc904e0..fbb204bc4 100644 --- a/src/bfd/po/bfd.pot +++ b/src/bfd/po/bfd.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-08 10:36-0500\n" +"POT-Creation-Date: 2024-01-08 12:39-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"