Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the Linux nfs server |
| 4 | # |
| 5 | |
Christoph Hellwig | 31ef83d | 2014-08-16 19:02:22 -0500 | [diff] [blame] | 6 | ccflags-y += -I$(src) # needed for trace events |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_NFSD) += nfsd.o |
| 9 | |
Christoph Hellwig | 31ef83d | 2014-08-16 19:02:22 -0500 | [diff] [blame] | 10 | # this one should be compiled first, as the tracing macros can easily blow up |
| 11 | nfsd-y += trace.o |
| 12 | |
Jeff Layton | 2f3a4b2 | 2022-10-18 07:47:56 -0400 | [diff] [blame] | 13 | nfsd-y += nfssvc.o nfsctl.o nfsfh.o vfs.o \ |
| 14 | export.o auth.o lockd.o nfscache.o \ |
Lorenzo Bianconi | 13727f8 | 2023-09-11 14:49:44 +0200 | [diff] [blame] | 15 | stats.o filecache.o nfs3proc.o nfs3xdr.o \ |
| 16 | netlink.o |
Jeff Layton | 2f3a4b2 | 2022-10-18 07:47:56 -0400 | [diff] [blame] | 17 | nfsd-$(CONFIG_NFSD_V2) += nfsproc.o nfsxdr.o |
Andreas Gruenbacher | a257cdd | 2005-06-22 17:16:26 +0000 | [diff] [blame] | 18 | nfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o |
Andreas Gruenbacher | a257cdd | 2005-06-22 17:16:26 +0000 | [diff] [blame] | 19 | nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \ |
NeilBrown | a55370a | 2005-06-23 22:03:52 -0700 | [diff] [blame] | 21 | nfs4acl.o nfs4callback.o nfs4recover.o |
Christoph Hellwig | 81c3932 | 2016-03-04 20:46:16 +0100 | [diff] [blame] | 22 | nfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o |
| 23 | nfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.o |
Christoph Hellwig | f99d4fb | 2016-03-04 20:46:17 +0100 | [diff] [blame] | 24 | nfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.o |
Tom Haynes | 9b9960a | 2016-06-14 13:41:28 -0700 | [diff] [blame] | 25 | nfsd-$(CONFIG_NFSD_FLEXFILELAYOUT) += flexfilelayout.o flexfilelayoutxdr.o |