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