aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-23 18:10:54 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-23 18:10:54 +0000
commitc1025c1980cb29bf3b22267ad19c73603712610e (patch)
tree530afa7d9897e07cb8383fec57f8b34713cc423d /elf/Makefile
parent2d2d8237e0595f1c20d8d9c142845d46cba36e1b (diff)
downloadglibc-c1025c1980cb29bf3b22267ad19c73603712610e.tar
glibc-c1025c1980cb29bf3b22267ad19c73603712610e.tar.gz
glibc-c1025c1980cb29bf3b22267ad19c73603712610e.tar.bz2
glibc-c1025c1980cb29bf3b22267ad19c73603712610e.zip
(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.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index da266b825c..fd3faef0a7 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)