]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(depfiles, common-mostlyclean): Add $(test-srcs).
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Mar 1997 03:37:00 +0000 (03:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Mar 1997 03:37:00 +0000 (03:37 +0000)
Makerules

index 6491af68e531ec80730bcebb9cddeb12230acc54..4151c2357b492fff3920954f0d34d5b2c2625990 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -399,7 +399,7 @@ endif
 \f
 +depfiles := $(strip $(sources:.c=.d) \
                     $(patsubst %.o,%.d,$(filter %.o,$(extra-objs:.so=.o))) \
-                    $(addsuffix .d,$(others) $(tests)))
+                    $(addsuffix .d,$(others) $(tests) $(test-srcs)))
 +depfiles := $(addprefix $(objpfx),\
                         $(filter-out $(addsuffix .d,$(omit-deps)),\
                                      $(+depfiles)))
@@ -835,9 +835,10 @@ mostlyclean: common-mostlyclean
 
 # Remove the object files.
 common-mostlyclean:
-       -rm -f $(addprefix $(objpfx),$(tests) $(others) \
-                                    $(addsuffix .o,$(tests) $(others)) \
-                                    $(addsuffix .out,$(tests)))
+       -rm -f $(addprefix $(objpfx),$(tests) $(test-srcs) $(others) \
+                                    $(addsuffix .o,$(tests) $(test-srcs) \
+                                                   $(others)) \
+                                    $(addsuffix .out,$(tests) $(test-srcs)))
        -rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib))
        -rm -f core $(common-objpfx)stub-$(subdir)
        $(rmobjs)