From c1025c1980cb29bf3b22267ad19c73603712610e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 23 May 2000 18:10:54 +0000 Subject: (tests): Add $(tests-vis-$(have-protected)). (tests-vis-yes): Add vismain. (modules-names): Add $(modules-vis-$(have-protected)). (modules-vis-yes): Add vismod1, vismod2, and vismod3. Add rules to generate and run vismain. --- elf/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'elf/Makefile') diff --git a/elf/Makefile b/elf/Makefile index da266b8..fd3faef 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -81,11 +81,13 @@ endif ifeq (yes,$(build-shared)) tests = loadtest restest1 preloadtest loadfail multiload origtest resolvfail \ - constload1 order + constload1 order $(tests-vis-$(have-protected)) +tests-vis-yes = vismain endif modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \ testobj1_1 failobj constload2 constload3 \ - dep1 dep2 dep3 dep4 + dep1 dep2 dep3 dep4 $(modules-vis-$(have-protected)) +modules-vis-yes = vismod1 vismod2 vismod3 extra-objs += $(modules-names:=.os) include ../Rules @@ -275,3 +277,7 @@ $(objpfx)order.out: $(objpfx)order --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \ $(objpfx)order > $@ (echo "0123456789" | cmp $@ -) > /dev/null + +$(objpfx)vismain: $(addprefix $(objpfx),vismod1.so vismod2.so) +$(objpfx)vismain.out: $(addprefix $(objpfx),vismod3.so) +vismain-ENV = LD_PRELOAD=$(addprefix $(objpfx),vismod3.so) -- cgit v1.1