summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads_db/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-30 03:17:29 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-30 03:17:29 +0000
commitfaf090f1d723515674a381f00c3dfa3cddf9907d (patch)
tree33a79b4e64a2597b19906f7a043d863d942eaa81 /libpthread/linuxthreads_db/Makefile.in
parent9e16e1c179ecf726602a8733ef0e143a284886a1 (diff)
sync with linuxthreads.old_db/Makefile.in
Diffstat (limited to 'libpthread/linuxthreads_db/Makefile.in')
-rw-r--r--libpthread/linuxthreads_db/Makefile.in20
1 files changed, 11 insertions, 9 deletions
diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in
index c80e32c53..7833e1bad 100644
--- a/libpthread/linuxthreads_db/Makefile.in
+++ b/libpthread/linuxthreads_db/Makefile.in
@@ -22,8 +22,12 @@ libthread_db_SRC := $(wildcard $(libthread_db_DIR)/*.c)
libthread_db_OBJ := $(patsubst $(libthread_db_DIR)/%.c,$(libthread_db_OUT)/%.o,$(libthread_db_SRC))
-libthread_db-a-y := $(libthread_db_OBJ)
libthread_db-so-y := $(libthread_db_OBJ:.o=.os)
+ifeq ($(DOPIC),y)
+libthread_db-a-y := $(libthread_db-so-y)
+else
+libthread_db-a-y := $(libthread_db_OBJ)
+endif
libthread_db-multi-y := $(libthread_db_SRC)
@@ -33,7 +37,11 @@ objclean-y += libthread_db_clean
headers-$(PTHREADS_DEBUG_SUPPORT) += linuxthreads_db_headers
headers_clean-y += linuxthreads_db_headers_clean
-$(top_builddir)lib/libthread_db.so: $(libthread_db_OUT)/libthread_db_so.a libc-y
+ifeq ($(DOPIC),y)
+$(top_builddir)lib/libthread_db.so: $(top_builddir)lib/libthread_db.a $(libc)
+else
+$(top_builddir)lib/libthread_db.so: $(libthread_db_OUT)/libthread_db_so.a $(libc)
+endif
$(call link.so,$(libthread_db_FULL_NAME),1)
$(libthread_db_OUT)/libthread_db_so.a: $(libthread_db-so-y)
@@ -41,16 +49,10 @@ $(libthread_db_OUT)/libthread_db_so.a: $(libthread_db-so-y)
$(do_strip)
$(do_ar)
-ifeq ($(DOPIC),y)
-$(top_builddir)lib/libthread_db.a: $(libthread_db-a-y:.o=.os)
-else
-$(top_builddir)lib/libthread_db.a: $(libthread_db-a-y) $(libthread_db_OUT)/libthread_db_so.a
-endif
+$(top_builddir)lib/libthread_db.a: $(libthread_db-a-y)
$(Q)$(INSTALL) -d $(dir $@)
$(Q)$(RM) $@
-ifneq ($(DOPIC),y)
$(do_strip)
-endif
$(do_ar)
linuxthreads_db_headers: