| 12345678910111213141516171819202122232425262728293031 | # uClibc math tests# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.TESTS := basic-test tst-definitions test-fpucw test-float test-ifloat test-double test-idouble \    rint signgam ilogb# gamma (removed from TESTS, need to add "small errors are ok" machinery there)ifeq ($(UCLIBC_HAS_LONG_DOUBLE_MATH),y)TESTS += test-ldouble test-ildoubl compile_test c99_testelseCFLAGS_basic-test := -DNO_LONG_DOUBLEendifDODIFF_rint     := 1DODIFF_signgam  := 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/perl$(TESTS): libm-test.clibm-test.c: libm-test-ulps-$(TARGET_ARCH) libm-test.inc gen-libm-test.pl	$(Q)$(PERL) ./gen-libm-test.pl -u libm-test-ulps-$(TARGET_ARCH) ./libm-test.inc -o "." 2>&1 > /dev/nullEXTRA_CLEAN := libm-test.c libm-test-ulps.h
 |