From 137bca87e71138610a5b57e64b5e2619d6889853 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 21 Jul 2000 07:21:02 +0000 Subject: Rewrite rules to generate filtmod1.so. --- elf/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'elf/Makefile') diff --git a/elf/Makefile b/elf/Makefile index 360e764a52..df00ef2557 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -243,7 +243,6 @@ $(objpfx)dep1.so: $(objpfx)dep2.so $(objpfx)dep4.so $(objpfx)dep2.so: $(objpfx)dep3.so $(objpfx)dep4.so $(objpfx)dep4.so: $(objpfx)dep3.so $(objpfx)nodelmod3.so: $(objpfx)nodelmod4.so -$(objpfx)filtmod1.so: $(objpfx)filtmod2.so $(test-modules): $(objpfx)%.so: $(objpfx)%.os $(build-module) @@ -315,5 +314,9 @@ LDFLAGS-nodlopenmod.so = -Wl,--enable-new-dtags,-z,nodlopen $(objpfx)nodlopen: $(libdl) $(objpfx)nodlopen.out: $(objpfx)nodlopenmod.so -LDFLAGS-filtmod1.so = -Wl,-F,$(objpfx)filtmod2.so +$(objpfx)filtmod1.so: $(objpfx)filtmod1.os $(objpfx)filtmod2.so + $(LINK.o) -shared -o $@ -B$(csu-objpfx) $(LDFLAGS.so) \ + -L$(subst :, -L,$(rpath-link)) \ + -Wl,-rpath-link=$(rpath-link) \ + $< -Wl,-F,$(objpfx)filtmod2.so $(objpfx)filter: $(objpfx)filtmod1.so -- cgit 1.4.1