Makefile.arch 659 B

1234567891011121314151617181920212223242526272829
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. CSRC := \
  8. __longjmp.c brk.c setjmp_aux.c \
  9. pread_write.c sigaction.c _test_and_set.c
  10. ifeq ($(UCLIBC_LINUX_SPECIFIC),y)
  11. CSRC += cacheflush.c readahead.c sysmips.c
  12. endif
  13. SSRC := bsd-_setjmp.S bsd-setjmp.S setjmp.S syscall.S pipe.S syscall_error.S
  14. ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y)
  15. CSRC += posix_fadvise.c posix_fadvise64.c
  16. endif
  17. ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
  18. SSRC += vfork.S clone.S
  19. endif
  20. ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT
  21. ARCH_HEADERS := sgidefs.h
  22. # regdef.h