11.14Skamil# $NetBSD: Makefile,v 1.14 2020/06/01 01:03:21 kamil Exp $ 21.1Spgoyette 31.1Spgoyette.include <bsd.own.mk> 41.1Spgoyette 51.2SpgoyetteMKMAN= no 61.2Spgoyette 71.1SpgoyetteTESTS_SUBDIRS+= getaddrinfo 81.10SchristosFILES+=hosts resolv.conf 91.1Spgoyette 101.1SpgoyetteTESTSDIR= ${TESTSBASE}/lib/libc/net 111.1Spgoyette 121.5SjruohoTESTS_C+= t_getprotoent 131.6SpgoyetteTESTS_C+= t_ether_aton 141.11SmsaitohTESTS_C+= t_if_nametoindex 151.6Spgoyette 161.6SpgoyetteSRCS.t_ether_aton= aton_ether_subr.c t_ether_aton.c 171.6Spgoyette 181.6Spgoyetteaton_ether_subr.c: gen_ether_subr ${NETBSDSRCDIR}/sys/net/if_ethersubr.c 191.6Spgoyette ${HOST_SH} ${.ALLSRC} ${.TARGET} 201.5Sjruoho 211.3SpgoyetteTESTS_SH+= t_nsdispatch 221.2SpgoyetteTESTS_SH+= t_protoent 231.2SpgoyetteTESTS_SH+= t_servent 241.8SchristosTESTS_SH+= t_hostent 251.2Spgoyette 261.2SpgoyetteBINDIR= ${TESTSDIR} 271.2Spgoyette 281.3SpgoyettePROGS+= h_nsd_recurse 291.2SpgoyettePROGS+= h_protoent 301.2SpgoyettePROGS+= h_servent 311.8SchristosPROGS+= h_hostent 321.9SgsonPROGS+= h_dns_server 331.8SchristosCPPFLAGS.h_hostent.c += -I${NETBSDSRCDIR}/lib/libc/net 341.8Schristos 351.8Schristos# For easy debugging, without installing libc 361.8Schristos#.PATH.c:${NETBSDSRCDIR}/lib/libc/net 371.8Schristos#SRCS.h_hostent = h_hostent.c gethnamaddr.c 381.8Schristos#DBG=-g3 391.2Spgoyette 401.4SpgoyetteLDADD.h_nsd_recurse+= -lpthread 411.3Spgoyette 421.7SplunkyCLEANFILES+= aton_ether_subr.c 431.6Spgoyette 441.1Spgoyette.include <bsd.test.mk> 45