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