Makefile.in 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # Makefile for uClibc NPTL
  2. #
  3. # Copyright (C) 2006 Steven J. Hill <sjhill@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. subdirs += libpthread/nptl/sysdeps/generic
  8. #
  9. # NOTE: Alpha and MIPS have their own versions of 'libc-tls.c' in
  10. # their architecture specific directory which will override
  11. # the one here.
  12. #
  13. libpthread_generic_DIR := $(top_srcdir)libpthread/nptl/sysdeps/generic
  14. libpthread_generic_OUT := $(top_builddir)libpthread/nptl/sysdeps/generic
  15. ifeq ($(STATIC_PIE),y)
  16. CFLAGS-libc-tls.c := -DSTATIC_PIE
  17. endif
  18. libpthread_generic_libc_a_CSRC = libc-tls.c
  19. libpthread_generic_libc_a_COBJ = $(patsubst %.c,$(libpthread_generic_OUT)/%.o,$(libpthread_generic_libc_a_CSRC))
  20. libpthread_generic_libc_a_OBJS = $(libpthread_generic_libc_a_COBJ)
  21. libpthread_ld_tls_CSRC = dl-tls.c
  22. libpthread_ld_tls_COBJ = $(patsubst %.c,$(libpthread_generic_OUT)/%.o,$(libpthread_ld_tls_CSRC))
  23. objclean-y += CLEAN_libpthread/nptl/sysdeps/generic
  24. CLEAN_libpthread/nptl/sysdeps/generic:
  25. $(do_rm) $(addprefix $(libpthread_generic_OUT)/*., o os oS)