OSDN Git Service

Fix no pic
[uclinux-h8/uClinux-dist.git] / uClibc / libc / sysdeps / linux / sparc / Makefile.arch
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
8 CSRC := brk.c __syscall_error.c sigaction.c
9
10 SSRC := \
11         __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
12         syscall.S urem.S udiv.S umul.S sdiv.S rem.S pipe.S
13
14 ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
15 SSRC += fork.S vfork.S clone.S
16 endif
17
18 # check weather __LONG_DOUBLE_128__ is defined (long double support)
19 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)
20 ifeq ($(UCLIBC_SPARC_HAS_LONG_DOUBLE),y)
21 CSRC += $(foreach f, \
22         q_div.c   q_fle.c    q_mul.c   q_qtoll.c   q_stoq.c    \
23         mp_clz_tab.c  q_dtoq.c  q_flt.c    q_neg.c   q_qtos.c    q_sub.c    \
24         q_add.c      q_feq.c   q_fne.c    q_qtod.c  q_qtou.c    q_ulltoq.c  \
25         q_cmp.c      q_fge.c   q_itoq.c   q_qtoull.c  q_util.c    \
26         q_cmpe.c     q_fgt.c   q_lltoq.c  q_qtoi.c  q_sqrt.c    q_utoq.c, soft-fp/$(f))
27 else
28 CSRC += qp_ops.c
29 endif