Home | History | Annotate | Line # | Download | only in libm
Makefile revision 1.43
      1 # $NetBSD: Makefile,v 1.43 2018/06/04 09:13:47 maya Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 TESTSDIR=	${TESTSBASE}/lib/libm
      6 
      7 .if ${MACHINE} == "alpha"
      8 COPTS+=	-mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
      9 .endif
     10 
     11 CPPFLAGS.t_fenv.c+=	-D__TEST_FENV
     12 CPPFLAGS.t_fe_round.c+=	-D__TEST_FENV
     13 CPPFLAGS.t_ilogb.c+=	-D__TEST_FENV
     14 CPPFLAGS.t_scalbn.c+=	-D__TEST_FENV
     15 CPPFLAGS.t_fmod.c+=	-I${.CURDIR}/../libc/gen
     16 
     17 TESTS_C+=	t_acos
     18 TESTS_C+=	t_asin
     19 TESTS_C+=	t_atan
     20 TESTS_C+=	t_casinh
     21 TESTS_C+=	t_cbrt
     22 TESTS_C+=	t_ceil
     23 TESTS_C+=	t_cos
     24 TESTS_C+=	t_cosh
     25 TESTS_C+=	t_erf
     26 TESTS_C+=	t_exp
     27 TESTS_C+=	t_fenv
     28 TESTS_C+=	t_fe_round
     29 TESTS_C+=	t_fmod
     30 TESTS_C+=	t_hypot
     31 TESTS_C+=	t_ilogb
     32 TESTS_C+=	t_infinity
     33 TESTS_C+=	t_ldexp
     34 TESTS_C+=	t_log
     35 TESTS_C+=	t_modf
     36 TESTS_C+=	t_pow
     37 TESTS_C+=	t_precision
     38 TESTS_C+=	t_round
     39 TESTS_C+=	t_scalbn
     40 TESTS_C+=	t_sin
     41 TESTS_C+=	t_sinh
     42 TESTS_C+=	t_sqrt
     43 TESTS_C+=	t_tan
     44 TESTS_C+=	t_tanh
     45 
     46 LDADD+=		-lm
     47 #COPTS+=	-Wfloat-equal
     48 
     49 .include <bsd.test.mk>
     50