summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads_db/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-19 21:26:55 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-19 21:26:55 +0000
commitaae5316cbd05d8b04815d79fd532a6334c61582e (patch)
treefa5b2321393d39daf6ca38bc76503ddd67950537 /libpthread/linuxthreads_db/Makefile.in
parent5e48b8b628e885ffd0772c991a6efa5a74946b9e (diff)
Add the linuxthreads Makefiles too
Diffstat (limited to 'libpthread/linuxthreads_db/Makefile.in')
-rw-r--r--libpthread/linuxthreads_db/Makefile.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in
new file mode 100644
index 000000000..374f2ee62
--- /dev/null
+++ b/libpthread/linuxthreads_db/Makefile.in
@@ -0,0 +1,28 @@
+# Makefile for uClibc's pthread library
+#
+# Licensed under LGPL v2.1, see the file COPYING.LIB in this tarball for details.
+#
+
+#CFLAGS+=$(SSP_ALL_CFLAGS)
+
+PT_MAJOR_VERSION:=$(MAJOR_VERSION)
+# Get the thread include dependencies and shared object name
+CFLAGS+=$(PTINC) -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
+
+LIB_NAME:=libthread_db
+srcdir=$(top_srcdir)libpthread/linuxthreads_db
+$(LIB_NAME)_DIR:=$(top_builddir)libpthread/linuxthreads_db
+MAJOR_VERSION:=1
+
+libso-$(UCLIBC_HAS_THREADS)+=$(top_builddir)lib/$(LIB_NAME).so
+liba-$(UCLIBC_HAS_THREADS)+=$(top_builddir)lib/$(LIB_NAME).a
+libclean-y+=$(LIB_NAME)_clean
+
+include $(top_srcdir)Makefile.libs