diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-21 21:06:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-21 21:06:35 +0000 |
commit | 376e973ad66993e7b5dbdfd173c399e1af3a1add (patch) | |
tree | edeb21a811ba32810733e3970fbe8676a0a854b5 /Makerules | |
parent | 240c62a7e726fb8d78c1c4797d20b358d8aa1210 (diff) | |
download | glibc-376e973ad66993e7b5dbdfd173c399e1af3a1add.zip glibc-376e973ad66993e7b5dbdfd173c399e1af3a1add.tar.gz glibc-376e973ad66993e7b5dbdfd173c399e1af3a1add.tar.bz2 |
[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-- | Makerules | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |