Makefile.arch 628 B

123456789101112131415161718192021222324252627
  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 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. CSRC += sigaction.c
  17. SSRC += vfork.S clone.S
  18. endif
  19. ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT
  20. ARCH_HEADERS := sgidefs.h
  21. # regdef.h