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 | 047092f | 2020-12-11 20:22:04 -0600 | [diff] [blame] | 11 | readdir.o ioctl.o sess.o export.o smb1ops.o unc.o winucase.o \ |
Steve French | 2a38e12 | 2017-07-08 18:48:15 -0500 | [diff] [blame] | 12 | smb2ops.o smb2maperror.o smb2transport.o \ |
Ronnie Sahlberg | a6a9cff | 2020-10-21 10:22:33 +1000 | [diff] [blame] | 13 | smb2misc.o smb2pdu.o smb2inode.o smb2file.o cifsacl.o fs_context.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 | 09fe7ba | 2007-11-03 04:48:29 +0000 | [diff] [blame] | 16 | |
| 17 | cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o |
Steve French | 6103335 | 2008-01-09 16:21:36 +0000 | [diff] [blame] | 18 | |
Paulo Alcantara | 54be1f6 | 2018-11-14 16:01:21 -0200 | [diff] [blame] | 19 | cifs-$(CONFIG_CIFS_DFS_UPCALL) += dns_resolve.o cifs_dfs_ref.o dfs_cache.o |
Suresh Jayaraman | f579cf3 | 2010-07-05 18:11:50 +0530 | [diff] [blame] | 20 | |
Samuel Cabrero | bf80e5d | 2020-11-30 19:02:51 +0100 | [diff] [blame] | 21 | cifs-$(CONFIG_CIFS_SWN_UPCALL) += netlink.o cifs_swn.o |
Samuel Cabrero | 06f08da | 2020-11-30 19:02:49 +0100 | [diff] [blame] | 22 | |
Suresh Jayaraman | 488f1d2d | 2010-07-05 18:12:15 +0530 | [diff] [blame] | 23 | cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o |
Long Li | f198186 | 2017-11-04 18:17:24 -0700 | [diff] [blame] | 24 | |
| 25 | cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o |
Paulo Alcantara (SUSE) | 8eecd1c | 2019-07-16 19:04:50 -0300 | [diff] [blame] | 26 | |
| 27 | cifs-$(CONFIG_CIFS_ROOT) += cifsroot.o |