blob: 9a6028e120c68bce8adf15456b39382eab3b6a7c [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 Hellwig8650b8a2015-01-21 11:40:00 +010020nfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o blocklayout.o blocklayoutxdr.o