diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-01-16 17:44:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-01-16 17:44:51 +0000 |
commit | de13e6e79b95fb939bd6698a7be98910312897d1 (patch) | |
tree | 19453123cd12feca75e5e24b527d56b54286ca3a /linuxthreads | |
parent | b26e29d8c834410c8d8add0a2ea7768f3a57c6c7 (diff) | |
download | glibc-de13e6e79b95fb939bd6698a7be98910312897d1.zip glibc-de13e6e79b95fb939bd6698a7be98910312897d1.tar.gz glibc-de13e6e79b95fb939bd6698a7be98910312897d1.tar.bz2 |
Update.
2002-01-12 Andreas Schwab <schwab@suse.de>
* Makefile (test-srcs): Add tst-signal.
(tests): Run tst-signal.
(distribute): Add tst-signal.sh.
* tst-signal.c, tst-signal.sh: New files.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 7 | ||||
-rw-r--r-- | linuxthreads/Makefile | 15 |
2 files changed, 19 insertions, 3 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 174b34f..6be38e1 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,10 @@ +2002-01-12 Andreas Schwab <schwab@suse.de> + + * Makefile (test-srcs): Add tst-signal. + (tests): Run tst-signal. + (distribute): Add tst-signal.sh. + * tst-signal.c, tst-signal.sh: New files. + 2002-01-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning. diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index cf01102..2237482 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -25,7 +25,7 @@ linuxthreads-version := $(shell sed -n 's/^.*$(subdir)-\([0-9.]*\).*$$/\1/p' \ Banner) headers := pthread.h semaphore.h -distribute := internals.h queue.h restart.h spinlock.h +distribute := internals.h queue.h restart.h spinlock.h tst-signal.sh routines := weaks no-tsd @@ -61,6 +61,7 @@ librt-tests = ex10 ex11 tests = ex1 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 $(librt-tests) ex12 ex13 joinrace \ tststack $(tests-nodelete-$(have-z-nodelete)) ecmutex ex14 ex15 ex16 \ ex17 ex18 tst-cancel tst-context +test-srcs = tst-signal ifeq (yes,$(build-shared)) tests-nodelete-yes = unload @@ -88,11 +89,11 @@ $(objpfx)libpthread.so: $(common-objpfx)libc.so \ # Make sure we link with the thread library. ifeq ($(build-shared),yes) -$(addprefix $(objpfx),$(tests)): $(objpfx)libpthread.so +$(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.so $(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.so $(objpfx)unload: $(common-objpfx)dlfcn/libdl.so else -$(addprefix $(objpfx),$(tests)): $(objpfx)libpthread.a +$(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a $(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.a endif ifeq ($(build-bounded),yes) @@ -128,3 +129,11 @@ ifeq (yes,$(build-static-nss)) otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \ $(resolvobjdir)/libresolv.a endif + +ifeq (no,$(cross-compiling)) +ifeq (yes,$(build-shared)) +tests: $(objpfx)tst-signal.out +$(objpfx)tst-signal.out: tst-signal.sh $(objpfx)tst-signal + $(SHELL) -e $< $(common-objpfx) +endif +endif |