xref: /openbmc/linux/fs/nfs/Makefile (revision c8d74d9b)
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 \
9c8d74d9bSTrond Myklebust			   write.o namespace.o mount_clnt.o
103ea97309SChuck Levernfs-$(CONFIG_ROOT_NFS)	+= nfsroot.o
1189d77c8fSBryan Schumakernfs-$(CONFIG_SYSCTL)	+= sysctl.o
1214727281SDavid Howellsnfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
137ab672ceSDean Hildebrand
141ae811eeSbjschuma@gmail.comobj-$(CONFIG_NFS_V2) += nfsv2.o
151ae811eeSbjschuma@gmail.comnfsv2-y := nfs2super.o proc.o nfs2xdr.o
16ddda8e0aSBryan Schumaker
171ae811eeSbjschuma@gmail.comobj-$(CONFIG_NFS_V3) += nfsv3.o
181ae811eeSbjschuma@gmail.comnfsv3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o
191ae811eeSbjschuma@gmail.comnfsv3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o
201c606fb7SBryan Schumaker
211ae811eeSbjschuma@gmail.comobj-$(CONFIG_NFS_V4) += nfsv4.o
221ae811eeSbjschuma@gmail.comnfsv4-y := nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o nfs4super.o nfs4file.o \
2389d77c8fSBryan Schumaker	  delegation.o idmap.o callback.o callback_xdr.o callback_proc.o \
24c8d74d9bSTrond Myklebust	  nfs4namespace.o nfs4getroot.o nfs4client.o dns_resolve.o
25c8d74d9bSTrond Myklebustnfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o
261ae811eeSbjschuma@gmail.comnfsv4-$(CONFIG_SYSCTL)	+= nfs4sysctl.o
2773e39aaaSTrond Myklebustnfsv4-$(CONFIG_NFS_V4_1)	+= nfs4session.o pnfs.o pnfs_dev.o
2889d77c8fSBryan Schumaker
297ab672ceSDean Hildebrandobj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o
3016b374caSAndy Adamsonnfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o
31c93407d0SBenny Halevy
32c93407d0SBenny Halevyobj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
33155e7524SFred Isamanobj-$(CONFIG_PNFS_BLOCK) += blocklayout/
34