From 5181d776e8bb3c277ea291b3b43be0ce8a38c6c3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 29 Jul 2003 08:36:30 +0000 Subject: * elf/Makefile (tests) [$(build-shared) = yes]: Depend on $(test-modules). * dlfcn/Makefile: Likewise. --- linuxthreads/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'linuxthreads/Makefile') 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. -- cgit 1.4.1