Makefile.arch 620 B

1234567891011121314151617181920212223242526
  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 mmap.c \
  9. cacheflush.c pread_write.c sigaction.c sysmips.c _test_and_set.c \
  10. readahead.c
  11. SSRC := bsd-_setjmp.S bsd-setjmp.S setjmp.S syscall.S pipe.S syscall_error.S
  12. ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y)
  13. CSRC += posix_fadvise.c posix_fadvise64.c
  14. endif
  15. ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
  16. SSRC += vfork.S clone.S
  17. endif
  18. ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT
  19. ARCH_HEADERS := sgidefs.h
  20. # regdef.h