2002-07-22  Ulrich Drepper  <drepper@redhat.com>

	* Makefile: Actually creat tst-signal.out file when running the test.
This commit is contained in:
Ulrich Drepper 2002-07-23 00:37:27 +00:00
parent 97887d3553
commit 67ee6db0fd
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-07-22 Ulrich Drepper <drepper@redhat.com>
* Makefile: Actually creat tst-signal.out file when running the test.
2002-07-19 Ulrich Drepper <drepper@redhat.com>
* errno.c (__errno_location): Don't define unless !USE_TLS

View File

@ -63,6 +63,11 @@ tests = ex1 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 $(librt-tests) ex12 ex13 joinrace \
ex17 ex18 tst-cancel tst-context bug-sleep
test-srcs = tst-signal
ifeq ($(build-static),yes)
tests += tststatic
tests-static += tststatic
endif
ifeq (yes,$(build-shared))
tests-nodelete-yes = unload
endif
@ -90,7 +95,9 @@ $(objpfx)libpthread.so: $(common-objpfx)libc.so \
# Make sure we link with the thread library.
ifeq ($(build-shared),yes)
$(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.so
$(addprefix $(objpfx), \
$(filter-out $(tests-static), \
$(tests) $(test-srcs))): $(objpfx)libpthread.so
$(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.so
$(objpfx)unload: $(common-objpfx)dlfcn/libdl.so
else
@ -102,6 +109,10 @@ $(tests:%=$(objpfx)%-bp): $(objpfx)libpthread_b.a
$(librt-tests:%=$(objpfx)%-bp): $(common-objpfx)rt/librt_b.a
endif
ifeq ($(build-static),yes)
$(addprefix $(objpfx), $(tests-static)): $(objpfx)libpthread.a
endif
ifeq ($(build-shared),yes)
vpath pt-initfini.c $(full_config_sysdirs)
@ -135,6 +146,6 @@ 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)
$(SHELL) -e $< $(common-objpfx) > $@
endif
endif