NetBSD/usr.sbin/rpcbind/Makefile

31 lines
669 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2017/08/17 00:06:00 ginsbach Exp $
2002-09-18 07:54:26 +04:00
.include <bsd.own.mk>
USE_FORT?= yes # network client
2007-05-28 16:06:17 +04:00
PROG= rpcbind
MAN= rpcbind.8
SRCS= check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c
2002-09-18 07:54:26 +04:00
LIBCDIR= ${NETBSDSRCDIR}/lib/libc
LIBCRPCDIR= ${LIBCDIR}/rpc
CPPFLAGS+= -I${LIBCRPCDIR} -DPORTMAP -DLIBWRAP
.if (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
.endif
# Uncomment these to get any useful output from 'rpcbind -d'
# CPPFLAGS+= -DRPCBIND_DEBUG
# CPPFLAGS+= -DSVC_RUN_DEBUG
LDADD+= -lwrap -lutil
DPADD+= ${LIBWRAP} ${LIBUTIL}
.PATH: ${LIBCRPCDIR}
.include <bsd.prog.mk>