blob: 5213b20843b500d68c7283015437800c1012823d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
Steve Frencheccb4422018-05-17 21:16:55 -05003# Makefile for Linux CIFS/SMB2/SMB3 VFS client
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#
Steve Frencheccb4422018-05-17 21:16:55 -05005ccflags-y += -I$(src) # needed for trace events
Linus Torvalds1da177e2005-04-16 15:20:36 -07006obj-$(CONFIG_CIFS) += cifs.o
7
Steve Frencheccb4422018-05-17 21:16:55 -05008cifs-y := trace.o cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o \
9 inode.o link.o misc.o netmisc.o smbencrypt.o transport.o asn1.o \
Andreas Gruenbachera9ae0082016-04-22 12:11:38 +020010 cifs_unicode.o nterr.o cifsencrypt.o \
Steve French047092f2020-12-11 20:22:04 -060011 readdir.o ioctl.o sess.o export.o smb1ops.o unc.o winucase.o \
Steve French2a38e122017-07-08 18:48:15 -050012 smb2ops.o smb2maperror.o smb2transport.o \
Ronnie Sahlberga6a9cff2020-10-21 10:22:33 +100013 smb2misc.o smb2pdu.o smb2inode.o smb2file.o cifsacl.o fs_context.o
Jeff Layton79df1ba2010-12-06 12:52:08 -050014
Andreas Gruenbachera9ae0082016-04-22 12:11:38 +020015cifs-$(CONFIG_CIFS_XATTR) += xattr.o
Jeff Layton09fe7ba2007-11-03 04:48:29 +000016
17cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
Steve French61033352008-01-09 16:21:36 +000018
Paulo Alcantara54be1f62018-11-14 16:01:21 -020019cifs-$(CONFIG_CIFS_DFS_UPCALL) += dns_resolve.o cifs_dfs_ref.o dfs_cache.o
Suresh Jayaramanf579cf32010-07-05 18:11:50 +053020
Samuel Cabrerobf80e5d2020-11-30 19:02:51 +010021cifs-$(CONFIG_CIFS_SWN_UPCALL) += netlink.o cifs_swn.o
Samuel Cabrero06f08da2020-11-30 19:02:49 +010022
Suresh Jayaraman488f1d2d2010-07-05 18:12:15 +053023cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
Long Lif1981862017-11-04 18:17:24 -070024
25cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o
Paulo Alcantara (SUSE)8eecd1c2019-07-16 19:04:50 -030026
27cifs-$(CONFIG_CIFS_ROOT) += cifsroot.o