summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl_db/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl_db/Makefile.in')
-rw-r--r--libpthread/nptl_db/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/libpthread/nptl_db/Makefile.in b/libpthread/nptl_db/Makefile.in
index cec58b280..3eaded59f 100644
--- a/libpthread/nptl_db/Makefile.in
+++ b/libpthread/nptl_db/Makefile.in
@@ -5,6 +5,8 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
+subdirs += libpthread/nptl/nptl_db
+
# Get the thread include dependencies and shared object name
CFLAGS-nptl_db := -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
CFLAGS-nptl_db += -I$(top_srcdir)libpthread/nptl -D_GNU_SOURCE
@@ -57,13 +59,13 @@ $(top_builddir)lib/libthread_db.a: $(libthread_db-a-y)
$(do_strip)
$(do_ar)
-include/thread_db.h:
- $(do_ln) ../$(PTDIR)_db/$(@F) $(top_builddir)$@
+$(top_builddir)include/thread_db.h:
+ $(do_ln) $(call rel_srcdir)$(PTDIR)_db/$(@F) $@
-nptl_db_headers:= include/thread_db.h
+nptl_db_headers:= $(top_builddir)include/thread_db.h
nptl_db_headers_clean:
- $(do_rm) $(addprefix $(top_builddir),$(nptl_db_headers))
+ $(do_rm) $(nptl_db_headers)
libthread_db_clean:
$(do_rm) $(addprefix $(libthread_db_OUT)/*., o oS a)