Makefile revision 1.28
1# $NetBSD: Makefile,v 1.28 2014/12/22 11:21:08 martin Exp $ 2 3.include <bsd.own.mk> 4 5TESTSDIR= ${TESTSBASE}/lib/libm 6 7# ARM fenv is incomplete, so we can not enable that here 8.if ${MACHINE_CPU} == "aarch64" \ 9 || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \ 10 || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 11CPPFLAGS+= -DHAVE_FENV_H 12.endif 13 14.if ${MACHINE} == "alpha" 15COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i 16.endif 17 18TESTS_C+= t_acos 19TESTS_C+= t_asin 20TESTS_C+= t_atan 21TESTS_C+= t_cbrt 22TESTS_C+= t_ceil 23TESTS_C+= t_cos 24TESTS_C+= t_cosh 25TESTS_C+= t_erf 26TESTS_C+= t_exp 27TESTS_C+= t_fenv 28TESTS_C+= t_fmod 29TESTS_C+= t_infinity 30TESTS_C+= t_ldexp 31TESTS_C+= t_log 32TESTS_C+= t_modf 33TESTS_C+= t_pow 34TESTS_C+= t_precision 35TESTS_C+= t_round 36TESTS_C+= t_scalbn 37TESTS_C+= t_sin 38TESTS_C+= t_sinh 39TESTS_C+= t_sqrt 40TESTS_C+= t_tan 41TESTS_C+= t_tanh 42 43LDADD+= -lm 44#COPTS+= -Wfloat-equal 45 46.include <bsd.test.mk> 47