1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5# TODO: t_getenv_thread, t_mi_vector_hash 6NETBSD_ATF_TESTS_C= abs_test 7NETBSD_ATF_TESTS_C+= atoi_test 8NETBSD_ATF_TESTS_C+= div_test 9NETBSD_ATF_TESTS_C+= getenv_test 10NETBSD_ATF_TESTS_C+= exit_test 11NETBSD_ATF_TESTS_C+= hsearch_test 12NETBSD_ATF_TESTS_C+= posix_memalign_test 13NETBSD_ATF_TESTS_C+= random_test 14NETBSD_ATF_TESTS_C+= strtod_test 15NETBSD_ATF_TESTS_C+= strtol_test 16NETBSD_ATF_TESTS_C+= system_test 17 18# TODO: need to come up with a correct explanation of what the patch pho does 19# with h_atexit 20#ATF_TESTS_SH= atexit_test 21NETBSD_ATF_TESTS_SH= getopt_test 22 23.include "../Makefile.netbsd-tests" 24 25BINDIR= ${TESTSDIR} 26 27# TODO: see comment above 28#PROGS+= h_atexit 29PROGS+= h_getopt h_getopt_long 30 31.for t in h_getopt h_getopt_long 32CFLAGS.$t+= -I${LIBNETBSD_SRCDIR} -I${SRCTOP}/contrib/netbsd-tests 33LDFLAGS.$t+= -L${LIBNETBSD_OBJDIR} 34 35DPADD.$t+= ${LIBNETBSD} ${LIBUTIL} 36LDADD.$t+= -lnetbsd -lutil 37.endfor 38 39DPADD.strtod_test+= ${LIBM} 40LDADD.strtod_test+= -lm 41 42.include <bsd.test.mk> 43