109c1de8ba
in the kernel (just as inet_ntoa() and inet_aton()) are and sync their prototype accordingly with already mentioned functions. Sponsored by: Sandvine Incorporated Reviewed by: emaste, rstone Approved by: dfr MFC after: 2 weeks
44 lines
670 B
Makefile
44 lines
670 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../rpc ${.CURDIR}/../../xdr
|
|
KMOD= krpc
|
|
SRCS= auth_none.c \
|
|
auth_unix.c \
|
|
authunix_prot.c \
|
|
clnt_dg.c \
|
|
clnt_rc.c \
|
|
clnt_vc.c \
|
|
getnetconfig.c \
|
|
rpc_callmsg.c \
|
|
rpc_generic.c \
|
|
rpc_prot.c \
|
|
rpcb_clnt.c \
|
|
rpcb_prot.c \
|
|
replay.c \
|
|
svc.c \
|
|
svc_auth.c \
|
|
svc_auth_unix.c \
|
|
svc_dg.c \
|
|
svc_generic.c \
|
|
svc_vc.c \
|
|
|
|
SRCS+= xdr.c \
|
|
xdr_array.c \
|
|
xdr_mbuf.c \
|
|
xdr_mem.c \
|
|
xdr_reference.c \
|
|
xdr_sizeof.c
|
|
|
|
SRCS+= opt_inet6.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
|
|
|
|
.if ${NFS_INET6} > 0
|
|
opt_inet6.h:
|
|
echo "#define INET6 1" > ${.TARGET}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|