diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | Makerules | 5 |
3 files changed, 15 insertions, 3 deletions
@@ -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 @@ -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 @@ -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)) |