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 | # |
Steve French | eccb442 | 2018-05-17 21:16:55 -0500 | [diff] [blame] | 3 | # Makefile for Linux CIFS/SMB2/SMB3 VFS client |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | # |
Steve French | eccb442 | 2018-05-17 21:16:55 -0500 | [diff] [blame] | 5 | ccflags-y += -I$(src) # needed for trace events |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | obj-$(CONFIG_CIFS) += cifs.o |
| 7 | |
Steve French | eccb442 | 2018-05-17 21:16:55 -0500 | [diff] [blame] | 8 | cifs-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 Gruenbacher | a9ae008 | 2016-04-22 12:11:38 +0200 | [diff] [blame] | 10 | cifs_unicode.o nterr.o cifsencrypt.o \ |
Steve French | 2a38e12 | 2017-07-08 18:48:15 -0500 | [diff] [blame] | 11 | readdir.o ioctl.o sess.o export.o smb1ops.o winucase.o \ |
| 12 | smb2ops.o smb2maperror.o smb2transport.o \ |
| 13 | smb2misc.o smb2pdu.o smb2inode.o smb2file.o |
Jeff Layton | 79df1ba | 2010-12-06 12:52:08 -0500 | [diff] [blame] | 14 | |
Andreas Gruenbacher | a9ae008 | 2016-04-22 12:11:38 +0200 | [diff] [blame] | 15 | cifs-$(CONFIG_CIFS_XATTR) += xattr.o |
Jeff Layton | 79df1ba | 2010-12-06 12:52:08 -0500 | [diff] [blame] | 16 | cifs-$(CONFIG_CIFS_ACL) += cifsacl.o |
Jeff Layton | 09fe7ba | 2007-11-03 04:48:29 +0000 | [diff] [blame] | 17 | |
| 18 | cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o |
Steve French | 6103335 | 2008-01-09 16:21:36 +0000 | [diff] [blame] | 19 | |
Igor Mammedov | 6d5ae0d | 2008-01-25 03:28:31 +0000 | [diff] [blame] | 20 | cifs-$(CONFIG_CIFS_DFS_UPCALL) += dns_resolve.o cifs_dfs_ref.o |
Suresh Jayaraman | f579cf3 | 2010-07-05 18:11:50 +0530 | [diff] [blame] | 21 | |
Suresh Jayaraman | 488f1d2d | 2010-07-05 18:12:15 +0530 | [diff] [blame] | 22 | cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o |
Long Li | f198186 | 2017-11-04 18:17:24 -0700 | [diff] [blame] | 23 | |
| 24 | cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o |