1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>

	* Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
	determining libs to remove.
	(postclean): Add soversions.mk.
	* Makerules (common-mostlyclean): Add tests-static and generated
	files.
This commit is contained in:
Ulrich Drepper 1998-03-30 13:32:03 +00:00
parent 9afc8a5964
commit 4ddde9eea7
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,11 @@
1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
* Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
determining libs to remove.
(postclean): Add soversions.mk.
* Makerules (common-mostlyclean): Add tests-static and generated
files.
1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com> 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct

View File

@ -261,13 +261,14 @@ $(all-subdirs-targets):
# Subroutines of all cleaning targets. # Subroutines of all cleaning targets.
parent-mostlyclean: common-mostlyclean # common-mostlyclean is in Makerules. parent-mostlyclean: common-mostlyclean # common-mostlyclean is in Makerules.
-rm -f $(foreach o,$(object-suffixes),\ -rm -f $(foreach o,$(object-suffixes-for-libc),\
$(common-objpfx)$(patsubst %,$(libtype$o),c)) \ $(common-objpfx)$(patsubst %,$(libtype$o),c)) \
$(addprefix $(objpfx),$(install-lib)) $(addprefix $(objpfx),$(install-lib))
parent-clean: parent-mostlyclean common-clean parent-clean: parent-mostlyclean common-clean
postclean = $(addprefix $(common-objpfx),$(postclean-generated)) \ postclean = $(addprefix $(common-objpfx),$(postclean-generated)) \
$(addprefix $(objpfx),sysd-Makefile sysd-dirs sysd-rules) $(addprefix $(objpfx),sysd-Makefile sysd-dirs sysd-rules) \
$(objpfx)soversions.mk
clean: parent-clean clean: parent-clean
# This is done this way rather than having `subdir_clean' be a # This is done this way rather than having `subdir_clean' be a

View File

@ -935,9 +935,12 @@ mostlyclean: common-mostlyclean
# Remove the object files. # Remove the object files.
common-mostlyclean: common-mostlyclean:
-rm -f $(addprefix $(objpfx),$(tests) $(test-srcs) $(others) \ -rm -f $(addprefix $(objpfx),$(tests) $(test-srcs) $(others) \
$(tests-static) \
$(addsuffix .o,$(tests) $(test-srcs) \ $(addsuffix .o,$(tests) $(test-srcs) \
$(tests-static) \
$(others)) \ $(others)) \
$(addsuffix .out,$(tests) $(test-srcs))) $(addsuffix .out,$(tests) $(test-srcs)) \
$(addsuffix .sout,$(tests-static)))
-rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib) \ -rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib) \
$(install-lib.so) \ $(install-lib.so) \
$(install-lib.so:%.so=%_pic.a)) $(install-lib.so:%.so=%_pic.a))