1 1.14 kamil # $NetBSD: Makefile,v 1.14 2020/06/01 01:03:21 kamil Exp $ 2 1.1 pgoyette 3 1.1 pgoyette .include <bsd.own.mk> 4 1.1 pgoyette 5 1.2 pgoyette MKMAN= no 6 1.2 pgoyette 7 1.1 pgoyette TESTS_SUBDIRS+= getaddrinfo 8 1.10 christos FILES+=hosts resolv.conf 9 1.1 pgoyette 10 1.1 pgoyette TESTSDIR= ${TESTSBASE}/lib/libc/net 11 1.1 pgoyette 12 1.5 jruoho TESTS_C+= t_getprotoent 13 1.6 pgoyette TESTS_C+= t_ether_aton 14 1.11 msaitoh TESTS_C+= t_if_nametoindex 15 1.6 pgoyette 16 1.6 pgoyette SRCS.t_ether_aton= aton_ether_subr.c t_ether_aton.c 17 1.6 pgoyette 18 1.6 pgoyette aton_ether_subr.c: gen_ether_subr ${NETBSDSRCDIR}/sys/net/if_ethersubr.c 19 1.6 pgoyette ${HOST_SH} ${.ALLSRC} ${.TARGET} 20 1.5 jruoho 21 1.3 pgoyette TESTS_SH+= t_nsdispatch 22 1.2 pgoyette TESTS_SH+= t_protoent 23 1.2 pgoyette TESTS_SH+= t_servent 24 1.8 christos TESTS_SH+= t_hostent 25 1.2 pgoyette 26 1.2 pgoyette BINDIR= ${TESTSDIR} 27 1.2 pgoyette 28 1.3 pgoyette PROGS+= h_nsd_recurse 29 1.2 pgoyette PROGS+= h_protoent 30 1.2 pgoyette PROGS+= h_servent 31 1.8 christos PROGS+= h_hostent 32 1.9 gson PROGS+= h_dns_server 33 1.8 christos CPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net 34 1.8 christos 35 1.8 christos # For easy debugging, without installing libc 36 1.8 christos #.PATH.c:${NETBSDSRCDIR}/lib/libc/net 37 1.8 christos #SRCS.h_hostent = h_hostent.c gethnamaddr.c 38 1.8 christos #DBG=-g3 39 1.2 pgoyette 40 1.4 pgoyette LDADD.h_nsd_recurse+= -lpthread 41 1.3 pgoyette 42 1.7 plunky CLEANFILES+= aton_ether_subr.c 43 1.6 pgoyette 44 1.1 pgoyette .include <bsd.test.mk> 45