Makefile 883 B

123456789101112131415161718192021222324
  1. #
  2. # Makefile for the Linux nfs server
  3. #
  4. ccflags-y += -I$(src) # needed for trace events
  5. obj-$(CONFIG_NFSD) += nfsd.o
  6. # this one should be compiled first, as the tracing macros can easily blow up
  7. nfsd-y += trace.o
  8. nfsd-y += nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \
  9. export.o auth.o lockd.o nfscache.o nfsxdr.o stats.o
  10. nfsd-$(CONFIG_NFSD_FAULT_INJECTION) += fault_inject.o
  11. nfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o
  12. nfsd-$(CONFIG_NFSD_V3) += nfs3proc.o nfs3xdr.o
  13. nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o
  14. nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \
  15. nfs4acl.o nfs4callback.o nfs4recover.o
  16. nfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o
  17. nfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.o
  18. nfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.o
  19. nfsd-$(CONFIG_NFSD_FLEXFILELAYOUT) += flexfilelayout.o flexfilelayoutxdr.o