1 # $NetBSD: Makefile,v 1.14.4.1 2019/06/10 22:10:36 christos Exp $ 2 3 .include <bsd.own.mk> 4 5 USE_FORT?= yes # network client 6 7 PROG= rpcbind 8 MAN= rpcbind.8 9 SRCS= check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \ 10 rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c 11 12 LIBCDIR= ${NETBSDSRCDIR}/lib/libc 13 LIBCRPCDIR= ${LIBCDIR}/rpc 14 15 CPPFLAGS+= -I${LIBCRPCDIR} -DPORTMAP -DLIBWRAP 16 17 .if (${USE_INET6} != "no") 18 CPPFLAGS+= -DINET6 19 .endif 20 21 .if (${USE_YP} != "no") 22 CPPFLAGS+= -DYP 23 .endif 24 25 # Uncomment these to get any useful output from 'rpcbind -d' 26 # CPPFLAGS+= -DRPCBIND_DEBUG 27 # CPPFLAGS+= -DSVC_RUN_DEBUG 28 29 LDADD+= -lwrap -lutil 30 DPADD+= ${LIBWRAP} ${LIBUTIL} 31 32 .PATH: ${LIBCRPCDIR} 33 34 .include <bsd.prog.mk> 35