about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-10-16 09:25:59 +0000
committerRoland McGrath <roland@gnu.org>2005-10-16 09:25:59 +0000
commitaed48a2a23c7aaf5d363206fcf3ba8961f90ce83 (patch)
treef7dbd35574751ccd9b68d104a408888d468d0e7e /elf/Makefile
parent809e3018b3604c524e933643c3a06864978dfc53 (diff)
downloadglibc-aed48a2a23c7aaf5d363206fcf3ba8961f90ce83.tar.gz
glibc-aed48a2a23c7aaf5d363206fcf3ba8961f90ce83.tar.xz
glibc-aed48a2a23c7aaf5d363206fcf3ba8961f90ce83.zip
2005-10-16 Daniel Jacobowitz <dan@codesourcery.com>
	    Roland McGrath  <roland@redhat.com>

	* Makerules [module-names] (extra-modules-build): New variable.
	($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule.
	Depend on libc.so and libc_nonshared.a.
	* dlfcn/Makefile ($(test-modules)): Remove static pattern rule.
	* elf/Makefile (modules-names-nobuild): New variable, add filtmod1.
	($(test-modules)): Remove static pattern rule.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 123b448ff1..91fb218ccd 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -223,6 +223,10 @@ extra-objs += $(addsuffix .os,$(strip $(modules-names)))
 # We need this variable to be sure the test modules get the right CPPFLAGS.
 test-extras += $(modules-names)
 
+# filtmod1.so has a special rule
+modules-names-nobuild := filtmod1
+
+
 include ../Rules
 
 check-abi: check-abi-ld
@@ -490,10 +494,6 @@ reldep9mod1.so-no-z-defs = yes
 unload3mod4.so-no-z-defs = yes
 unload4mod1.so-no-z-defs = yes
 
-# filtmod1.so has a special rule
-$(filter-out $(objpfx)filtmod1.so, $(test-modules)): $(objpfx)%.so: $(objpfx)%.os
-	$(build-module)
-
 ifeq ($(build-shared),yes)
 # Build all the modules even when not actually running test programs.
 tests: $(test-modules)