blob: 5f5d3a76980c02725018555e7c8f239dfb59f228 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux nfs server
3#
4
Christoph Hellwig31ef83d2014-08-16 19:02:22 -05005ccflags-y += -I$(src) # needed for trace events
6
Linus Torvalds1da177e2005-04-16 15:20:36 -07007obj-$(CONFIG_NFSD) += nfsd.o
8
Christoph Hellwig31ef83d2014-08-16 19:02:22 -05009# this one should be compiled first, as the tracing macros can easily blow up
10nfsd-y += trace.o
11
12nfsd-y += nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 export.o auth.o lockd.o nfscache.o nfsxdr.o stats.o
Bryan Schumaker65178db2011-11-01 13:35:21 -040014nfsd-$(CONFIG_NFSD_FAULT_INJECTION) += fault_inject.o
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +000015nfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016nfsd-$(CONFIG_NFSD_V3) += nfs3proc.o nfs3xdr.o
Andreas Gruenbachera257cdd2005-06-22 17:16:26 +000017nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \
NeilBrowna55370a2005-06-23 22:03:52 -070019 nfs4acl.o nfs4callback.o nfs4recover.o
Christoph Hellwig81c39322016-03-04 20:46:16 +010020nfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o
21nfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.o
Christoph Hellwigf99d4fb2016-03-04 20:46:17 +010022nfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.o
Tom Haynes9b9960a2016-06-14 13:41:28 -070023nfsd-$(CONFIG_NFSD_FLEXFILELAYOUT) += flexfilelayout.o flexfilelayoutxdr.o