blob: 87fcacdf3de73a52ba97738711808b6e91a44007 [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 \
Hyunchul Lee0475c362021-06-08 23:53:14 +09009 inode.o link.o misc.o netmisc.o smbencrypt.o transport.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 \
Shyam Prasad N4e456b32021-03-31 14:35:24 +000013 smb2misc.o smb2pdu.o smb2inode.o smb2file.o cifsacl.o fs_context.o \
Hyunchul Lee0475c362021-06-08 23:53:14 +090014 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 Layton79df1ba2010-12-06 12:52:08 -050019
Andreas Gruenbachera9ae0082016-04-22 12:11:38 +020020cifs-$(CONFIG_CIFS_XATTR) += xattr.o
Jeff Layton09fe7ba2007-11-03 04:48:29 +000021
22cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
Steve French61033352008-01-09 16:21:36 +000023
Shyam Prasad N4e456b32021-03-31 14:35:24 +000024cifs-$(CONFIG_CIFS_DFS_UPCALL) += cifs_dfs_ref.o dfs_cache.o
Suresh Jayaramanf579cf32010-07-05 18:11:50 +053025
Samuel Cabrerobf80e5d2020-11-30 19:02:51 +010026cifs-$(CONFIG_CIFS_SWN_UPCALL) += netlink.o cifs_swn.o
Samuel Cabrero06f08da2020-11-30 19:02:49 +010027
Suresh Jayaraman488f1d2d2010-07-05 18:12:15 +053028cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
Long Lif1981862017-11-04 18:17:24 -070029
30cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o
Paulo Alcantara (SUSE)8eecd1c2019-07-16 19:04:50 -030031
32cifs-$(CONFIG_CIFS_ROOT) += cifsroot.o