etc/protocols - sync with NetBSD-8
[minix.git] / tests / lib / libc / net / Makefile
blob96069e5fac4751e84e3ca8c734a4655f00995b1e
1 # $NetBSD: Makefile,v 1.10 2014/01/09 02:18:10 christos Exp $
3 .include <bsd.own.mk>
5 MKMAN= no
7 #LSC: Unsupported on MINIX
8 #TESTS_SUBDIRS+= getaddrinfo
9 FILES+=hosts resolv.conf
11 TESTSDIR= ${TESTSBASE}/lib/libc/net
13 TESTS_C+= t_getprotoent
14 #LSC: Unsupported on MINIX
15 #TESTS_C+= t_ether_aton
17 #SRCS.t_ether_aton= aton_ether_subr.c t_ether_aton.c
19 aton_ether_subr.c: gen_ether_subr ${NETBSDSRCDIR}/sys/net/if_ethersubr.c
20 ${HOST_SH} ${.ALLSRC} ${.TARGET}
22 TESTS_SH+= t_nsdispatch
23 TESTS_SH+= t_protoent
24 TESTS_SH+= t_servent
25 TESTS_SH+= t_hostent
27 BINDIR= ${TESTSDIR}
29 #LSC: Unsupported on MINIX
30 #PROGS+= h_nsd_recurse
31 PROGS+= h_protoent
32 PROGS+= h_servent
33 PROGS+= h_hostent
34 PROGS+= h_dns_server
35 CPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net
37 # For easy debugging, without installing libc
38 #.PATH.c:${NETBSDSRCDIR}/lib/libc/net
39 #SRCS.h_hostent = h_hostent.c gethnamaddr.c
40 #DBG=-g3
42 LDADD.h_nsd_recurse+= -lpthread
44 CLEANFILES+= aton_ether_subr.c
46 .include <bsd.test.mk>