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 | |
Trond Myklebust | f4ce129 | 2013-08-19 18:59:33 -0400 | [diff] [blame] | 7 | CFLAGS_nfstrace.o += -I$(src) |
Bryan Schumaker | 2ba6800 | 2012-05-10 16:47:19 -0400 | [diff] [blame] | 8 | nfs-y := client.o dir.o file.o getroot.o inode.o super.o \ |
| 9 | direct.o pagelist.o read.o symlink.o unlink.o \ |
Trond Myklebust | f4ce129 | 2013-08-19 18:59:33 -0400 | [diff] [blame] | 10 | write.o namespace.o mount_clnt.o nfstrace.o |
Chuck Lever | 3ea9730 | 2007-07-01 12:13:27 -0400 | [diff] [blame] | 11 | nfs-$(CONFIG_ROOT_NFS) += nfsroot.o |
Bryan Schumaker | 89d77c8 | 2012-07-30 16:05:25 -0400 | [diff] [blame] | 12 | nfs-$(CONFIG_SYSCTL) += sysctl.o |
David Howells | 1472728 | 2009-04-03 16:42:42 +0100 | [diff] [blame] | 13 | nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o |
Dean Hildebrand | 7ab672c | 2010-10-20 00:18:00 -0400 | [diff] [blame] | 14 | |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 15 | obj-$(CONFIG_NFS_V2) += nfsv2.o |
| 16 | nfsv2-y := nfs2super.o proc.o nfs2xdr.o |
Bryan Schumaker | ddda8e0 | 2012-07-30 16:05:23 -0400 | [diff] [blame] | 17 | |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 18 | obj-$(CONFIG_NFS_V3) += nfsv3.o |
| 19 | nfsv3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o |
| 20 | nfsv3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o |
Bryan Schumaker | 1c606fb | 2012-07-30 16:05:24 -0400 | [diff] [blame] | 21 | |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 22 | obj-$(CONFIG_NFS_V4) += nfsv4.o |
Trond Myklebust | c6d01c6 | 2013-08-09 11:51:26 -0400 | [diff] [blame] | 23 | CFLAGS_nfs4trace.o += -I$(src) |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 24 | nfsv4-y := nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o nfs4super.o nfs4file.o \ |
Bryan Schumaker | 89d77c8 | 2012-07-30 16:05:25 -0400 | [diff] [blame] | 25 | delegation.o idmap.o callback.o callback_xdr.o callback_proc.o \ |
Chuck Lever | 9d33059 | 2013-08-09 12:48:44 -0400 | [diff] [blame] | 26 | nfs4namespace.o nfs4getroot.o nfs4client.o nfs4session.o \ |
| 27 | dns_resolve.o nfs4trace.o |
Trond Myklebust | c8d74d9 | 2013-06-01 11:50:58 -0400 | [diff] [blame] | 28 | nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 29 | nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o |
Chuck Lever | 9d33059 | 2013-08-09 12:48:44 -0400 | [diff] [blame] | 30 | nfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o |
Bryan Schumaker | 89d77c8 | 2012-07-30 16:05:25 -0400 | [diff] [blame] | 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/ |