summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-03-27 11:55:03 +0000
committerdfr <dfr@FreeBSD.org>2008-03-27 11:55:03 +0000
commitc26f064bd414ff56545d5d570b13ca39ac76e05e (patch)
treef1038a38960d6be747e52219e97a89040841cc6b /sys
parentdc98ee4196c8969bd3d587924ee9e570228ec62f (diff)
downloadFreeBSD-src-c26f064bd414ff56545d5d570b13ca39ac76e05e.zip
FreeBSD-src-c26f064bd414ff56545d5d570b13ca39ac76e05e.tar.gz
Add nfslockd and krpc modules.
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/krpc/Makefile44
-rw-r--r--sys/modules/nfslockd/Makefile23
2 files changed, 67 insertions, 0 deletions
diff --git a/sys/modules/krpc/Makefile b/sys/modules/krpc/Makefile
new file mode 100644
index 0000000..0755c46
--- /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 <bsd.kmod.mk>
diff --git a/sys/modules/nfslockd/Makefile b/sys/modules/nfslockd/Makefile
new file mode 100644
index 0000000..8c02c88
--- /dev/null
+++ b/sys/modules/nfslockd/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../nlm ${.CURDIR}/../../rpc
+KMOD= nfslockd
+SRCS= vnode_if.h \
+ nlm_prot_clnt.c \
+ nlm_prot_impl.c \
+ nlm_prot_server.c \
+ nlm_prot_svc.c \
+ nlm_prot_xdr.c \
+ sm_inter_xdr.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>
OpenPOWER on IntegriCloud