aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-12-08 02:32:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-12-08 02:32:10 +0000
commit611764ec0ac2bd066c326cdd19b33834ea7766b8 (patch)
tree845efccfe68ca429ad503d03edc116a58385a381
parentf995ef6bb9279dbe933500a4817d5a0308280bca (diff)
downloadgcc-611764ec0ac2bd066c326cdd19b33834ea7766b8.zip
gcc-611764ec0ac2bd066c326cdd19b33834ea7766b8.tar.gz
gcc-611764ec0ac2bd066c326cdd19b33834ea7766b8.tar.bz2
* Makefile.in (compare): Combine toplevel and $(SUBDIRS) cases.
From-SVN: r74405
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/Makefile.in20
2 files changed, 5 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c9ff1ef..7c2e739 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Makefile.in (compare): Combine toplevel and $(SUBDIRS) cases.
+
2003-12-07 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in, aclocal.m4: Revert to pre-2.5x conversion status.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 00ba39c..6cbdb70 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3550,25 +3550,7 @@ fastcompare fastcompare3 fastcompare4 fastcompare-lean fastcompare3-lean fastcom
gnucompare gnucompare3 gnucompare4 gnucompare-lean gnucompare3-lean gnucompare4-lean: force
-rm -f .bad_compare
case "$@" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo $@ | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
- for file in *$(objext); do \
- case "$@" in \
- slowcompare* ) \
- tail +16c ./$$file > tmp-foo1; \
- tail +16c stage$$stage/$$file > tmp-foo2 \
- && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $$file differs >> .bad_compare) || true; \
- ;; \
- fastcompare* ) \
- cmp $$file stage$$stage/$$file 16 16 > /dev/null 2>&1; \
- test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
- ;; \
- gnucompare* ) \
- cmp --ignore-initial=16 $$file stage$$stage/$$file > /dev/null 2>&1; \
- test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
- ;; \
- esac ; \
- done
- case "$@" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo $@ | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
- for dir in tmp-foo $(SUBDIRS); do \
+ for dir in . $(SUBDIRS); do \
if [ "`echo $$dir/*$(objext)`" != "$$dir/*$(objext)" ] ; then \
for file in $$dir/*$(objext); do \
case "$@" in \