Makefile revision 313209
1#	$NetBSD: Makefile,v 1.3 2000/06/20 13:56:43 fvdl Exp $
2# $FreeBSD: stable/10/usr.sbin/rpcbind/Makefile 313209 2017-02-04 15:55:31Z ngie $
3
4.include <bsd.own.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_TCP_WRAPPERS} != "no"
18CFLAGS+=	-DLIBWRAP
19DPADD+=		${LIBWRAP}
20LDADD+=		-lwrap
21.endif
22
23.if ${MK_TESTS} != "no"
24SUBDIR+=	tests
25.endif
26
27DPADD+=		${LIBUTIL}
28LDADD+=		-lutil
29
30WARNS?=	1
31
32.include <bsd.prog.mk>
33