1*0a6a1f1dSLionel Sambuc# $NetBSD: Makefile,v 1.25 2015/05/01 14:17:56 christos Exp $ 211be35a1SLionel Sambuc 311be35a1SLionel Sambuc.include <bsd.own.mk> 411be35a1SLionel Sambuc 511be35a1SLionel SambucTESTSDIR= ${TESTSBASE}/lib/libc/stdlib 611be35a1SLionel Sambuc 711be35a1SLionel SambucTESTS_C+= t_abs 811be35a1SLionel SambucTESTS_C+= t_atoi 911be35a1SLionel SambucTESTS_C+= t_div 1011be35a1SLionel SambucTESTS_C+= t_getenv 1111be35a1SLionel Sambuc# LSC: Unsupported on MINIX 1211be35a1SLionel Sambuc#TESTS_C+= t_getenv_thread 1311be35a1SLionel SambucTESTS_C+= t_exit 1411be35a1SLionel SambucTESTS_C+= t_hsearch 1511be35a1SLionel SambucTESTS_C+= t_mi_vector_hash 1611be35a1SLionel Sambuc# LSC: Unsupported on MINIX 1711be35a1SLionel Sambuc#TESTS_C+= t_posix_memalign 1811be35a1SLionel SambucTESTS_C+= t_random 1911be35a1SLionel SambucTESTS_C+= t_strtod 2011be35a1SLionel SambucTESTS_C+= t_strtol 21*0a6a1f1dSLionel SambucTESTS_C+= t_strtoi 2211be35a1SLionel SambucTESTS_C+= t_system 2311be35a1SLionel Sambuc 2411be35a1SLionel SambucTESTS_SH+= t_atexit 2511be35a1SLionel SambucTESTS_SH+= t_getopt 2611be35a1SLionel Sambuc 2711be35a1SLionel SambucMKMAN=no 2811be35a1SLionel Sambuc 2911be35a1SLionel SambucBINDIR= ${TESTSDIR} 3011be35a1SLionel Sambuc 3111be35a1SLionel SambucPROGS+= h_atexit 3211be35a1SLionel SambucPROGS+= h_getopt h_getopt_long 3311be35a1SLionel Sambuc 34*0a6a1f1dSLionel Sambuc.if ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" \ 35*0a6a1f1dSLionel Sambuc || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \ 36*0a6a1f1dSLionel Sambuc || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 37*0a6a1f1dSLionel SambucCPPFLAGS.t_strtod.c+= -DHAVE_FENV 38*0a6a1f1dSLionel Sambuc.endif 39*0a6a1f1dSLionel Sambuc 4011be35a1SLionel SambucLDADD.t_strtod= -lm 41*0a6a1f1dSLionel SambucDPADD.t_strtod+= ${LIBM} 4211be35a1SLionel Sambuc 4311be35a1SLionel SambucLDADD.t_getenv_thread= -lpthread 4411be35a1SLionel Sambuc 4511be35a1SLionel Sambuc.include <bsd.test.mk> 46