about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-30 13:32:03 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-30 13:32:03 +0000
commit4ddde9eea7281ffae3b6ebe6d4dd82ea133a7d29 (patch)
tree734be11b09cd57026bf8f7a5bc957b6c84f30afd
parent9afc8a596405de12ff3c66e13460b300d95eb74c (diff)
downloadglibc-4ddde9eea7281ffae3b6ebe6d4dd82ea133a7d29.tar.gz
glibc-4ddde9eea7281ffae3b6ebe6d4dd82ea133a7d29.tar.xz
glibc-4ddde9eea7281ffae3b6ebe6d4dd82ea133a7d29.zip
Update.
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.
-rw-r--r--ChangeLog8
-rw-r--r--Makefile5
-rw-r--r--Makerules5
3 files changed, 15 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 29a2c500f0..e94f763a4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
 	* sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
diff --git a/Makefile b/Makefile
index 813ffc4ef0..83b167846a 100644
--- a/Makefile
+++ b/Makefile
@@ -261,13 +261,14 @@ $(all-subdirs-targets):
 
 # Subroutines of all cleaning targets.
 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)) \
 	       $(addprefix $(objpfx),$(install-lib))
 parent-clean: parent-mostlyclean common-clean
 
 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
 # This is done this way rather than having `subdir_clean' be a
diff --git a/Makerules b/Makerules
index 3a34da4150..359f6d1cc6 100644
--- a/Makerules
+++ b/Makerules
@@ -935,9 +935,12 @@ mostlyclean: common-mostlyclean
 # Remove the object files.
 common-mostlyclean:
 	-rm -f $(addprefix $(objpfx),$(tests) $(test-srcs) $(others) \
+				     $(tests-static) \
 				     $(addsuffix .o,$(tests) $(test-srcs) \
+						    $(tests-static) \
 						    $(others)) \
-				     $(addsuffix .out,$(tests) $(test-srcs)))
+				     $(addsuffix .out,$(tests) $(test-srcs)) \
+				     $(addsuffix .sout,$(tests-static)))
 	-rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib) \
 				     $(install-lib.so) \
 				     $(install-lib.so:%.so=%_pic.a))