summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
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