1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the Linux nfs filesystem routin 2 # Makefile for the Linux nfs filesystem routines. 4 # 3 # >> 4 # Note! Dependencies are done automagically by 'make dep', which also >> 5 # removes any old dependencies. DON'T put your own dependencies here >> 6 # unless it's something special (not a .c file). >> 7 # >> 8 # Note 2! The CFLAGS definitions are now in the main makefile. 5 9 6 obj-$(CONFIG_NFS_FS) += nfs.o !! 10 O_TARGET := nfs.o 7 << 8 CFLAGS_nfstrace.o += -I$(src) << 9 nfs-y := client.o dir.o file << 10 io.o direct.o pagel << 11 write.o namespace.o << 12 export.o sysfs.o fs << 13 nfs-$(CONFIG_ROOT_NFS) += nfsroot.o << 14 nfs-$(CONFIG_SYSCTL) += sysctl.o << 15 nfs-$(CONFIG_NFS_FSCACHE) += fscache.o << 16 nfs-$(CONFIG_NFS_LOCALIO) += localio.o << 17 11 18 obj-$(CONFIG_NFS_V2) += nfsv2.o !! 12 obj-y := dir.o file.o flushd.o inode.o nfs2xdr.o pagelist.o proc.o \ 19 nfsv2-y := nfs2super.o proc.o nfs2xdr.o !! 13 read.o symlink.o unlink.o write.o 20 14 21 obj-$(CONFIG_NFS_V3) += nfsv3.o !! 15 obj-$(CONFIG_ROOT_NFS) += nfsroot.o mount_clnt.o 22 nfsv3-y := nfs3super.o nfs3client.o nfs3proc.o !! 16 obj-$(CONFIG_NFS_V3) += nfs3proc.o nfs3xdr.o 23 nfsv3-$(CONFIG_NFS_V3_ACL) += nfs3acl.o !! 17 obj-$(CONFIG_NFS_DIRECTIO) += direct.o 24 18 25 obj-$(CONFIG_NFS_V4) += nfsv4.o !! 19 obj-m := $(O_TARGET) 26 CFLAGS_nfs4trace.o += -I$(src) << 27 nfsv4-y := nfs4proc.o nfs4xdr.o nfs4state.o nf << 28 delegation.o nfs4idmap.o callback.o << 29 nfs4namespace.o nfs4getroot.o nfs4cl << 30 dns_resolve.o nfs4trace.o << 31 nfsv4-$(CONFIG_NFS_USE_LEGACY_DNS) += cache_li << 32 nfsv4-$(CONFIG_SYSCTL) += nfs4sysctl.o << 33 nfsv4-$(CONFIG_NFS_V4_1) += pnfs.o pnfs << 34 nfsv4-$(CONFIG_NFS_V4_2) += nfs42proc.o << 35 20 36 obj-$(CONFIG_PNFS_FILE_LAYOUT) += filelayout/ !! 21 include $(TOPDIR)/Rules.make 37 obj-$(CONFIG_PNFS_BLOCK) += blocklayout/ << 38 obj-$(CONFIG_PNFS_FLEXFILE_LAYOUT) += flexfile <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.