Lionel Sambuc 0a6a1f1d05 NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
2016-01-13 20:32:14 +01:00

46 lines
931 B
Makefile

# $NetBSD: Makefile,v 1.25 2015/05/01 14:17:56 christos Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/lib/libc/stdlib
TESTS_C+= t_abs
TESTS_C+= t_atoi
TESTS_C+= t_div
TESTS_C+= t_getenv
# LSC: Unsupported on MINIX
#TESTS_C+= t_getenv_thread
TESTS_C+= t_exit
TESTS_C+= t_hsearch
TESTS_C+= t_mi_vector_hash
# LSC: Unsupported on MINIX
#TESTS_C+= t_posix_memalign
TESTS_C+= t_random
TESTS_C+= t_strtod
TESTS_C+= t_strtol
TESTS_C+= t_strtoi
TESTS_C+= t_system
TESTS_SH+= t_atexit
TESTS_SH+= t_getopt
MKMAN=no
BINDIR= ${TESTSDIR}
PROGS+= h_atexit
PROGS+= h_getopt h_getopt_long
.if ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" \
|| ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \
|| ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
CPPFLAGS.t_strtod.c+= -DHAVE_FENV
.endif
LDADD.t_strtod= -lm
DPADD.t_strtod+= ${LIBM}
LDADD.t_getenv_thread= -lpthread
.include <bsd.test.mk>