Debian Codegraph @

sysdeps/ieee754/ldbl-128ibm/Makefile

raw
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).
4 long-double-fcts = yes
5 sysdep-CFLAGS += -mlong-double-128
6
7 ifeq ($(subdir),stdlib)
8 tests += tst-strtold-ldbl-128ibm
9 $(objpfx)tst-strtold-ldbl-128ibm: $(libm)
10 endif
11
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
15
16 ifeq ($(subdir),math)
17 tests += $(ldbl-tests)
18 endif
19
20 ifeq ($(subdir),stdio-common)
21 fmt-xscanf-real-convs += ldouble
22
23 # Use the IBM format for long double scanf format tests.
24 $(foreach suf,$(all-object-suffixes), \
25 $(foreach p,$(xscanf-funcs), \
26 $(objpfx)tst-scanf-format-$(p)-ldouble$(suf))): \
27 sysdep-CFLAGS += $(type-ldouble-CFLAGS)
28 endif
29
30 # Long double files may need extra CFLAGS.
31 ldbl-128ibm-routines = s_nexttoward s_nexttowardf \
32 $(type-ldouble-routines) \
33 $(subst F,$(type-ldouble-suffix),$(libm-compat-calls)) \
34 $(subst F,$(type-ldouble-suffix),$(libm-calls)) \
35 $(subst F,$(type-ldouble-suffix),$(calls)) \
36 $(foreach f,$(libm-narrow-fns), \
37 $(subst F,$(f), \
38 $(libm-narrow-types-ldouble-yes)))
39 $(foreach suf,$(all-object-suffixes), \
40 $(foreach r,$(ldbl-128ibm-routines) $(ldbl-tests), \
41 $(objpfx)$(r)$(suf))): \
42 CFLAGS += $(type-ldouble-CFLAGS)