Loading...
1#
2# Makefile for Linux CIFS VFS client
3#
4obj-$(CONFIG_CIFS) += cifs.o
5
6cifs-y := cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o inode.o \
7 link.o misc.o netmisc.o smbencrypt.o transport.o asn1.o \
8 cifs_unicode.o nterr.o xattr.o cifsencrypt.o \
9 readdir.o ioctl.o sess.o export.o smb1ops.o winucase.o
10
11cifs-$(CONFIG_CIFS_ACL) += cifsacl.o
12
13cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
14
15cifs-$(CONFIG_CIFS_DFS_UPCALL) += dns_resolve.o cifs_dfs_ref.o
16
17cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
18
19cifs-$(CONFIG_CIFS_SMB2) += smb2ops.o smb2maperror.o smb2transport.o \
20 smb2misc.o smb2pdu.o smb2inode.o smb2file.o
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Linux CIFS/SMB2/SMB3 VFS client
4#
5ccflags-y += -I$(src) # needed for trace events
6obj-$(CONFIG_CIFS) += cifs.o
7
8cifs-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 \
10 cifs_unicode.o nterr.o cifsencrypt.o \
11 readdir.o ioctl.o sess.o export.o smb1ops.o unc.o winucase.o \
12 smb2ops.o smb2maperror.o smb2transport.o \
13 smb2misc.o smb2pdu.o smb2inode.o smb2file.o cifsacl.o fs_context.o \
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
19
20cifs-$(CONFIG_CIFS_XATTR) += xattr.o
21
22cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
23
24cifs-$(CONFIG_CIFS_DFS_UPCALL) += cifs_dfs_ref.o dfs_cache.o
25
26cifs-$(CONFIG_CIFS_SWN_UPCALL) += netlink.o cifs_swn.o
27
28cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
29
30cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o
31
32cifs-$(CONFIG_CIFS_ROOT) += cifsroot.o