Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux nfs filesystem routines. |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_NFS_FS) += nfs.o |
| 6 | |
| 7 | CFLAGS_nfstrace.o += -I$(src) |
| 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 \ |
| 10 | write.o namespace.o mount_clnt.o nfstrace.o |
| 11 | nfs-$(CONFIG_ROOT_NFS) += nfsroot.o |
| 12 | nfs-$(CONFIG_SYSCTL) += sysctl.o |
| 13 | nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o |
| 14 | |
| 15 | obj-$(CONFIG_NFS_V2) += nfsv2.o |
| 16 | nfsv2-y := nfs2super.o proc.o nfs2xdr.o |
| 17 | |
| 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 |
| 21 | |
| 22 | obj-$(CONFIG_NFS_V4) += nfsv4.o |
| 23 | CFLAGS_nfs4trace.o += -I$(src) |
| 24 | nfsv4-y := nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o nfs4super.o nfs4file.o \ |
| 25 | delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \ |
| 26 | nfs4namespace.o nfs4getroot.o nfs4client.o nfs4session.o \ |
| 27 | dns_resolve.o nfs4trace.o |
| 28 | nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o |
| 29 | nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o |
| 30 | nfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o pnfs_nfs.o |
| 31 | nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o |
| 32 | |
| 33 | obj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/ |
| 34 | obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/ |
| 35 | obj-$(CONFIG_PNFS_BLOCK) += blocklayout/ |
| 36 | obj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += flexfilelayout/ |