2 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
4 TESTS := basic-test rint signgam tst-definitions test-fpucw test-float test-ifloat test-double test-idouble
5 ifeq ($(UCLIBC_HAS_LONG_DOUBLE_MATH),y)
6 TESTS += test-ldouble test-ildoubl compile_test
8 CFLAGS_basic-test := -DNO_LONG_DOUBLE
14 # NOTE: For basic-test we must disable the floating point optimization.
15 # Only for sh architecture because in the other architecture are disabled.
16 ifeq ($(TARGET_ARCH),sh)
17 CFLAGS_basic-test += -mieee
19 EXTRA_CFLAGS := -fno-builtin
26 libm-test.c: libm-test.inc gen-libm-test.pl
27 $(Q)$(PERL) ./gen-libm-test.pl -u libm-test-ulps-$(TARGET_ARCH) ./libm-test.inc -o "." 2>&1 > /dev/null
29 EXTRA_CLEAN := libm-test.c libm-test-ulps.h