blob: e0bb048e9576209181fb127d109f9e353e802984 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux nfs filesystem routines.
3#
4
5obj-$(CONFIG_NFS_FS) += nfs.o
6
Bryan Schumaker2ba68002012-05-10 16:47:19 -04007nfs-y := client.o dir.o file.o getroot.o inode.o super.o \
8 direct.o pagelist.o read.o symlink.o unlink.o \
Trond Myklebustc8d74d92013-06-01 11:50:58 -04009 write.o namespace.o mount_clnt.o
Chuck Lever3ea97302007-07-01 12:13:27 -040010nfs-$(CONFIG_ROOT_NFS) += nfsroot.o
Bryan Schumaker89d77c82012-07-30 16:05:25 -040011nfs-$(CONFIG_SYSCTL) += sysctl.o
David Howells14727282009-04-03 16:42:42 +010012nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
Dean Hildebrand7ab672c2010-10-20 00:18:00 -040013
bjschuma@gmail.com1ae811e2012-08-08 13:57:06 -040014obj-$(CONFIG_NFS_V2) += nfsv2.o
15nfsv2-y := nfs2super.o proc.o nfs2xdr.o
Bryan Schumakerddda8e02012-07-30 16:05:23 -040016
bjschuma@gmail.com1ae811e2012-08-08 13:57:06 -040017obj-$(CONFIG_NFS_V3) += nfsv3.o
18nfsv3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o
19nfsv3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o
Bryan Schumaker1c606fb2012-07-30 16:05:24 -040020
bjschuma@gmail.com1ae811e2012-08-08 13:57:06 -040021obj-$(CONFIG_NFS_V4) += nfsv4.o
22nfsv4-y := nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o nfs4super.o nfs4file.o \
Bryan Schumaker89d77c82012-07-30 16:05:25 -040023 delegation.o idmap.o callback.o callback_xdr.o callback_proc.o \
Trond Myklebustc8d74d92013-06-01 11:50:58 -040024 nfs4namespace.o nfs4getroot.o nfs4client.o dns_resolve.o
25nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o
bjschuma@gmail.com1ae811e2012-08-08 13:57:06 -040026nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o
Trond Myklebust73e39aa2012-11-26 12:49:34 -050027nfsv4-$(CONFIG_NFS_V4_1) += nfs4session.o pnfs.o pnfs_dev.o
Bryan Schumaker89d77c82012-07-30 16:05:25 -040028
Dean Hildebrand7ab672c2010-10-20 00:18:00 -040029obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o
Andy Adamson16b374c2010-10-20 00:18:04 -040030nfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o
Benny Halevyc93407d2011-05-22 19:49:06 +030031
32obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
Fred Isaman155e7522011-07-30 20:52:39 -040033obj-$(CONFIG_PNFS_BLOCK) += blocklayout/