1 # The`long double' type is a distinct type we support if
2 # -mlong-double-128 option is used (or when it becomes a default
3 # when -mlong-double-64 is not used).
5 sysdep-CFLAGS
+= -mlong-double-128
7 ifeq ($(subdir
),stdlib
)
8 tests
+= tst-strtold-ldbl-128ibm
9 $(objpfx
)tst-strtold-ldbl-128ibm
: $(libm
)
12 ldbl-tests
= test-fmodl-ldbl-128ibm test-remainderl-ldbl-128ibm \
13 test-remquol-ldbl-128ibm test-canonical-ldbl-128ibm \
14 test-totalorderl-ldbl-128ibm
17 tests
+= $(ldbl-tests
)
20 # Long double files may need extra CFLAGS.
21 ldbl-128ibm-routines
= s_nexttoward s_nexttowardf \
22 $(type-ldouble-routines
) \
23 $(subst F
,$(type-ldouble-suffix
),$(libm-compat-calls
)) \
24 $(subst F
,$(type-ldouble-suffix
),$(libm-calls
)) \
25 $(subst F
,$(type-ldouble-suffix
),$(calls
)) \
26 $(foreach f
,$(libm-narrow-fns
), \
28 $(libm-narrow-types-ldouble-yes
)))
29 $(foreach suf
,$(all-object-suffixes
), \
30 $(foreach r
,$(ldbl-128ibm-routines
) $(ldbl-tests
), \
31 $(objpfx
)$(r
)$(suf
))): \
32 CFLAGS
+= $(type-ldouble-CFLAGS
)