1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the Linux nfs filesystem routines. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvaldsobj-$(CONFIG_NFS_FS) += nfs.o 71da177e4SLinus Torvalds 8f4ce1299STrond MyklebustCFLAGS_nfstrace.o += -I$(src) 92ba68002SBryan Schumakernfs-y := client.o dir.o file.o getroot.o inode.o super.o \ 10a5864c99STrond Myklebust io.o direct.o pagelist.o read.o symlink.o unlink.o \ 11996bc4f4STrond Myklebust write.o namespace.o mount_clnt.o nfstrace.o \ 129954bf92SDavid Howells export.o sysfs.o fs_context.o 133ea97309SChuck Levernfs-$(CONFIG_ROOT_NFS) += nfsroot.o 1489d77c8fSBryan Schumakernfs-$(CONFIG_SYSCTL) += sysctl.o 15*a6b5a28eSDave Wysochanskinfs-$(CONFIG_NFS_FSCACHE) += fscache.o 167ab672ceSDean Hildebrand 171ae811eeSbjschuma@gmail.comobj-$(CONFIG_NFS_V2) += nfsv2.o 181ae811eeSbjschuma@gmail.comnfsv2-y := nfs2super.o proc.o nfs2xdr.o 19ddda8e0aSBryan Schumaker 201ae811eeSbjschuma@gmail.comobj-$(CONFIG_NFS_V3) += nfsv3.o 211ae811eeSbjschuma@gmail.comnfsv3-y := nfs3super.o nfs3client.o nfs3proc.o nfs3xdr.o 221ae811eeSbjschuma@gmail.comnfsv3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o 231c606fb7SBryan Schumaker 241ae811eeSbjschuma@gmail.comobj-$(CONFIG_NFS_V4) += nfsv4.o 25c6d01c6fSTrond MyklebustCFLAGS_nfs4trace.o += -I$(src) 261ae811eeSbjschuma@gmail.comnfsv4-y := nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o nfs4super.o nfs4file.o \ 277b320382SAnna Schumaker delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \ 289d33059cSChuck Lever nfs4namespace.o nfs4getroot.o nfs4client.o nfs4session.o \ 299d33059cSChuck Lever dns_resolve.o nfs4trace.o 30c8d74d9bSTrond Myklebustnfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_lib.o 311ae811eeSbjschuma@gmail.comnfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o 32f54bcf2eSTom Haynesnfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o pnfs_nfs.o 3395ad37f9SFrank van der Lindennfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o nfs42xattr.o 3489d77c8fSBryan Schumaker 35b5968725STom Haynesobj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/ 36155e7524SFred Isamanobj-$(CONFIG_PNFS_BLOCK) += blocklayout/ 37d67ae825STom Haynesobj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += flexfilelayout/ 38