From 6b0d16d374627cfcb0c39328097ffa6b4fa3d0df Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Thu, 27 Mar 2008 11:55:03 +0000 Subject: Add nfslockd and krpc modules. --- sys/modules/krpc/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sys/modules/krpc/Makefile (limited to 'sys/modules/krpc') diff --git a/sys/modules/krpc/Makefile b/sys/modules/krpc/Makefile new file mode 100644 index 000000000000..0755c466c1ec --- /dev/null +++ b/sys/modules/krpc/Makefile @@ -0,0 +1,44 @@ +# $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 \ + inet_ntop.c \ + inet_pton.c \ + rpc_callmsg.c \ + rpc_generic.c \ + rpc_prot.c \ + rpcb_clnt.c \ + rpcb_prot.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 -- cgit v1.3