2014-11-04 00:56:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-11-08 23:06:40 +00:00
|
|
|
ATF_TESTS_C+= ether_test
|
|
|
|
ATF_TESTS_C+= eui64_aton_test
|
|
|
|
ATF_TESTS_C+= eui64_ntoa_test
|
2014-11-04 00:56:25 +00:00
|
|
|
|
2015-11-08 23:06:40 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}
|
2014-11-04 00:56:25 +00:00
|
|
|
|
2015-11-08 23:06:40 +00:00
|
|
|
NETBSD_ATF_TESTS_C+= getprotoent_test
|
2014-11-04 00:56:25 +00:00
|
|
|
NETBSD_ATF_TESTS_C+= ether_aton_test
|
|
|
|
|
2015-11-08 23:06:40 +00:00
|
|
|
SRCS.ether_aton_test= aton_ether_subr.c t_ether_aton.c
|
2014-11-04 00:56:25 +00:00
|
|
|
|
|
|
|
# TODO: hostent_test
|
|
|
|
NETBSD_ATF_TESTS_SH= nsdispatch_test
|
|
|
|
NETBSD_ATF_TESTS_SH+= protoent_test
|
|
|
|
NETBSD_ATF_TESTS_SH+= servent_test
|
|
|
|
|
2015-11-08 23:06:40 +00:00
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
|
2014-11-04 00:56:25 +00:00
|
|
|
PROGS= h_nsd_recurse
|
|
|
|
PROGS+= h_protoent
|
|
|
|
PROGS+= h_servent
|
|
|
|
PROGS+= h_dns_server
|
|
|
|
|
|
|
|
DPADD.h_nsd_recurse+= ${LIBPTHREAD}
|
|
|
|
LDADD.h_nsd_recurse+= -lpthread
|
|
|
|
|
|
|
|
CLEANFILES+= aton_ether_subr.c
|
2015-11-08 23:06:40 +00:00
|
|
|
aton_ether_subr.c: gen_ether_subr ${SRCTOP}/sys/net/if_ethersubr.c
|
2015-11-23 07:57:41 +00:00
|
|
|
${__MAKE_SHELL} ${.ALLSRC} ${.TARGET}
|
2014-11-04 00:56:25 +00:00
|
|
|
|
|
|
|
.include "../Makefile.netbsd-tests"
|
|
|
|
|
|
|
|
# TODO: the testcases needs to be ported to FreeBSD
|
|
|
|
#TESTS_SUBDIRS= getaddrinfo
|
2015-11-08 23:06:40 +00:00
|
|
|
FILES+= hosts
|
2014-11-04 00:56:25 +00:00
|
|
|
FILES+= resolv.conf
|
|
|
|
|
|
|
|
.include <bsd.test.mk>
|