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 \ |
Hyunchul Lee | 0475c36 | 2021-06-08 23:53:14 +0900 | [diff] [blame] | 9 | inode.o link.o misc.o netmisc.o smbencrypt.o transport.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 \ |
Shyam Prasad N | 4e456b3 | 2021-03-31 14:35:24 +0000 | [diff] [blame] | 13 | smb2misc.o smb2pdu.o smb2inode.o smb2file.o cifsacl.o fs_context.o \ |
Hyunchul Lee | 0475c36 | 2021-06-08 23:53:14 +0900 | [diff] [blame] | 14 | dns_resolve.o cifs_spnego_negtokeninit.asn1.o asn1.o |
| 15 | |
| 16 | $(obj)/asn1.o: $(obj)/cifs_spnego_negtokeninit.asn1.h |
| 17 | |
| 18 | $(obj)/cifs_spnego_negtokeninit.asn1.o: $(obj)/cifs_spnego_negtokeninit.asn1.c $(obj)/cifs_spnego_negtokeninit.asn1.h |
Jeff Layton | 79df1ba | 2010-12-06 12:52:08 -0500 | [diff] [blame] | 19 | |
Andreas Gruenbacher | a9ae008 | 2016-04-22 12:11:38 +0200 | [diff] [blame] | 20 | cifs-$(CONFIG_CIFS_XATTR) += xattr.o |
Jeff Layton | 09fe7ba | 2007-11-03 04:48:29 +0000 | [diff] [blame] | 21 | |
| 22 | cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o |
Steve French | 6103335 | 2008-01-09 16:21:36 +0000 | [diff] [blame] | 23 | |
Shyam Prasad N | 4e456b3 | 2021-03-31 14:35:24 +0000 | [diff] [blame] | 24 | cifs-$(CONFIG_CIFS_DFS_UPCALL) += cifs_dfs_ref.o dfs_cache.o |
Suresh Jayaraman | f579cf3 | 2010-07-05 18:11:50 +0530 | [diff] [blame] | 25 | |
Samuel Cabrero | bf80e5d | 2020-11-30 19:02:51 +0100 | [diff] [blame] | 26 | cifs-$(CONFIG_CIFS_SWN_UPCALL) += netlink.o cifs_swn.o |
Samuel Cabrero | 06f08da | 2020-11-30 19:02:49 +0100 | [diff] [blame] | 27 | |
Suresh Jayaraman | 488f1d2d | 2010-07-05 18:12:15 +0530 | [diff] [blame] | 28 | cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o |
Long Li | f198186 | 2017-11-04 18:17:24 -0700 | [diff] [blame] | 29 | |
| 30 | cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o |
Paulo Alcantara (SUSE) | 8eecd1c | 2019-07-16 19:04:50 -0300 | [diff] [blame] | 31 | |
| 32 | cifs-$(CONFIG_CIFS_ROOT) += cifsroot.o |