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 12.if ${MK_INET6_SUPPORT} != "no" 13CFLAGS+= -DINET6 14.endif 15 16.if ${MK_RPCBIND_WARMSTART_SUPPORT} != "no" 17CFLAGS+= -DWARMSTART 18.endif 19 20.if ${MK_TCP_WRAPPERS} != "no" 21CFLAGS+= -DLIBWRAP 22LIBADD+= wrap 23.endif 24 25HAS_TESTS= 26SUBDIR.${MK_TESTS}+= tests 27 28WARNS?= 1 29 30.include <bsd.prog.mk> 31