Makefile.in 884 B

12345678910111213141516171819202122232425262728
  1. # Makefile for uClibc's pthread library
  2. #
  3. # Licensed under LGPL v2.1, see the file COPYING.LIB in this tarball for details.
  4. #
  5. #CFLAGS+=$(SSP_ALL_CFLAGS)
  6. PT_MAJOR_VERSION:=$(MAJOR_VERSION)
  7. # Get the thread include dependencies and shared object name
  8. CFLAGS+=$(PTINC) -DLIBPTHREAD_SO="\"libpthread.so.$(PT_MAJOR_VERSION)\""
  9. # Remove any -z defs since this lib will have undefined symbols
  10. LDFLAGS:=$(subst -z defs,,$(LDFLAGS)) --warn-unresolved-symbols
  11. ifeq ($(PTHREADS_DEBUG_SUPPORT),y)
  12. STRIP_FLAGS:=-X --strip-debug -R .note -R .comment
  13. endif
  14. LIB_NAME:=libthread_db
  15. srcdir=$(top_srcdir)libpthread/linuxthreads_db
  16. $(LIB_NAME)_DIR:=$(top_builddir)libpthread/linuxthreads_db
  17. MAJOR_VERSION:=1
  18. libso-$(UCLIBC_HAS_THREADS)+=$(top_builddir)lib/$(LIB_NAME).so
  19. liba-$(UCLIBC_HAS_THREADS)+=$(top_builddir)lib/$(LIB_NAME).a
  20. libclean-y+=$(LIB_NAME)_clean
  21. include $(top_srcdir)Makefile.libs