NetBSD/usr.sbin/rpcbind/Makefile

27 lines
585 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2005/01/10 02:58:59 lukem Exp $
2002-09-18 07:54:26 +04:00
.include <bsd.own.mk>
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 \
rpc_generic.c
2002-09-18 07:54:26 +04:00
LIBCDIR= ${NETBSDSRCDIR}/lib/libc
LIBCRPCDIR= ${LIBCDIR}/rpc
LIBCINCLUDE= ${LIBCDIR}/include
CPPFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DLIBWRAP
.if (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
.endif
LDADD+= -lwrap -lutil
DPADD+= ${LIBWRAP} ${LIBUTIL}
.PATH: ${LIBCRPCDIR}
.include <bsd.prog.mk>