1# $NetBSD: Makefile,v 1.3 2000/06/20 13:56:43 fvdl Exp $ 2 3.include <src.opts.mk> 4 5PROG= rpcbind 6MAN= rpcbind.8 7SRCS= check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \ 8 rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c 9 10CFLAGS+= -DPORTMAP 11 12LIBADD= util 13 14.if ${MK_INET6_SUPPORT} != "no" 15CFLAGS+= -DINET6 16.endif 17 18.if ${MK_RPCBIND_WARMSTART_SUPPORT} != "no" 19CFLAGS+= -DWARMSTART 20.endif 21 22.if ${MK_TCP_WRAPPERS} != "no" 23CFLAGS+= -DLIBWRAP 24LIBADD+= wrap 25.endif 26 27HAS_TESTS= 28SUBDIR.${MK_TESTS}+= tests 29 30WARNS?= 1 31 32.include <bsd.prog.mk> 33