Sync usage with man page.
[netbsd-mini2440.git] / usr.sbin / rpcbind / Makefile
blob75008ab9277b395dfe5364ff3a19b14d6afe7a1c
1 # $NetBSD: Makefile,v 1.11 2007/08/27 19:53:32 dsl Exp $
3 .include <bsd.own.mk>
5 USE_FORT?= yes # network client
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
12 LIBCDIR= ${NETBSDSRCDIR}/lib/libc
13 LIBCRPCDIR= ${LIBCDIR}/rpc
15 CPPFLAGS+= -I${LIBCRPCDIR} -DPORTMAP -DLIBWRAP
17 .if (${USE_INET6} != "no")
18 CPPFLAGS+= -DINET6
19 .endif
21 # Uncomment these to get any useful output from 'rpcbind -d'
22 # CPPFLAGS+= -DRPCBIND_DEBUG
23 # CPPFLAGS+= -DSVC_RUN_DEBUG
25 LDADD+= -lwrap -lutil
26 DPADD+= ${LIBWRAP} ${LIBUTIL}
28 .PATH: ${LIBCRPCDIR}
30 .include <bsd.prog.mk>