Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061# SPDX-License-Identifier: GPL-2.0## Makefile for the Linux nfs server#
ccflags-y += -I$(src) # needed for trace events
obj-$(CONFIG_NFSD) += nfsd.o
# this one should be compiled first, as the tracing macros can easily blow upnfsd-y += trace.o
nfsd-y += nfssvc.o nfsctl.o nfsfh.o vfs.o \ export.o auth.o lockd.o nfscache.o \ stats.o filecache.o nfs3proc.o nfs3xdr.o \ netlink.onfsd-$(CONFIG_NFSD_V2) += nfsproc.o nfsxdr.o nfs2xdr_gen.onfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.onfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.onfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \ nfs4acl.o nfs4callback.o nfs4recover.o nfs4xdr_gen.onfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.onfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.onfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.onfsd-$(CONFIG_NFSD_FLEXFILELAYOUT) += flexfilelayout.o flexfilelayoutxdr.onfsd-$(CONFIG_NFS_LOCALIO) += localio.onfsd-$(CONFIG_DEBUG_FS) += debugfs.o
## XDR code generation (requires Python and additional packages)## The generated *xdr_gen.{h,c} files are checked into git. Normal kernel# builds do not require the xdrgen tool or its Python dependencies.## Developers modifying .x files in Documentation/sunrpc/xdr/ should run# "make xdrgen" to regenerate the affected files.#.PHONY: xdrgen
XDRGEN_DEFINITIONS = ../../include/linux/sunrpc/xdrgen/nfs2.h \ ../../include/linux/sunrpc/xdrgen/nfs4_1.hXDRGEN_DECLARATIONS = nfs2xdr_gen.h nfs4xdr_gen.hXDRGEN_SOURCE = nfs2xdr_gen.c nfs4xdr_gen.c
xdrgen: $(XDRGEN_DEFINITIONS) $(XDRGEN_DECLARATIONS) $(XDRGEN_SOURCE)
../../include/linux/sunrpc/xdrgen/nfs2.h: ../../Documentation/sunrpc/xdr/nfs2.x ../../tools/net/sunrpc/xdrgen/xdrgen definitions $< > $@../../include/linux/sunrpc/xdrgen/nfs4_1.h: ../../Documentation/sunrpc/xdr/nfs4_1.x ../../tools/net/sunrpc/xdrgen/xdrgen definitions $< > $@
nfs2xdr_gen.h: ../../Documentation/sunrpc/xdr/nfs2.x ../../tools/net/sunrpc/xdrgen/xdrgen declarations $< > $@nfs4xdr_gen.h: ../../Documentation/sunrpc/xdr/nfs4_1.x ../../tools/net/sunrpc/xdrgen/xdrgen declarations $< > $@
nfs2xdr_gen.c: ../../Documentation/sunrpc/xdr/nfs2.x ../../tools/net/sunrpc/xdrgen/xdrgen source $< > $@nfs4xdr_gen.c: ../../Documentation/sunrpc/xdr/nfs4_1.x ../../tools/net/sunrpc/xdrgen/xdrgen source $< > $@