| 123456789101112131415161718192021222324252627 | # uClibc math tests# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.TESTS := basic-test rint tst-definitions test-fpucw test-float test-ifloat test-double test-idoubleifeq ($(UCLIBC_HAS_LONG_DOUBLE_MATH),y)TESTS += test-ldouble test-ildoubl compile_testelseCFLAGS_basic-test := -DNO_LONG_DOUBLEendifDODIFF_rint     := 1# NOTE: For basic-test we must disable the floating point optimization.#       Only for sh architecture because in the other architecture are disabled.ifeq ($(TARGET_ARCH),sh)CFLAGS_basic-test += -mieeeendifEXTRA_CFLAGS    := -fno-builtinEXTRA_LDFLAGS   := -lmPERL := /usr/bin/perlulps-file := $(firstword $(wildcard $(config-sysdirs:%=$(..)%/libm-test-ulps)))libm-test.c: $(ulps-file) libm-test.inc gen-libm-test.pl	$(Q)$(PERL) ./gen-libm-test.pl -u $< ./libm-test.inc -o "." 2>&1 > /dev/nullEXTRA_CLEAN := libm-test.c libm-test-ulps.hTARGETS=libm-test.c
 |