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