glibc/sysdeps/ieee754/ldbl-128ibm-compat/Makefile

23 lines
765 B
Makefile
Raw Normal View History

ifeq ($(subdir),stdio-common)
routines += ieee128-printf_size
tests-internal += test-printf-size-ieee128 test-printf-size-ibm128
CFLAGS-test-printf-size-ieee128.c += -mfloat128 -mabi=ieeelongdouble -Wno-psabi
CFLAGS-test-printf-size-ibm128.c += -mabi=ibmlongdouble -Wno-psabi
ifeq ($(run-built-tests),yes)
tests-special += $(objpfx)test-printf-size-ieee128.out
tests-special += $(objpfx)test-printf-size-ibm128.out
endif
$(objpfx)test-printf-size-ieee128.out: \
tst-printfsz-islongdouble.sh $(objpfx)test-printf-size-ieee128
$(SHELL) $^ '$(test-program-prefix)' $@; \
$(evaluate-test)
$(objpfx)test-printf-size-ibm128.out: \
tst-printfsz-islongdouble.sh $(objpfx)test-printf-size-ibm128
$(SHELL) $^ '$(test-program-prefix)' $@; \
$(evaluate-test)
endif