]>
Commit | Line | Data |
---|---|---|
b5453d9f | 1 | # Makefile for SPARC 64-bit. |
6d7e8eda | 2 | # Copyright (C) 1997-2023 Free Software Foundation, Inc. |
b5453d9f | 3 | # This file is part of the GNU C Library. |
b5453d9f JM |
4 | # |
5 | ||
6 | # The GNU C Library is free software; you can redistribute it and/or | |
7 | # modify it under the terms of the GNU Lesser General Public | |
8 | # License as published by the Free Software Foundation; either | |
9 | # version 2.1 of the License, or (at your option) any later version. | |
10 | ||
11 | # The GNU C Library is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | # Lesser General Public License for more details. | |
15 | ||
16 | # You should have received a copy of the GNU Lesser General Public | |
17 | # License along with the GNU C Library; if not, see | |
5a82c748 | 18 | # <https://www.gnu.org/licenses/>. |
b5453d9f | 19 | |
9c8addbc AJ |
20 | sysdep-CFLAGS += -Wa,-Av9a -mvis |
21 | ||
dbcaf07c DM |
22 | ifeq ($(subdir),string) |
23 | sysdep_routines += align-cpy | |
24 | endif | |
eae47a36 | 25 | |
eae47a36 DM |
26 | ASFLAGS-.o += -Wa,-Av9d |
27 | ASFLAGS-.os += -Wa,-Av9d | |
28 | ASFLAGS-.op += -Wa,-Av9d | |
eae47a36 | 29 | ASFLAGS-.oS += -Wa,-Av9d |
74836003 | 30 | |
b5453d9f JM |
31 | ifeq ($(subdir),soft-fp) |
32 | sparc64-quad-routines := qp_add qp_cmp qp_cmpe qp_div qp_dtoq qp_feq qp_fge \ | |
33 | qp_fgt qp_fle qp_flt qp_fne qp_itoq qp_mul qp_neg qp_qtod qp_qtoi \ | |
34 | qp_qtos qp_qtoui qp_qtoux qp_qtox qp_sqrt qp_stoq qp_sub qp_uitoq \ | |
35 | qp_uxtoq qp_xtoq qp_util | |
36 | sysdep_routines += $(sparc64-quad-routines) | |
37 | endif | |
38 | ||
39 | ifeq ($(subdir),math) | |
40 | CPPFLAGS += -I../soft-fp/ | |
41 | endif |