xref: /linux/fs/nfs/Makefile (revision ddda8e0aa8b955e20cb80908189bfa154ab54837)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux nfs filesystem routines.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsobj-$(CONFIG_NFS_FS) += nfs.o
61da177e4SLinus Torvalds
72ba68002SBryan Schumakernfs-y 			:= client.o dir.o file.o getroot.o inode.o super.o \
82ba68002SBryan Schumaker			   direct.o pagelist.o read.o symlink.o unlink.o \
9e571cbf1STrond Myklebust			   write.o namespace.o mount_clnt.o \
10e571cbf1STrond Myklebust			   dns_resolve.o cache_lib.o
113ea97309SChuck Levernfs-$(CONFIG_ROOT_NFS)	+= nfsroot.o
121179acc6SBryan Schumakernfs-$(CONFIG_NFS_V3)	+= nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o
13b7fa0554SAndreas Gruenbachernfs-$(CONFIG_NFS_V3_ACL)	+= nfs3acl.o
141da177e4SLinus Torvaldsnfs-$(CONFIG_NFS_V4)	+= nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \
15ce4ef7c0SBryan Schumaker			   nfs4super.o nfs4file.o delegation.o idmap.o \
16f7b422b1SDavid Howells			   callback.o callback_xdr.o callback_proc.o \
17428360d7SBryan Schumaker			   nfs4namespace.o nfs4getroot.o nfs4client.o
18a1eaecbcSBenny Halevynfs-$(CONFIG_NFS_V4_1)	+= pnfs.o pnfs_dev.o
19466bfe7fSBryan Schumaker
20466bfe7fSBryan Schumakerifeq ($(CONFIG_SYSCTL), y)
21466bfe7fSBryan Schumakernfs-y += sysctl.o
22466bfe7fSBryan Schumakernfs-$(CONFIG_NFS_V4) += nfs4sysctl.o
23466bfe7fSBryan Schumakerendif
24466bfe7fSBryan Schumaker
2514727281SDavid Howellsnfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
267ab672ceSDean Hildebrand
27*ddda8e0aSBryan Schumakerobj-$(CONFIG_NFS_V2) += nfs2.o
28*ddda8e0aSBryan Schumakernfs2-y := nfs2super.o proc.o nfs2xdr.o
29*ddda8e0aSBryan Schumaker
307ab672ceSDean Hildebrandobj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o
3116b374caSAndy Adamsonnfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o
32c93407d0SBenny Halevy
33c93407d0SBenny Halevyobj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
34155e7524SFred Isamanobj-$(CONFIG_PNFS_BLOCK) += blocklayout/
35