1 1.8 christos # $NetBSD: Makefile,v 1.8 2013/08/16 15:29:45 christos 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.8 christos CPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net 32 1.8 christos 33 1.8 christos # For easy debugging, without installing libc 34 1.8 christos #.PATH.c:${NETBSDSRCDIR}/lib/libc/net 35 1.8 christos #SRCS.h_hostent = h_hostent.c gethnamaddr.c 36 1.8 christos #DBG=-g3 37 1.2 pgoyette 38 1.4 pgoyette LDADD.h_nsd_recurse+= -lpthread 39 1.3 pgoyette 40 1.7 plunky CLEANFILES+= aton_ether_subr.c 41 1.6 pgoyette 42 1.1 pgoyette .include <bsd.test.mk> 43