2.9
[glibc/nacl-glibc.git] / sysdeps / powerpc / soft-fp / Makefile
blobff0a19119a3978dde8089533ad7b1ca28e41e9d0
1 # Software floating-point emulation.
2 # Makefile for PowerPC SVR4 ABI mandated long double utility
3 # functions (_q_*).
4 # Copyright (C) 1999, 2000 Free Software Foundation, Inc.
5 # This file is part of the GNU C Library.
6 # Contributed by Jakub Jelinek (jj@ultra.linux.cz).
9 # The GNU C Library is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU Lesser General Public
11 # License as published by the Free Software Foundation; either
12 # version 2.1 of the License, or (at your option) any later version.
14 # The GNU C Library is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # Lesser General Public License for more details.
19 # You should have received a copy of the GNU Lesser General Public
20 # License along with the GNU C Library; if not, write to the Free
21 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
22 # 02111-1307 USA.
24 ifeq ($(subdir),soft-fp)
25 ifeq ($(sizeof-long-double),16)
26 powerpc-quad-routines := q_add q_cmp q_cmpe q_div q_dtoq q_feq q_fge \
27 q_fgt q_fle q_flt q_fne q_itoq q_mul q_neg q_qtod q_qtoi \
28 q_qtos q_qtou q_qtoull q_qtoll q_sqrt q_stoq q_sub q_utoq \
29 q_ulltoq q_lltoq q_util
30 sysdep_routines += $(powerpc-quad-routines)
31 endif
32 endif
34 ifeq ($(subdir),math)
35 CPPFLAGS += -I../soft-fp/
36 endif