summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind/Makefile
blob: 2fbc6aefb3e24a9b3b0654cb551cd0f8d42bbc9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#	$NetBSD: Makefile,v 1.3 2000/06/20 13:56:43 fvdl Exp $
# $FreeBSD$

.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

CFLAGS+= -DPORTMAP

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif

.if ${MK_TCP_WRAPPERS} != "no"
CFLAGS+=	-DLIBWRAP
DPADD+=		${LIBWRAP}
LDADD+=		-lwrap
.endif

.if ${MK_TESTS} != "no"
SUBDIR+=	tests
.endif

DPADD+=		${LIBUTIL}
LDADD+=		-lutil

WARNS?=	1

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud