Home | History | Annotate | Line # | Download | only in net
Makefile revision 1.8
      1 # $NetBSD: Makefile,v 1.8 2013/08/16 15:29:45 christos Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 MKMAN=	no
      6 
      7 TESTS_SUBDIRS+=	getaddrinfo
      8 FILES+=hosts
      9 
     10 TESTSDIR=	${TESTSBASE}/lib/libc/net
     11 
     12 TESTS_C+=	t_getprotoent
     13 TESTS_C+=	t_ether_aton
     14 
     15 SRCS.t_ether_aton=	aton_ether_subr.c t_ether_aton.c
     16 
     17 aton_ether_subr.c: gen_ether_subr ${NETBSDSRCDIR}/sys/net/if_ethersubr.c
     18 	${HOST_SH} ${.ALLSRC} ${.TARGET}
     19 
     20 TESTS_SH+=	t_nsdispatch
     21 TESTS_SH+=	t_protoent
     22 TESTS_SH+=	t_servent
     23 TESTS_SH+=	t_hostent
     24 
     25 BINDIR=		${TESTSDIR}
     26 
     27 PROGS+=		h_nsd_recurse
     28 PROGS+=		h_protoent
     29 PROGS+=		h_servent
     30 PROGS+=		h_hostent
     31 CPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net
     32 
     33 # For easy debugging, without installing libc
     34 #.PATH.c:${NETBSDSRCDIR}/lib/libc/net
     35 #SRCS.h_hostent = h_hostent.c gethnamaddr.c
     36 #DBG=-g3
     37 
     38 LDADD.h_nsd_recurse+=	-lpthread
     39 
     40 CLEANFILES+=	aton_ether_subr.c
     41 
     42 .include <bsd.test.mk>
     43