summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-18 12:52:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-18 12:52:17 +0000
commitf6666438e8783c36e515f03904533d4ff2ea387e (patch)
tree70194272fd7cc0d59d260bfb9d46230ea5313397 /libpthread
parent5016062735e34d4474e9c0305b51ebae90ab7a4a (diff)
- do not list non-existing files in the threads prerequisites
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/Makefile.in3
-rw-r--r--libpthread/linuxthreads.old_db/Makefile.in3
-rw-r--r--libpthread/linuxthreads/Makefile.in3
-rw-r--r--libpthread/linuxthreads_db/Makefile.in3
4 files changed, 4 insertions, 8 deletions
diff --git a/libpthread/linuxthreads.old/Makefile.in b/libpthread/linuxthreads.old/Makefile.in
index cae839360..aad58170a 100644
--- a/libpthread/linuxthreads.old/Makefile.in
+++ b/libpthread/linuxthreads.old/Makefile.in
@@ -111,8 +111,7 @@ include/bits/pthreadtypes.h: | include/bits
linuxthreads_headers := include/pthread.h include/semaphore.h \
include/bits/pthreadtypes.h
-$(linuxthreads_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(UCLIBC_HAS_THREADS) += $(linuxthreads_headers)
objclean-y += libpthread_clean
diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in
index fb2054f48..818e1e027 100644
--- a/libpthread/linuxthreads.old_db/Makefile.in
+++ b/libpthread/linuxthreads.old_db/Makefile.in
@@ -63,8 +63,7 @@ include/thread_db.h:
$(do_ln) ../$(PTDIR)_db/$(@F) $(top_builddir)$@
linuxthreads_db_headers := include/thread_db.h
-$(linuxthreads_db_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_db_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(PTHREADS_DEBUG_SUPPORT) += $(linuxthreads_db_headers)
objclean-y += libthread_db_clean
diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in
index f44677372..0529c613c 100644
--- a/libpthread/linuxthreads/Makefile.in
+++ b/libpthread/linuxthreads/Makefile.in
@@ -124,8 +124,7 @@ include/bits/pthreadtypes.h: | include/bits
linuxthreads_headers := include/pthread.h include/semaphore.h \
include/bits/pthreadtypes.h
-$(linuxthreads_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(UCLIBC_HAS_THREADS) += $(linuxthreads_headers)
objclean-y += libpthread_clean
diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in
index 19d854714..75dcbc7a7 100644
--- a/libpthread/linuxthreads_db/Makefile.in
+++ b/libpthread/linuxthreads_db/Makefile.in
@@ -63,8 +63,7 @@ include/thread_db.h:
$(do_ln) ../$(PTDIR)_db/$(@F) $(top_builddir)$@
linuxthreads_db_headers := include/thread_db.h
-$(linuxthreads_db_headers): include/config/linuxthreads/old.h \
- include/config/linuxthreads/new.h
+$(linuxthreads_db_headers): $(wildcard $(addprefix include/config/linuxthreads/,old.h new.h))
headers-$(PTHREADS_DEBUG_SUPPORT) += $(linuxthreads_db_headers)
objclean-y += libthread_db_clean