xref: /openbmc/linux/fs/nfs/Makefile (revision 1c606fb7)
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
121da177e4SLinus Torvaldsnfs-$(CONFIG_NFS_V4)	+= nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \
13ce4ef7c0SBryan Schumaker			   nfs4super.o nfs4file.o delegation.o idmap.o \
14f7b422b1SDavid Howells			   callback.o callback_xdr.o callback_proc.o \
15428360d7SBryan Schumaker			   nfs4namespace.o nfs4getroot.o nfs4client.o
16a1eaecbcSBenny Halevynfs-$(CONFIG_NFS_V4_1)	+= pnfs.o pnfs_dev.o
17466bfe7fSBryan Schumaker
18466bfe7fSBryan Schumakerifeq ($(CONFIG_SYSCTL), y)
19466bfe7fSBryan Schumakernfs-y += sysctl.o
20466bfe7fSBryan Schumakernfs-$(CONFIG_NFS_V4) += nfs4sysctl.o
21466bfe7fSBryan Schumakerendif
22466bfe7fSBryan Schumaker
2314727281SDavid Howellsnfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
247ab672ceSDean Hildebrand
25ddda8e0aSBryan Schumakerobj-$(CONFIG_NFS_V2) += nfs2.o
26ddda8e0aSBryan Schumakernfs2-y := nfs2super.o proc.o nfs2xdr.o
27ddda8e0aSBryan Schumaker
28*1c606fb7SBryan Schumakerobj-$(CONFIG_NFS_V3) += nfs3.o
29*1c606fb7SBryan Schumakernfs3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o
30*1c606fb7SBryan Schumakernfs3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o
31*1c606fb7SBryan Schumaker
327ab672ceSDean Hildebrandobj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o
3316b374caSAndy Adamsonnfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o
34c93407d0SBenny Halevy
35c93407d0SBenny Halevyobj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
36155e7524SFred Isamanobj-$(CONFIG_PNFS_BLOCK) += blocklayout/
37