about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-08-21 21:06:35 +0000
committerUlrich Drepper <drepper@redhat.com>2006-08-21 21:06:35 +0000
commit376e973ad66993e7b5dbdfd173c399e1af3a1add (patch)
treeedeb21a811ba32810733e3970fbe8676a0a854b5 /Makerules
parent240c62a7e726fb8d78c1c4797d20b358d8aa1210 (diff)
downloadglibc-376e973ad66993e7b5dbdfd173c399e1af3a1add.tar.gz
glibc-376e973ad66993e7b5dbdfd173c399e1af3a1add.tar.xz
glibc-376e973ad66993e7b5dbdfd173c399e1af3a1add.zip
[BZ #3018]
2006-07-30  Joseph S. Myers  <joseph@codesourcery.com>
	[BZ #3018]
	* Makerules (depfiles): Handle extra-test-objs the same as
	extra-objs.
	(common-mostlyclean): Likewise.
	* dlfcn/Makefile (extra-objs): Add modules to extra-test-objs
	instead.
	* elf/Makefile (extra-objs): Likewise.
	* stdlib/Makefile (extra-objs): Likewise.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 98a06400b5..f50f7a4884 100644
--- a/Makerules
+++ b/Makerules
@@ -688,6 +688,7 @@ endif
 
 +depfiles := $(sources:.c=.d) \
 	     $(patsubst %.o,%.d,$(filter %.o,$(extra-objs:.os=.o))) \
+	     $(patsubst %.o,%.d,$(filter %.o,$(extra-test-objs:.os=.o))) \
 	     $(addsuffix .d,$(tests) $(xtests) $(test-srcs))
 ifeq ($(build-programs),yes)
 +depfiles += $(addsuffix .d,$(others) $(sysdep-others))
@@ -1369,8 +1370,8 @@ common-mostlyclean:
 						      $(test-srcs)) \
 				     $(addsuffix -bp.out,$(tests) $(xtests) \
 							 $(test-srcs)))
-	-rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib) \
-				     $(install-lib.so) \
+	-rm -f $(addprefix $(objpfx),$(extra-objs) $(extra-test-objs) \
+				     $(install-lib) $(install-lib.so) \
 				     $(install-lib.so:%.so=%_pic.a))
 	-rm -f core
 	-rm -f $(objpfx)rtld-*.os