summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old_db/Makefile.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-18 18:41:24 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-18 18:41:24 +0200
commit6a8ccc95528f5e86a8770ed15ce89609b5b3dee9 (patch)
treebbd4df35b4d4a6a8b00d7a5e61fb2668b850ad62 /libpthread/linuxthreads.old_db/Makefile.in
parent398a27a5b323956344b4f831d892fed3bd9813c7 (diff)
remove linuxthreads.new, rename linuxthreads.old
Linuxthreads.new isn't really useful with the existence of NPTL/TLS for well supported architectures. There is no reason to use LT.new for ARM/MIPS or other architectures supporting NPTL/TLS. It is not available for noMMU architectures like Blackfin or FR-V. To simplify the live of the few uClibc-ng developers, LT.new is removed and LT.old is renamed to LT. LINUXTHREADS_OLD -> UCLIBC_HAS_LINUXTHREADS
Diffstat (limited to 'libpthread/linuxthreads.old_db/Makefile.in')
-rw-r--r--libpthread/linuxthreads.old_db/Makefile.in78
1 files changed, 0 insertions, 78 deletions
diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in
deleted file mode 100644
index cf0ceb394..000000000
--- a/libpthread/linuxthreads.old_db/Makefile.in
+++ /dev/null
@@ -1,78 +0,0 @@
-# Makefile for uClibc
-#
-# Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
-#
-# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-#
-
-subdirs += libpthread/linuxthreads.old_db
-
-# Get the thread include dependencies and shared object name
-CFLAGS-libpthread/linuxthreads.old_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(ABI_VERSION)\""
-
-LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) $(if $(call check_ld,--warn-unresolved-symbols),-Wl$(comma)--warn-unresolved-symbols)
-ifeq ($(DOSTRIP),y)
-LDFLAGS-libthread_db.so += -Wl,-s
-endif
-
-LIBS-libthread_db.so := $(LIBS)
-
-libthread_db_FULL_NAME := libthread_db-$(VERSION).so
-
-libthread_db_DIR := $(top_srcdir)libpthread/linuxthreads.old_db
-libthread_db_OUT := $(top_builddir)libpthread/linuxthreads.old_db
-
-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-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
-
-lib-a-$(PTHREADS_DEBUG_SUPPORT) += $(top_builddir)lib/libthread_db.a
-lib-so-$(PTHREADS_DEBUG_SUPPORT) += $(top_builddir)lib/libthread_db.so
-
-#ifeq ($(DOMULTI),n)
-ifeq ($(DOPIC),y)
-$(top_builddir)lib/libthread_db.so: $(top_builddir)lib/libthread_db.a $(libc.depend)
-else
-$(top_builddir)lib/libthread_db.so: $(libthread_db_OUT)/libthread_db_so.a $(libc.depend)
-endif
- $(call link.so,$(libthread_db_FULL_NAME),1)
-#else
-#$(top_builddir)lib/libthread_db.so: $(libthread_db_OUT)/libthread_db.oS | $(libc.depend)
-# $(call linkm.so,$(libthread_db_FULL_NAME),1)
-#endif
-
-$(libthread_db_OUT)/libthread_db_so.a: $(libthread_db-so-y)
- $(Q)$(RM) $@
- $(do_ar)
-
-$(libthread_db_OUT)/libthread_db.oS: $(libthread_db_SRC)
- $(Q)$(RM) $@
- $(compile-m)
-
-$(top_builddir)lib/libthread_db.a: $(libthread_db-a-y)
- $(Q)$(INSTALL) -d $(dir $@)
- $(Q)$(RM) $@
- $(do_ar)
-
-$(top_builddir)include/thread_db.h:
- $(do_ln) $(call rel_srcdir)$(PTDIR)_db/$(@F) $@
-
-linuxthreads_db_headers := $(top_builddir)include/thread_db.h
-$(linuxthreads_db_headers): $(wildcard $(addprefix $(top_builddir)include/config/linuxthreads/,old.h new.h))
-headers-$(PTHREADS_DEBUG_SUPPORT) += $(linuxthreads_db_headers)
-
-objclean-y += CLEAN_libpthread/linuxthreads.old_db
-headers_clean-y += HEADERCLEAN_libpthread/linuxthreads.old_db
-
-HEADERCLEAN_libpthread/linuxthreads.old_db:
- $(do_rm) $(linuxthreads_db_headers)
-
-CLEAN_libpthread/linuxthreads.old_db:
- $(do_rm) $(addprefix $(libthread_db_OUT)/*., o os oS a)