diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-16 09:08:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-16 09:08:30 +0000 |
commit | 3fe400152688be6f4fea1f9dd07e8d8fe5be4e46 (patch) | |
tree | f2c6a8c68eb565146bb255c03de5435151bc98d6 /dlfcn/Makefile | |
parent | fe4901403f06f138c89fe428f69b9707fcabcc56 (diff) | |
download | glibc-3fe400152688be6f4fea1f9dd07e8d8fe5be4e46.tar.gz glibc-3fe400152688be6f4fea1f9dd07e8d8fe5be4e46.tar.xz glibc-3fe400152688be6f4fea1f9dd07e8d8fe5be4e46.zip |
Update.
2000-09-16 Ulrich Drepper <drepper@redhat.com> * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c. (test): Add default. (modules-names): Add defaultmod1 and defaultmod2. Add rules to build test objects.
Diffstat (limited to 'dlfcn/Makefile')
-rw-r--r-- | dlfcn/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile index a38be42647..2be68dd0c1 100644 --- a/dlfcn/Makefile +++ b/dlfcn/Makefile @@ -20,7 +20,8 @@ subdir := dlfcn headers := bits/dlfcn.h dlfcn.h extra-libs := libdl libdl-routines := dlopen dlclose dlsym dlvsym dlerror dladdr eval -distribute := dlopenold.c glreflib1.c glreflib2.c failtestmod.c eval.c +distribute := dlopenold.c glreflib1.c glreflib2.c failtestmod.c eval.c \ + defaultmod1.c defaultmod2.c extra-libs-others := libdl @@ -33,9 +34,9 @@ endif libdl-shared-only-routines += eval ifeq (yes,$(build-shared)) -tests = glrefmain failtest tst-dladdr +tests = glrefmain failtest tst-dladdr default endif -modules-names = glreflib1 glreflib2 failtestmod +modules-names = glreflib1 glreflib2 failtestmod defaultmod1 defaultmod2 extra-objs += $(modules-names:=.os) eval.os generated := $(modules-names:=.so) @@ -56,3 +57,9 @@ $(objpfx)failtest.out: $(objpfx)failtestmod.so $(objpfx)tst-dladdr: $(libdl) $(objpfx)tst-dladdr.out: $(objpfx)glreflib1.so + +LDFLAGS-default = -rdynamic +$(objpfx)default: $(libdl) $(objpfx)defaultmod1.so $(objpfx)defaultmod2.so +$(objpfx)defaultmod1.so: $(libdl) +LDFLAGS-defaultmod2.so = -Bsymbolic +$(objpfx)defaultmod2.so: $(libdl) |