Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
authorNathan Sidwell <nathan@acm.org>
Wed, 22 Sep 1999 15:24:30 +0000 (15:24 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 22 Sep 1999 15:24:30 +0000 (15:24 +0000)
* Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
(mostlyclean): Depend on INTL_MOSTLYCLEAN.
(clean): Depend on INTL_CLEAN.
(maintainer-clean): Adjust.

From-SVN: r29591

gcc/ChangeLog
gcc/Makefile.in

index 608eb1a..759a21e 100644 (file)
@@ -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.
index 34473bf..964c56a 100644 (file)
@@ -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