xref: /freebsd-13.1/usr.sbin/rpcbind/Makefile (revision d511b20a)
1#	$NetBSD: Makefile,v 1.3 2000/06/20 13:56:43 fvdl Exp $
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6PROG=	rpcbind
7MAN=	rpcbind.8
8SRCS=	check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
9	rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c
10
11CFLAGS+= -DPORTMAP
12
13.if ${MK_INET6_SUPPORT} != "no"
14CFLAGS+= -DINET6
15.endif
16
17.if ${MK_RPCBIND_WARMSTART_SUPPORT} != "no"
18CFLAGS+= -DWARMSTART
19.endif
20
21.if ${MK_TCP_WRAPPERS} != "no"
22CFLAGS+= -DLIBWRAP
23LIBADD+= wrap
24.endif
25
26HAS_TESTS=
27SUBDIR.${MK_TESTS}+= tests
28
29WARNS?=	1
30
31.include <bsd.prog.mk>
32