summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old_db/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old_db/Makefile.in')
-rw-r--r--libpthread/linuxthreads.old_db/Makefile.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old_db/Makefile.in b/libpthread/linuxthreads.old_db/Makefile.in
new file mode 100644
index 000000000..0e29c7c18
--- /dev/null
+++ b/libpthread/linuxthreads.old_db/Makefile.in
@@ -0,0 +1,43 @@
+# Makefile for uClibc
+#
+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+#
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
+
+#CFLAGS+=$(SSP_ALL_CFLAGS)
+
+PT_MAJOR_VERSION:=$(MAJOR_VERSION)
+# Get the thread include dependencies and shared object name
+CFLAGS+=-DLIBPTHREAD_SO="\"libpthread.so.$(PT_MAJOR_VERSION)\""
+
+# Remove any -z defs since this lib will have undefined symbols
+LDFLAGS:=$(subst -z defs,,$(LDFLAGS)) --warn-unresolved-symbols
+
+ifeq ($(PTHREADS_DEBUG_SUPPORT),y)
+STRIP_FLAGS:=-X --strip-debug -R .note -R .comment
+endif
+
+DOMULTI=n
+
+LIB_NAME:=libthread_db
+libthread_db_FULL_NAME:=$(LIB_NAME)-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
+
+MAJOR_VERSION:=1
+
+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-a-$(PTHREADS_DEBUG_SUPPORT)+=$(libthread_db_OBJ)
+libthread_db-so-$(PTHREADS_DEBUG_SUPPORT)+=$(libthread_db_OBJ:.o=.os)
+
+libthread_db-multi-$(PTHREADS_DEBUG_SUPPORT)+=$(libthread_db_SRC)
+
+objclean-y+=libthread_db_clean
+
+lib-a-$(PTHREADS_DEBUG_SUPPORT)+=$(top_builddir)lib/libthread_db.a
+lib-so-$(PTHREADS_DEBUG_SUPPORT)+=$(top_builddir)lib/libthread_db.so