2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2013/08/16 15:29:45 christos Exp $
|
2013-02-26 09:24:42 +01:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
MKMAN= no
|
|
|
|
|
|
|
|
#LSC: Unsupported on MINIX
|
|
|
|
#TESTS_SUBDIRS+= getaddrinfo
|
2013-12-06 12:04:52 +01:00
|
|
|
FILES+=hosts
|
2013-02-26 09:24:42 +01:00
|
|
|
|
|
|
|
TESTSDIR= ${TESTSBASE}/lib/libc/net
|
|
|
|
|
|
|
|
TESTS_C+= t_getprotoent
|
|
|
|
#LSC: Unsupported on MINIX
|
|
|
|
#TESTS_C+= t_ether_aton
|
|
|
|
|
|
|
|
#SRCS.t_ether_aton= aton_ether_subr.c t_ether_aton.c
|
|
|
|
|
|
|
|
aton_ether_subr.c: gen_ether_subr ${NETBSDSRCDIR}/sys/net/if_ethersubr.c
|
|
|
|
${HOST_SH} ${.ALLSRC} ${.TARGET}
|
|
|
|
|
|
|
|
TESTS_SH+= t_nsdispatch
|
|
|
|
TESTS_SH+= t_protoent
|
|
|
|
TESTS_SH+= t_servent
|
2013-12-06 12:04:52 +01:00
|
|
|
TESTS_SH+= t_hostent
|
2013-02-26 09:24:42 +01:00
|
|
|
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
|
|
|
|
#LSC: Unsupported on MINIX
|
|
|
|
#PROGS+= h_nsd_recurse
|
|
|
|
PROGS+= h_protoent
|
|
|
|
PROGS+= h_servent
|
2013-12-06 12:04:52 +01:00
|
|
|
PROGS+= h_hostent
|
|
|
|
CPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net
|
|
|
|
|
|
|
|
# For easy debugging, without installing libc
|
|
|
|
#.PATH.c:${NETBSDSRCDIR}/lib/libc/net
|
|
|
|
#SRCS.h_hostent = h_hostent.c gethnamaddr.c
|
|
|
|
#DBG=-g3
|
2013-02-26 09:24:42 +01:00
|
|
|
|
|
|
|
LDADD.h_nsd_recurse+= -lpthread
|
|
|
|
|
|
|
|
CLEANFILES+= aton_ether_subr.c
|
|
|
|
|
|
|
|
.include <bsd.test.mk>
|