Fix 2000-06-22. grep after running dep.sed
authorAlan Modra <amodra@gmail.com>
Sat, 1 Jul 2000 01:41:09 +0000 (01:41 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 1 Jul 2000 01:41:09 +0000 (01:41 +0000)
15 files changed:
bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
binutils/ChangeLog
binutils/Makefile.am
binutils/Makefile.in
gprof/ChangeLog
gprof/Makefile.am
gprof/Makefile.in
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in

index cb7a27a..7ebf8fa 100644 (file)
@@ -1,3 +1,9 @@
+2000-07-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
+       (CLEANFILES): Add DEPA.
+       * Makefile.in: Regenerate.
+
 2000-06-30  DJ Delorie  <dj@cygnus.com>
        
        * peicode.h (coff_swap_filehdr_in): can't use e_magic because we
index 114a626..6d408a3 100644 (file)
@@ -576,11 +576,12 @@ install-data-local: $(BFD_H)
 DEP: dep.sed $(CFILES) $(HFILES) bfd.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES)
@@ -670,7 +671,7 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES)
 MOSTLYCLEANFILES = elf32-target.h elf64-target.h ofiles stamp-ofiles \
        targmatch.h
 
-CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEP1 DEP2 libbfd.a stamp-lib \
+CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
        stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
 
 # We want to rerun configure if config.bfd or configure.host change.
index 7b31b59..19b06cb 100644 (file)
@@ -637,7 +637,7 @@ MOSTLYCLEANFILES = elf32-target.h elf64-target.h ofiles stamp-ofiles \
        targmatch.h
 
 
-CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEP1 DEP2 libbfd.a stamp-lib \
+CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
        stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -1116,11 +1116,12 @@ install-data-local: $(BFD_H)
 DEP: dep.sed $(CFILES) $(HFILES) bfd.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES)
index 44ee5dc..717e27b 100644 (file)
@@ -1,3 +1,9 @@
+2000-07-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
+       (CLEANFILES): Add DEPA.
+       * Makefile.in: Regenerate.
+
 2000-06-27  Alan Modra  <alan@linuxcare.com.au>
 
        * ar.c: Revert incorrect 2000-06-25 patch.
index c3b09cd..9c3139a 100644 (file)
@@ -287,11 +287,12 @@ DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES) $(GENERATED_CFILES)
@@ -346,7 +347,7 @@ MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
 mostlyclean-local:
        -rm -rf tmpdir
 
-CLEANFILES = dep.sed DEP DEP1 DEP2
+CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
 
 .PHONY: install-exec-local
 
index 7e51ccc..5f11469 100644 (file)
@@ -300,7 +300,7 @@ MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
        abcdefgh*
 
 
-CLEANFILES = dep.sed DEP DEP1 DEP2
+CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
 CONFIG_HEADER = config.h
@@ -1150,11 +1150,12 @@ diststuff: $(DISTSTUFF) info
 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES) $(GENERATED_CFILES)
index 06723ca..1b5e8fb 100644 (file)
@@ -1,3 +1,9 @@
+2000-07-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
+       (CLEANFILES): Add DEPA.
+       * Makefile.in: Regenerate.
+
 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
 
        * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
index d380ce5..50d787b 100644 (file)
@@ -57,11 +57,12 @@ man_MANS = gprof.1
 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(gprof_SOURCES)
@@ -95,7 +96,7 @@ dep-am: DEP
 
 .PHONY: dep dep-in dep-am
 
-CLEANFILES = dep.sed DEP DEP1 DEP2
+CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
 
 # DO NOT DELETE THIS LINE -- mkdep uses it.
 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
index af7ea2f..7880de8 100644 (file)
@@ -138,7 +138,7 @@ POTFILES = $(sources) $(noinst_HEADERS)
 info_TEXINFOS = gprof.texi
 man_MANS = gprof.1
 
-CLEANFILES = dep.sed DEP DEP1 DEP2
+CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
 CONFIG_HEADER = gconfig.h
@@ -706,11 +706,12 @@ po/POTFILES.in: @MAINT@ Makefile
 DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(gprof_SOURCES)
index 97360fd..e3dbbea 100644 (file)
@@ -1,3 +1,9 @@
+2000-07-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
+       (CLEANFILES): Add DEPA.
+       * Makefile.in: Regenerate.
+
 2000-06-30  Timothy Wall  <twall@ppc>
 
        * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
index beb6580..cbb1503 100644 (file)
@@ -853,7 +853,7 @@ MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
        ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
 mostlyclean-local:
        -rm -rf tmpdir
-CLEANFILES = dep.sed DEP DEP1 DEP2
+CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
 
 .PHONY: install-exec-local install-data-local
 
@@ -892,11 +892,12 @@ distclean-local:
 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES) $(GENERATED_CFILES)
index 1ecd920..662da17 100644 (file)
@@ -396,7 +396,7 @@ MAINTAINERCLEANFILES = ldver.texi
 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
        ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
 
-CLEANFILES = dep.sed DEP DEP1 DEP2
+CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
 
 # Stuff that should be included in a distribution.  The diststuff
 # target is run by the taz target in ../Makefile.in.
@@ -1571,11 +1571,12 @@ distclean-local:
 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES) $(GENERATED_CFILES)
index fa7104a..8be6f0c 100644 (file)
@@ -1,3 +1,9 @@
+2000-07-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
+       (CLEANFILES): Add DEPA.
+       * Makefile.in: Regenerate.
+
 2000-06-26  Scott Bambrough  <scottb@netwinder.org>
 
        * arm-dis.c (regnames): Add an additional register set to match
index f4af046..8030fe8 100644 (file)
@@ -219,7 +219,7 @@ config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
        $(SHELL) ./config.status --recheck
 
 CLEANFILES = \
-       libopcodes.a stamp-lib dep.sed DEP DEP1 DEP2
+       libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
 
 
 
@@ -250,11 +250,12 @@ ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.t
 DEP: dep.sed $(CFILES) $(HFILES) config.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES)
index d189e6a..086f5c7 100644 (file)
@@ -304,7 +304,7 @@ noinst_LIBRARIES = libopcodes.a
 POTFILES = $(HFILES) $(CFILES)
 
 CLEANFILES = \
-       libopcodes.a stamp-lib dep.sed DEP DEP1 DEP2
+       libopcodes.a stamp-lib dep.sed DEP DEPA DEP1 DEP2
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
@@ -748,11 +748,12 @@ ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.t
 DEP: dep.sed $(CFILES) $(HFILES) config.h
        rm -f DEP1
        $(MAKE) MKDEP="$(MKDEP)" DEP1
-       if grep ' /' DEP1 > /dev/null 2> /dev/null; then \
+       sed -f dep.sed < DEP1 > DEPA
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
+       if grep ' /' DEPA > /dev/null 2> /dev/null; then \
          echo 'make DEP failed!'; exit 1; \
        else \
-         sed -f dep.sed < DEP1 > $@; \
-         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \
+         mv -f DEPA $@; \
        fi
 
 DEP1: $(CFILES)