blob: 01846edc5c94f8e8c425065d7676e2db60f1f620 [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 Myklebuste571cbf2009-08-19 18:12:27 -04009 write.o namespace.o mount_clnt.o \
10 dns_resolve.o cache_lib.o
Chuck Lever3ea97302007-07-01 12:13:27 -040011nfs-$(CONFIG_ROOT_NFS) += nfsroot.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012nfs-$(CONFIG_NFS_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \
Bryan Schumakerce4ef7c2012-07-16 16:39:15 -040013 nfs4super.o nfs4file.o delegation.o idmap.o \
David Howellsf7b422b2006-06-09 09:34:33 -040014 callback.o callback_xdr.o callback_proc.o \
Bryan Schumaker428360d2012-07-16 16:39:17 -040015 nfs4namespace.o nfs4getroot.o nfs4client.o
Benny Halevya1eaecb2011-05-19 22:14:47 -040016nfs-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o
Bryan Schumaker466bfe72012-07-16 16:39:14 -040017
18ifeq ($(CONFIG_SYSCTL), y)
19nfs-y += sysctl.o
20nfs-$(CONFIG_NFS_V4) += nfs4sysctl.o
21endif
22
David Howells14727282009-04-03 16:42:42 +010023nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
Dean Hildebrand7ab672c2010-10-20 00:18:00 -040024
Bryan Schumakerddda8e02012-07-30 16:05:23 -040025obj-$(CONFIG_NFS_V2) += nfs2.o
26nfs2-y := nfs2super.o proc.o nfs2xdr.o
27
Bryan Schumaker1c606fb2012-07-30 16:05:24 -040028obj-$(CONFIG_NFS_V3) += nfs3.o
29nfs3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o
30nfs3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o
31
Dean Hildebrand7ab672c2010-10-20 00:18:00 -040032obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o
Andy Adamson16b374c2010-10-20 00:18:04 -040033nfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o
Benny Halevyc93407d2011-05-22 19:49:06 +030034
35obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
Fred Isaman155e7522011-07-30 20:52:39 -040036obj-$(CONFIG_PNFS_BLOCK) += blocklayout/