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 | |
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.
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | Makerules | 5 | ||||
-rw-r--r-- | dlfcn/Makefile | 2 | ||||
-rw-r--r-- | elf/Makefile | 2 | ||||
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/Makefile | 2 | ||||
-rw-r--r-- | stdlib/Makefile | 2 |
7 files changed, 23 insertions, 6 deletions
@@ -1,3 +1,14 @@ +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. + 2006-08-14 Eric Blake <ebb9@byu.net> [BZ #3044] @@ -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 diff --git a/dlfcn/Makefile b/dlfcn/Makefile index 649f61d..ffdb70e 100644 --- a/dlfcn/Makefile +++ b/dlfcn/Makefile @@ -63,7 +63,7 @@ tststatic-ENV = LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf tststatic2-ENV = LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf endif -extra-objs += $(modules-names:=.os) +extra-test-objs += $(modules-names:=.os) generated := $(modules-names:=.so) include ../Rules diff --git a/elf/Makefile b/elf/Makefile index 3b4ef26..402fc18 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -223,7 +223,7 @@ modules-nodelete-yes = nodelmod1 nodelmod2 nodelmod3 nodelmod4 \ nodel2mod1 nodel2mod2 nodel2mod3 modules-nodlopen-yes = nodlopenmod nodlopenmod2 modules-execstack-yes = tst-execstack-mod -extra-objs += $(addsuffix .os,$(strip $(modules-names))) +extra-test-objs += $(addsuffix .os,$(strip $(modules-names))) # We need this variable to be sure the test modules get the right CPPFLAGS. test-extras += $(modules-names) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 498142c..aacea77 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2006-07-30 Joseph S. Myers <joseph@codesourcery.com> + + [BZ #3018] + * Makefile (extra-objs): Add modules to extra-test-objs instead. + 2006-08-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define diff --git a/nptl/Makefile b/nptl/Makefile index 3ba647a..451609a 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -297,7 +297,7 @@ modules-names = tst-atfork2mod tst-tls3mod tst-tls4moda tst-tls4modb \ tst-tls5mod tst-tls5moda tst-tls5modb tst-tls5modc \ tst-tls5modd tst-tls5mode tst-tls5modf \ tst-_res1mod1 tst-_res1mod2 tst-execstack-mod tst-fini1mod -extra-objs += $(addsuffix .os,$(strip $(modules-names))) tst-cleanup4aux.o +extra-test-objs += $(addsuffix .os,$(strip $(modules-names))) tst-cleanup4aux.o test-extras += $(modules-names) test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names))) diff --git a/stdlib/Makefile b/stdlib/Makefile index c857eac..e632d35 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -86,7 +86,7 @@ aux += fpioconst mp_clz_tab distribute := $(distribute) $(mpn-headers) fpioconst.h tst-putenvmod.c tests-extras += tst-putenvmod -extra-objs += tst-putenvmod.os +extra-test-objs += tst-putenvmod.os generated += isomac isomac.out tst-putenvmod.so |