]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - usr.sbin/rpcbind/Makefile
MFC r317168:
[FreeBSD/stable/10.git] / usr.sbin / rpcbind / Makefile
1 #       $NetBSD: Makefile,v 1.3 2000/06/20 13:56:43 fvdl Exp $
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 PROG=   rpcbind
7 MAN=    rpcbind.8
8 SRCS=   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
11 CFLAGS+= -DPORTMAP
12
13 .if ${MK_INET6_SUPPORT} != "no"
14 CFLAGS+= -DINET6
15 .endif
16
17 .if ${MK_RPCBIND_WARMSTART_SUPPORT} != "no"
18 CFLAGS+= -DWARMSTART
19 .endif
20
21 .if ${MK_TCP_WRAPPERS} != "no"
22 CFLAGS+= -DLIBWRAP
23 DPADD+= ${LIBWRAP}
24 LDADD+= -lwrap
25 .endif
26
27 .if ${MK_TESTS} != "no"
28 SUBDIR+= tests
29 .endif
30
31 DPADD+= ${LIBUTIL}
32 LDADD+= -lutil
33
34 WARNS?= 1
35
36 .include <bsd.prog.mk>