Makefile.arch 918 B

1234567891011121314151617181920212223242526
  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. libpthread_linux_arch_SSRC = pt-vfork.S clone.S pthread_spin_unlock.S pthread_once.S
  8. libpthread_linux_arch_CSRC = pthread_spin_init.c pt-__syscall_error.c
  9. libc_linux_arch_CSRC = fork.c
  10. libc_linux_arch_SSRC = clone.S vfork.S
  11. ASFLAGS += -DUSE___THREAD
  12. CFLAGS-pt-__syscall_error.c = -DNOT_IN_libc -DIS_IN_libpthread
  13. ASFLAGS-pt-vfork.S = -DNOT_IN_libc -DIS_IN_libpthread
  14. ASFLAGS-lowlevellock.S = -DNOT_IN_libc -DIS_IN_libpthread
  15. ASFLAGS-lowlevelrobustlock.S = -DNOT_IN_libc -DIS_IN_libpthread
  16. ASFLAGS-pthread_once.S = -DNOT_IN_libc -DIS_IN_libpthread
  17. ASFLAGS-pthread_spin_unlock.S = -DNOT_IN_libc -DIS_IN_libpthread
  18. ifeq ($(UCLIBC_HAS_STDIO_FUTEXES),y)
  19. CFLAGS-fork.c = -D__USE_STDIO_FUTEXES__
  20. endif
  21. CFLAGS-OMIT-fork.c = -DNOT_IN_libc -DIS_IN_libpthread