aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>1999-09-22 15:24:30 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>1999-09-22 15:24:30 +0000
commit2051eea16f601ba41fc8082d038a1869eecf6b09 (patch)
treee168918310536a88ac1bac0ae0c893c15086e4dd /gcc
parent890ad3ead9ca658327664f08464681c1b5ff5a6b (diff)
downloadgcc-2051eea16f601ba41fc8082d038a1869eecf6b09.zip
gcc-2051eea16f601ba41fc8082d038a1869eecf6b09.tar.gz
gcc-2051eea16f601ba41fc8082d038a1869eecf6b09.tar.bz2
Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
* Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables. (mostlyclean): Depend on INTL_MOSTLYCLEAN. (clean): Depend on INTL_CLEAN. (maintainer-clean): Adjust. From-SVN: r29591
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/Makefile.in16
2 files changed, 16 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 608eb1a..759a21e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
+
+ * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
+ (mostlyclean): Depend on INTL_MOSTLYCLEAN.
+ (clean): Depend on INTL_CLEAN.
+ (maintainer-clean): Adjust.
+
Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (AC_PREREQ): Bump to 2.13.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 34473bf..964c56a 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2305,8 +2305,8 @@ INSTALL: $(srcdir)/install1.texi $(srcdir)/install.texi
# We remove as much from the language subdirectories as we can
# (less duplicated code).
-
-mostlyclean: intl.mostlyclean lang.mostlyclean
+INTL_MOSTLYCLEAN = intl.mostlyclean
+mostlyclean: $(INTL_MOSTLYCLEAN) lang.mostlyclean
-rm -f $(STAGESTUFF)
# Delete the temporary source copies for cross compilation.
-rm -f $(HOST_PREFIX_1)rtl.c $(HOST_PREFIX_1)rtlanal.c
@@ -2345,7 +2345,8 @@ mostlyclean: intl.mostlyclean lang.mostlyclean
# Delete all files made by compilation
# that don't exist in the distribution.
-clean: mostlyclean intl.clean lang.clean
+INTL_CLEAN = intl.clean
+clean: mostlyclean $(INTL_CLEAN) lang.clean
# It may not be quite desirable to delete unprotoize.c here,
# but the spec for `make clean' requires it.
# Using unprotoize.c is not quite right in the first place,
@@ -2406,13 +2407,14 @@ extraclean: distclean lang.extraclean
# Get rid of every file that's generated from some other file, except for `configure'.
# Most of these files ARE PRESENT in the GCC distribution.
-# We define INTL_DISTCLEAN to be empty in the submake, so that
-# we don't descend into intl after its makefile has been removed.
+# We define INTL_DISTCLEAN, INTL_CLEAN & INTL_MOSTLYCLEAN to be empty in the
+# submake, so that we don't descend into intl after its makefile has been
+# removed.
maintainer-clean:
@echo 'This command is intended for maintainers to use; it'
@echo 'deletes files that may need special tools to rebuild.'
- $(MAKE) INTL_DISTCLEAN= distclean \
- intl.maintainer-clean lang.maintainer-clean
+ $(MAKE) INTL_DISTCLEAN= INTL_CLEAN= INTL_MOSTLYCLEAN= \
+ intl.maintainer-clean lang.maintainer-clean distclean
-rm -f c-parse.y c-gperf.h
-rm -f c-parse.c c-parse.h c-parse.output
-rm -f cexp.c cexp.output TAGS