1#  Software floating-point emulation.
2#  Makefile for SPARC v9 ABI mandated long double utility
3#  functions (_Qp_*).
4#  Copyright (C) 1999-2017 Free Software Foundation, Inc.
5#  This file is part of the GNU C Library.
6#  Contributed by Jakub Jelinek (jj@ultra.linux.cz).
7#
8
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.
13
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.
18
19# You should have received a copy of the GNU Lesser General Public
20# License along with the GNU C Library; if not, see
21# <http://www.gnu.org/licenses/>.
22
23ifeq ($(subdir),soft-fp)
24sparc64-quad-routines := qp_add qp_cmp qp_cmpe qp_div qp_dtoq qp_feq qp_fge \
25	qp_fgt qp_fle qp_flt qp_fne qp_itoq qp_mul qp_neg qp_qtod qp_qtoi   \
26	qp_qtos qp_qtoui qp_qtoux qp_qtox qp_sqrt qp_stoq qp_sub qp_uitoq   \
27	qp_uxtoq qp_xtoq qp_util
28sysdep_routines += $(sparc64-quad-routines)
29endif
30
31ifeq ($(subdir),math)
32CPPFLAGS += -I../soft-fp/
33endif
34