1 1.9 gson # $NetBSD: Makefile,v 1.9 2014/01/06 14:50:32 gson 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.8 christos FILES+=hosts 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.6 pgoyette 15 1.6 pgoyette SRCS.t_ether_aton= aton_ether_subr.c t_ether_aton.c 16 1.6 pgoyette 17 1.6 pgoyette aton_ether_subr.c: gen_ether_subr ${NETBSDSRCDIR}/sys/net/if_ethersubr.c 18 1.6 pgoyette ${HOST_SH} ${.ALLSRC} ${.TARGET} 19 1.5 jruoho 20 1.3 pgoyette TESTS_SH+= t_nsdispatch 21 1.2 pgoyette TESTS_SH+= t_protoent 22 1.2 pgoyette TESTS_SH+= t_servent 23 1.8 christos TESTS_SH+= t_hostent 24 1.2 pgoyette 25 1.2 pgoyette BINDIR= ${TESTSDIR} 26 1.2 pgoyette 27 1.3 pgoyette PROGS+= h_nsd_recurse 28 1.2 pgoyette PROGS+= h_protoent 29 1.2 pgoyette PROGS+= h_servent 30 1.8 christos PROGS+= h_hostent 31 1.9 gson PROGS+= h_dns_server 32 1.8 christos CPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net 33 1.8 christos 34 1.8 christos # For easy debugging, without installing libc 35 1.8 christos #.PATH.c:${NETBSDSRCDIR}/lib/libc/net 36 1.8 christos #SRCS.h_hostent = h_hostent.c gethnamaddr.c 37 1.8 christos #DBG=-g3 38 1.2 pgoyette 39 1.4 pgoyette LDADD.h_nsd_recurse+= -lpthread 40 1.3 pgoyette 41 1.7 plunky CLEANFILES+= aton_ether_subr.c 42 1.6 pgoyette 43 1.1 pgoyette .include <bsd.test.mk> 44