summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads_db
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-17 09:45:29 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-17 09:45:29 +0000
commit9584b4e582b293ead79d8bb0ff85c1ef12a888d9 (patch)
tree7eaf3bc76dd05e6d9a9c7002e7a9d5e23d5cd5fd /libpthread/linuxthreads_db
parentcf8c7b558c1c33cafe557ced361554461485af6c (diff)
downloaduClibc-alpine-9584b4e582b293ead79d8bb0ff85c1ef12a888d9.tar.bz2
uClibc-alpine-9584b4e582b293ead79d8bb0ff85c1ef12a888d9.tar.xz
Synch with trunk @ 24071.
Step 1 linuxthreads - linuxthreads_db - linuxthread.old - linuxthreads.old_db
Diffstat (limited to 'libpthread/linuxthreads_db')
-rw-r--r--libpthread/linuxthreads_db/Makefile.in20
1 files changed, 12 insertions, 8 deletions
diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in
index a611c6ee0..a57cb8461 100644
--- a/libpthread/linuxthreads_db/Makefile.in
+++ b/libpthread/linuxthreads_db/Makefile.in
@@ -1,6 +1,6 @@
# Makefile for uClibc
#
-# Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
@@ -33,9 +33,6 @@ endif
lib-a-$(PTHREADS_DEBUG_SUPPORT) += $(top_builddir)lib/libthread_db.a
lib-so-$(PTHREADS_DEBUG_SUPPORT) += $(top_builddir)lib/libthread_db.so
-objclean-y += libthread_db_clean
-headers-$(PTHREADS_DEBUG_SUPPORT) += linuxthreads_db_headers
-headers_clean-y += linuxthreads_db_headers_clean
#ifeq ($(DOMULTI),n)
ifeq ($(DOPIC),y)
@@ -62,11 +59,18 @@ $(top_builddir)lib/libthread_db.a: $(libthread_db-a-y)
$(Q)$(RM) $@
$(do_ar)
-linuxthreads_db_headers:
- $(Q)$(LN) -sf ../$(PTDIR)_db/thread_db.h $(top_builddir)include/
+include/thread_db.h:
+ $(do_ln) ../$(PTDIR)_db/$(@F) $(top_builddir)$@
+
+linuxthreads_db_headers := include/thread_db.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
+headers_clean-y += linuxthreads_db_headers_clean
linuxthreads_db_headers_clean:
- $(RM) $(top_builddir)include/thread_db.h
+ $(do_rm) $(top_builddir)include/thread_db.h
libthread_db_clean:
- $(RM) $(libthread_db_OUT)/*.{o,os,oS,a}
+ $(do_rm) $(addprefix $(libthread_db_OUT)/*., o os oS a)