Makefile.arch 1.0 KB

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-y := brk.c __syscall_error.c sigaction.c
  8. SSRC-y := \
  9. __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
  10. syscall.S urem.S udiv.S umul.S sdiv.S rem.S pipe.S
  11. SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += fork.S vfork.S clone.S
  12. # check weather __LONG_DOUBLE_128__ is defined (long double support)
  13. UCLIBC_SPARC_HAS_LONG_DOUBLE=$(shell if [ "x`$(CC) -E -dM -xc /dev/null 2>&1 | grep __LONG_DOUBLE_128__`" != "x" ]; then echo "y"; fi)
  14. ifeq ($(UCLIBC_SPARC_HAS_LONG_DOUBLE),y)
  15. CSRC-y += $(addprefix soft-fp/, \
  16. q_div.c q_fle.c q_mul.c q_qtoll.c q_stoq.c \
  17. mp_clz_tab.c q_dtoq.c q_flt.c q_neg.c q_qtos.c q_sub.c \
  18. q_add.c q_feq.c q_fne.c q_qtod.c q_qtou.c q_ulltoq.c \
  19. q_cmp.c q_fge.c q_itoq.c q_qtoull.c q_util.c \
  20. q_cmpe.c q_fgt.c q_lltoq.c q_qtoi.c q_sqrt.c q_utoq.c)
  21. else
  22. CSRC-y += qp_ops.c
  23. endif