Remove building with NOCRYPTO option
[minix3.git] / tests / lib / libm / Makefile
blob7bf96c9623faedf323f36f0535ac4bdb8f6338f4
1 # $NetBSD: Makefile,v 1.32 2015/01/20 20:43:10 snj Exp $
3 .include <bsd.own.mk>
5 TESTSDIR= ${TESTSBASE}/lib/libm
7 .if ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" \
8 || ${MACHINE_ARCH} == "hppa" \
9 || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \
10 || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
11 CPPFLAGS+= -DHAVE_FENV_H
12 .endif
14 .if ${MACHINE} == "alpha"
15 COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
16 .endif
18 CPPFLAGS.t_fmod.c+= -I${.CURDIR}/../libc/gen
20 TESTS_C+= t_acos
21 TESTS_C+= t_asin
22 TESTS_C+= t_atan
23 TESTS_C+= t_cbrt
24 TESTS_C+= t_ceil
25 TESTS_C+= t_cos
26 TESTS_C+= t_cosh
27 TESTS_C+= t_erf
28 TESTS_C+= t_exp
29 TESTS_C+= t_fenv
30 .if !defined(__MINIX)
31 TESTS_C+= t_fmod
32 .endif # !defined(__MINIX)
33 TESTS_C+= t_infinity
34 TESTS_C+= t_ldexp
35 TESTS_C+= t_log
36 TESTS_C+= t_modf
37 TESTS_C+= t_pow
38 TESTS_C+= t_precision
39 TESTS_C+= t_round
40 TESTS_C+= t_scalbn
41 TESTS_C+= t_sin
42 TESTS_C+= t_sinh
43 TESTS_C+= t_sqrt
44 TESTS_C+= t_tan
45 TESTS_C+= t_tanh
47 LDADD+= -lm
48 #COPTS+= -Wfloat-equal
50 .include <bsd.test.mk>