xref: /openbmc/linux/fs/nfsd/Makefile (revision 9b9960a0)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux nfs server
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
531ef83dcSChristoph Hellwigccflags-y += -I$(src)			# needed for trace events
631ef83dcSChristoph Hellwig
71da177e4SLinus Torvaldsobj-$(CONFIG_NFSD)	+= nfsd.o
81da177e4SLinus Torvalds
931ef83dcSChristoph Hellwig# this one should be compiled first, as the tracing macros can easily blow up
1031ef83dcSChristoph Hellwignfsd-y			+= trace.o
1131ef83dcSChristoph Hellwig
1231ef83dcSChristoph Hellwignfsd-y 			+= nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \
131da177e4SLinus Torvalds			   export.o auth.o lockd.o nfscache.o nfsxdr.o stats.o
1465178db4SBryan Schumakernfsd-$(CONFIG_NFSD_FAULT_INJECTION) += fault_inject.o
15a257cdd0SAndreas Gruenbachernfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o
161da177e4SLinus Torvaldsnfsd-$(CONFIG_NFSD_V3)	+= nfs3proc.o nfs3xdr.o
17a257cdd0SAndreas Gruenbachernfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o
181da177e4SLinus Torvaldsnfsd-$(CONFIG_NFSD_V4)	+= nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \
19a55370a3SNeilBrown			   nfs4acl.o nfs4callback.o nfs4recover.o
2081c39329SChristoph Hellwignfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o
2181c39329SChristoph Hellwignfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.o
22f99d4fbdSChristoph Hellwignfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.o
239b9960a0STom Haynesnfsd-$(CONFIG_NFSD_FLEXFILELAYOUT) += flexfilelayout.o flexfilelayoutxdr.o
24