1# $FreeBSD$ 2 3PACKAGE= tests 4 5ATF_TESTS_C+= ether_test 6ATF_TESTS_C+= eui64_aton_test 7ATF_TESTS_C+= eui64_ntoa_test 8 9CFLAGS+= -I${.CURDIR} 10 11NETBSD_ATF_TESTS_C+= getprotoent_test 12NETBSD_ATF_TESTS_C+= ether_aton_test 13 14SRCS.ether_aton_test= aton_ether_subr.c t_ether_aton.c 15 16# TODO: hostent_test 17NETBSD_ATF_TESTS_SH= nsdispatch_test 18NETBSD_ATF_TESTS_SH+= protoent_test 19NETBSD_ATF_TESTS_SH+= servent_test 20 21BINDIR= ${TESTSDIR} 22 23PROGS= h_nsd_recurse 24PROGS+= h_protoent 25PROGS+= h_servent 26PROGS+= h_dns_server 27 28LIBADD.h_nsd_recurse+= pthread 29 30CLEANFILES+= aton_ether_subr.c 31aton_ether_subr.c: gen_ether_subr ${SRCTOP}/sys/net/if_ethersubr.c 32 ${__MAKE_SHELL} ${.ALLSRC} ${.TARGET} 33 34.include "../Makefile.netbsd-tests" 35 36# TODO: the testcases needs to be ported to FreeBSD 37#TESTS_SUBDIRS= getaddrinfo 38${PACKAGE}FILES+= hosts 39${PACKAGE}FILES+= resolv.conf 40 41.include <bsd.test.mk> 42