Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 30 Mar 1998 13:32:03 +0000 (13:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 30 Mar 1998 13:32:03 +0000 (13:32 +0000)
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.

ChangeLog
Makefile
Makerules

index 29a2c50..e94f763 100644 (file)
--- 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
index 813ffc4..83b1678 100644 (file)
--- 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
index 3a34da4..359f6d1 100644 (file)
--- 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))