Commit 2f3bdde7 by Ben Elliston Committed by Ben Elliston

Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc from the gcc build directory.

	* Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
	from the gcc build directory.
	* Makefile.in: Regenerate.
gcc/
	* Makefile.in (clean-target): Depend on clean-target-libgcc.
	(clean-target-libgcc): Import rule from the top-level Makefile.in.

From-SVN: r107668
parent 1e90e92f
2005-11-29 Ben Elliston <bje@au.ibm.com>
* Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
from the gcc build directory.
* Makefile.in: Regenerate.
2005-11-29 Ben Elliston <bje@au.ibm.com>
* Makefile.def: Add new libdecnumber host_module. Make all-gcc
depend on all-libdecnumber.
* configure.in (host_libs): Include libdecnumber.
......
......@@ -2081,14 +2081,10 @@ maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
maintainer-clean: local-distclean
realclean: maintainer-clean
# Extra dependency for clean-target, owing to the mixed nature of gcc
# Extra dependency for clean-target, owing to the mixed nature of gcc.
clean-target: clean-target-libgcc
clean-target-libgcc:
test ! -d gcc/libgcc || \
(cd gcc/libgcc && find . -type d -print) | \
while read d; do rm -f gcc/$$d/libgcc.a || : ; done
-rm -rf gcc/libgcc
-rm -f gcc/stmp-dirs
test ! -d gcc || (cd gcc && $(MAKE) $@)
# Check target.
......@@ -839,14 +839,10 @@ maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
maintainer-clean: local-distclean
realclean: maintainer-clean
# Extra dependency for clean-target, owing to the mixed nature of gcc
# Extra dependency for clean-target, owing to the mixed nature of gcc.
clean-target: clean-target-libgcc
clean-target-libgcc:
test ! -d gcc/libgcc || \
(cd gcc/libgcc && find . -type d -print) | \
while read d; do rm -f gcc/$$d/libgcc.a || : ; done
-rm -rf gcc/libgcc
-rm -f gcc/stmp-dirs
test ! -d gcc || (cd gcc && $(MAKE) $@)
# Check target.
......
2005-11-29 Ben Elliston <bje@au.ibm.com>
* Makefile.in (clean-target): Depend on clean-target-libgcc.
(clean-target-libgcc): Import rule from the top-level Makefile.in.
2005-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR middle-end/20109
......
......@@ -3423,6 +3423,18 @@ fsf-funding.pod: funding.texi
-$(TEXI2POD) $< > $@
#
# clean-target removes all files made by compilation.
# This can be added to over time.
clean-target: clean-target-libgcc
clean-target-libgcc:
test ! -d libgcc || \
(cd libgcc && find . -type d -print) | \
while read d; do rm -f $$d/libgcc.a || : ; done
test ! -d libgcc || rm -r libgcc
test ! -f stmp-dirs || rm stmp-dirs
# Deletion of files made during compilation.
# There are four levels of this:
# `mostlyclean', `clean', `distclean' and `maintainer-clean'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment