Makefile 785 B

12345678910111213141516171819202122232425
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for Linux CIFS/SMB2/SMB3 VFS client
  4. #
  5. ccflags-y += -I$(src) # needed for trace events
  6. obj-$(CONFIG_CIFS) += cifs.o
  7. cifs-y := trace.o cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o \
  8. inode.o link.o misc.o netmisc.o smbencrypt.o transport.o asn1.o \
  9. cifs_unicode.o nterr.o cifsencrypt.o \
  10. readdir.o ioctl.o sess.o export.o smb1ops.o winucase.o \
  11. smb2ops.o smb2maperror.o smb2transport.o \
  12. smb2misc.o smb2pdu.o smb2inode.o smb2file.o
  13. cifs-$(CONFIG_CIFS_XATTR) += xattr.o
  14. cifs-$(CONFIG_CIFS_ACL) += cifsacl.o
  15. cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
  16. cifs-$(CONFIG_CIFS_DFS_UPCALL) += dns_resolve.o cifs_dfs_ref.o
  17. cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
  18. cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o