Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux nfs filesystem routines. |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_NFS_FS) += nfs.o |
| 6 | |
Bryan Schumaker | 2ba6800 | 2012-05-10 16:47:19 -0400 | [diff] [blame] | 7 | nfs-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 Myklebust | e571cbf | 2009-08-19 18:12:27 -0400 | [diff] [blame] | 9 | write.o namespace.o mount_clnt.o \ |
| 10 | dns_resolve.o cache_lib.o |
Chuck Lever | 3ea9730 | 2007-07-01 12:13:27 -0400 | [diff] [blame] | 11 | nfs-$(CONFIG_ROOT_NFS) += nfsroot.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | nfs-$(CONFIG_NFS_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \ |
Bryan Schumaker | ce4ef7c | 2012-07-16 16:39:15 -0400 | [diff] [blame] | 13 | nfs4super.o nfs4file.o delegation.o idmap.o \ |
David Howells | f7b422b | 2006-06-09 09:34:33 -0400 | [diff] [blame] | 14 | callback.o callback_xdr.o callback_proc.o \ |
Bryan Schumaker | 428360d | 2012-07-16 16:39:17 -0400 | [diff] [blame] | 15 | nfs4namespace.o nfs4getroot.o nfs4client.o |
Benny Halevy | a1eaecb | 2011-05-19 22:14:47 -0400 | [diff] [blame] | 16 | nfs-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o |
Bryan Schumaker | 466bfe7 | 2012-07-16 16:39:14 -0400 | [diff] [blame] | 17 | |
| 18 | ifeq ($(CONFIG_SYSCTL), y) |
| 19 | nfs-y += sysctl.o |
| 20 | nfs-$(CONFIG_NFS_V4) += nfs4sysctl.o |
| 21 | endif |
| 22 | |
David Howells | 1472728 | 2009-04-03 16:42:42 +0100 | [diff] [blame] | 23 | nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o |
Dean Hildebrand | 7ab672c | 2010-10-20 00:18:00 -0400 | [diff] [blame] | 24 | |
Bryan Schumaker | ddda8e0 | 2012-07-30 16:05:23 -0400 | [diff] [blame] | 25 | obj-$(CONFIG_NFS_V2) += nfs2.o |
| 26 | nfs2-y := nfs2super.o proc.o nfs2xdr.o |
| 27 | |
Bryan Schumaker | 1c606fb | 2012-07-30 16:05:24 -0400 | [diff] [blame^] | 28 | obj-$(CONFIG_NFS_V3) += nfs3.o |
| 29 | nfs3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o |
| 30 | nfs3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o |
| 31 | |
Dean Hildebrand | 7ab672c | 2010-10-20 00:18:00 -0400 | [diff] [blame] | 32 | obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o |
Andy Adamson | 16b374c | 2010-10-20 00:18:04 -0400 | [diff] [blame] | 33 | nfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o |
Benny Halevy | c93407d | 2011-05-22 19:49:06 +0300 | [diff] [blame] | 34 | |
| 35 | obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/ |
Fred Isaman | 155e752 | 2011-07-30 20:52:39 -0400 | [diff] [blame] | 36 | obj-$(CONFIG_PNFS_BLOCK) += blocklayout/ |