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
This commit is contained in:
Nathan Sidwell 1999-09-22 15:24:30 +00:00 committed by Nathan Sidwell
parent 890ad3ead9
commit 2051eea16f
2 changed files with 16 additions and 7 deletions

View 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.

View 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