etc/protocols - sync with NetBSD-8
[minix.git] / tests / lib / libc / stdlib / Makefile
blobbc4d5d5a457e7b18043d2ae0d73a6863dc7e0246
1 # $NetBSD: Makefile,v 1.25 2015/05/01 14:17:56 christos Exp $
3 .include <bsd.own.mk>
5 TESTSDIR= ${TESTSBASE}/lib/libc/stdlib
7 TESTS_C+= t_abs
8 TESTS_C+= t_atoi
9 TESTS_C+= t_div
10 TESTS_C+= t_getenv
11 # LSC: Unsupported on MINIX
12 #TESTS_C+= t_getenv_thread
13 TESTS_C+= t_exit
14 TESTS_C+= t_hsearch
15 TESTS_C+= t_mi_vector_hash
16 # LSC: Unsupported on MINIX
17 #TESTS_C+= t_posix_memalign
18 TESTS_C+= t_random
19 TESTS_C+= t_strtod
20 TESTS_C+= t_strtol
21 TESTS_C+= t_strtoi
22 TESTS_C+= t_system
24 TESTS_SH+= t_atexit
25 TESTS_SH+= t_getopt
27 MKMAN=no
29 BINDIR= ${TESTSDIR}
31 PROGS+= h_atexit
32 PROGS+= h_getopt h_getopt_long
34 .if ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" \
35 || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \
36 || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
37 CPPFLAGS.t_strtod.c+= -DHAVE_FENV
38 .endif
40 LDADD.t_strtod= -lm
41 DPADD.t_strtod+= ${LIBM}
43 LDADD.t_getenv_thread= -lpthread
45 .include <bsd.test.mk>