about summary refs log tree commit diff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-19 00:38:11 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-19 00:38:11 +0000
commitac9e0aa1b0f59f3e2d47f1fc40b2c8061202e6ca (patch)
tree813bb336643c6459dddc2656c5607332908b7078 /nptl/Makefile
parent604b15cf5f43be0f8eeec9ed63342b9021c30c3e (diff)
downloadglibc-ac9e0aa1b0f59f3e2d47f1fc40b2c8061202e6ca.tar.gz
glibc-ac9e0aa1b0f59f3e2d47f1fc40b2c8061202e6ca.tar.xz
glibc-ac9e0aa1b0f59f3e2d47f1fc40b2c8061202e6ca.zip
Update.
	* Makefile (tests): Add tst-cond11.
	* tst-cond11.c: New file.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 5c8676f26c..6cddc9fff7 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -131,7 +131,7 @@ tests = tst-attr1 tst-attr2 \
 	tst-mutex7 \
 	tst-spin1 tst-spin2 tst-spin3 \
 	tst-cond1 tst-cond2 tst-cond3 tst-cond4 tst-cond5 tst-cond6 tst-cond7 \
-	tst-cond8 tst-cond9 tst-cond10 \
+	tst-cond8 tst-cond9 tst-cond10 tst-cond11 \
 	tst-rwlock1 tst-rwlock2 tst-rwlock3 tst-rwlock4 tst-rwlock5 \
 	tst-rwlock6 tst-rwlock7 tst-rwlock8 tst-rwlock9 tst-rwlock10 \
 	tst-rwlock11 \
@@ -265,6 +265,12 @@ $(objpfx)tst-tls3mod.so: $(shared-thread-library)
 
 $(objpfx)tst-dlsym1: $(libdl) $(shared-thread-library)
 
+ifeq (yes,$(build-shared))
+$(objpfx)tst-cond11: $(common-objpfx)rt/librt.so
+else
+$(objpfx)tst-cond11: $(common-objpfx)rt/librt.a
+endif
+
 extra-B-pthread.so = -B$(common-objpfx)nptl/
 $(objpfx)libpthread.so: $(objpfx)crti.o
 $(objpfx)libpthread.so: +preinit += $(objpfx)crti.o