Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the Linux nfs filesystem routines. |
| 4 | # |
| 5 | |
| 6 | obj-$(CONFIG_NFS_FS) += nfs.o |
| 7 | |
Trond Myklebust | f4ce129 | 2013-08-19 18:59:33 -0400 | [diff] [blame] | 8 | CFLAGS_nfstrace.o += -I$(src) |
Bryan Schumaker | 2ba6800 | 2012-05-10 16:47:19 -0400 | [diff] [blame] | 9 | nfs-y := client.o dir.o file.o getroot.o inode.o super.o \ |
Trond Myklebust | a5864c9 | 2016-06-03 17:07:19 -0400 | [diff] [blame] | 10 | io.o direct.o pagelist.o read.o symlink.o unlink.o \ |
Peng Tao | 20fa190 | 2017-06-29 06:34:53 -0700 | [diff] [blame] | 11 | write.o namespace.o mount_clnt.o nfstrace.o export.o |
Chuck Lever | 3ea9730 | 2007-07-01 12:13:27 -0400 | [diff] [blame] | 12 | nfs-$(CONFIG_ROOT_NFS) += nfsroot.o |
Bryan Schumaker | 89d77c8 | 2012-07-30 16:05:25 -0400 | [diff] [blame] | 13 | nfs-$(CONFIG_SYSCTL) += sysctl.o |
David Howells | 1472728 | 2009-04-03 16:42:42 +0100 | [diff] [blame] | 14 | nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o |
Dean Hildebrand | 7ab672c | 2010-10-20 00:18:00 -0400 | [diff] [blame] | 15 | |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 16 | obj-$(CONFIG_NFS_V2) += nfsv2.o |
| 17 | nfsv2-y := nfs2super.o proc.o nfs2xdr.o |
Bryan Schumaker | ddda8e0 | 2012-07-30 16:05:23 -0400 | [diff] [blame] | 18 | |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 19 | obj-$(CONFIG_NFS_V3) += nfsv3.o |
| 20 | nfsv3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o |
| 21 | nfsv3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o |
Bryan Schumaker | 1c606fb | 2012-07-30 16:05:24 -0400 | [diff] [blame] | 22 | |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 23 | obj-$(CONFIG_NFS_V4) += nfsv4.o |
Trond Myklebust | c6d01c6 | 2013-08-09 11:51:26 -0400 | [diff] [blame] | 24 | CFLAGS_nfs4trace.o += -I$(src) |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 25 | nfsv4-y := nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o nfs4super.o nfs4file.o \ |
Anna Schumaker | 7b32038 | 2015-04-15 13:00:06 -0400 | [diff] [blame] | 26 | delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \ |
Chuck Lever | 9d33059 | 2013-08-09 12:48:44 -0400 | [diff] [blame] | 27 | nfs4namespace.o nfs4getroot.o nfs4client.o nfs4session.o \ |
| 28 | dns_resolve.o nfs4trace.o |
Trond Myklebust | c8d74d9 | 2013-06-01 11:50:58 -0400 | [diff] [blame] | 29 | nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o |
bjschuma@gmail.com | 1ae811e | 2012-08-08 13:57:06 -0400 | [diff] [blame] | 30 | nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o |
Tom Haynes | f54bcf2 | 2014-12-11 15:34:59 -0500 | [diff] [blame] | 31 | nfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o pnfs_nfs.o |
Anna Schumaker | 1c6dcbe | 2014-09-26 13:58:48 -0400 | [diff] [blame] | 32 | nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o |
Bryan Schumaker | 89d77c8 | 2012-07-30 16:05:25 -0400 | [diff] [blame] | 33 | |
Tom Haynes | b596872 | 2014-05-12 14:35:52 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/ |
Fred Isaman | 155e752 | 2011-07-30 20:52:39 -0400 | [diff] [blame] | 35 | obj-$(CONFIG_PNFS_BLOCK) += blocklayout/ |
Tom Haynes | d67ae82 | 2014-12-11 17:02:04 -0500 | [diff] [blame] | 36 | obj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += flexfilelayout/ |