Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux nfs server |
| 3 | # |
| 4 | |
Christoph Hellwig | 31ef83d | 2014-08-16 19:02:22 -0500 | [diff] [blame] | 5 | ccflags-y += -I$(src) # needed for trace events |
| 6 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | obj-$(CONFIG_NFSD) += nfsd.o |
| 8 | |
Christoph Hellwig | 31ef83d | 2014-08-16 19:02:22 -0500 | [diff] [blame] | 9 | # this one should be compiled first, as the tracing macros can easily blow up |
| 10 | nfsd-y += trace.o |
| 11 | |
| 12 | nfsd-y += nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | export.o auth.o lockd.o nfscache.o nfsxdr.o stats.o |
Bryan Schumaker | 65178db | 2011-11-01 13:35:21 -0400 | [diff] [blame] | 14 | nfsd-$(CONFIG_NFSD_FAULT_INJECTION) += fault_inject.o |
Andreas Gruenbacher | a257cdd | 2005-06-22 17:16:26 +0000 | [diff] [blame] | 15 | nfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | nfsd-$(CONFIG_NFSD_V3) += nfs3proc.o nfs3xdr.o |
Andreas Gruenbacher | a257cdd | 2005-06-22 17:16:26 +0000 | [diff] [blame] | 17 | nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \ |
NeilBrown | a55370a | 2005-06-23 22:03:52 -0700 | [diff] [blame] | 19 | nfs4acl.o nfs4callback.o nfs4recover.o |
Christoph Hellwig | 81c3932 | 2016-03-04 20:46:16 +0100 | [diff] [blame] | 20 | nfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o |
| 21 | nfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.o |
Christoph Hellwig | f99d4fb | 2016-03-04 20:46:17 +0100 | [diff] [blame^] | 22 | nfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.o |