File: Makefile

package info (click to toggle)
glibc 2.41-12
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 300,384 kB
  • sloc: ansic: 1,050,583; asm: 238,243; makefile: 20,379; python: 13,537; sh: 11,827; cpp: 5,197; awk: 1,795; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (32 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# The`long double' type is a distinct type we support if
# -mlong-double-128 option is used (or when it becomes a default
# when -mlong-double-64 is not used).
long-double-fcts = yes
sysdep-CFLAGS += -mlong-double-128

ifeq ($(subdir),stdlib)
tests += tst-strtold-ldbl-128ibm
$(objpfx)tst-strtold-ldbl-128ibm: $(libm)
endif

ldbl-tests = test-fmodl-ldbl-128ibm test-remainderl-ldbl-128ibm \
	     test-remquol-ldbl-128ibm test-canonical-ldbl-128ibm \
	     test-totalorderl-ldbl-128ibm

ifeq ($(subdir),math)
tests += $(ldbl-tests)
endif

# Long double files may need extra CFLAGS.
ldbl-128ibm-routines = s_nexttoward s_nexttowardf \
		       $(type-ldouble-routines) \
		       $(subst F,$(type-ldouble-suffix),$(libm-compat-calls)) \
		       $(subst F,$(type-ldouble-suffix),$(libm-calls)) \
		       $(subst F,$(type-ldouble-suffix),$(calls)) \
		       $(foreach f,$(libm-narrow-fns), \
				 $(subst F,$(f), \
					 $(libm-narrow-types-ldouble-yes)))
$(foreach suf,$(all-object-suffixes), \
	  $(foreach r,$(ldbl-128ibm-routines) $(ldbl-tests), \
		    $(objpfx)$(r)$(suf))): \
  CFLAGS += $(type-ldouble-CFLAGS)