blob: b8736a82e57c4777b06745cac6d1d7f658ba1888 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the Linux nfs server
4#
5
Christoph Hellwig31ef83d2014-08-16 19:02:22 -05006ccflags-y += -I$(src) # needed for trace events
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-$(CONFIG_NFSD) += nfsd.o
9
Christoph Hellwig31ef83d2014-08-16 19:02:22 -050010# this one should be compiled first, as the tracing macros can easily blow up
11nfsd-y += trace.o
12
Jeff Layton2f3a4b22022-10-18 07:47:56 -040013nfsd-y += nfssvc.o nfsctl.o nfsfh.o vfs.o \
14 export.o auth.o lockd.o nfscache.o \
Lorenzo Bianconi13727f82023-09-11 14:49:44 +020015 stats.o filecache.o nfs3proc.o nfs3xdr.o \
16 netlink.o
Jeff Layton2f3a4b22022-10-18 07:47:56 -040017nfsd-$(CONFIG_NFSD_V2) += nfsproc.o nfsxdr.o
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +000018nfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +000019nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \
NeilBrowna55370a2005-06-23 22:03:52 -070021 nfs4acl.o nfs4callback.o nfs4recover.o
Christoph Hellwig81c39322016-03-04 20:46:16 +010022nfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o
23nfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.o
Christoph Hellwigf99d4fb2016-03-04 20:46:17 +010024nfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.o
Tom Haynes9b9960a2016-06-14 13:41:28 -070025nfsd-$(CONFIG_NFSD_FLEXFILELAYOUT) += flexfilelayout.o flexfilelayoutxdr.o