aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-07-29 08:36:30 +0000
committerRoland McGrath <roland@gnu.org>2003-07-29 08:36:30 +0000
commit5181d776e8bb3c277ea291b3b43be0ce8a38c6c3 (patch)
treeacdcf5525dff8dcdabe7226d996e304e55c82127 /linuxthreads
parentbba446f7e9eb56a9117af5423b872f5de42e4740 (diff)
downloadglibc-5181d776e8bb3c277ea291b3b43be0ce8a38c6c3.tar
glibc-5181d776e8bb3c277ea291b3b43be0ce8a38c6c3.tar.gz
glibc-5181d776e8bb3c277ea291b3b43be0ce8a38c6c3.tar.bz2
glibc-5181d776e8bb3c277ea291b3b43be0ce8a38c6c3.zip
* elf/Makefile (tests) [$(build-shared) = yes]:
Depend on $(test-modules). * dlfcn/Makefile: Likewise.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 9bb38536fc..6c3c351df8 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -21,6 +21,8 @@
#
subdir := linuxthreads
+all: # Make this the default target; it will be defined in Rules.
+
linuxthreads-version := $(shell sed -n 's/^.*$(subdir)-\([0-9.]*\).*$$/\1/p' \
Banner)
@@ -130,7 +132,10 @@ test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
$(test-modules): $(objpfx)%.so: $(objpfx)%.os $(common-objpfx)shlib.lds
$(build-module)
-all: # Make this the default target; it will be defined in Rules.
+ifeq ($(build-shared),yes)
+# Build all the modules even when not actually running test programs.
+tests: $(test-modules)
+endif
# What we install as libpthread.so for programs to link against is in fact a
# link script. It contains references for the various libraries we need.