1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Makefile for Linux SMB3 kernel server
5 obj-
$(CONFIG_SMB_SERVER
) += ksmbd.o
7 ksmbd-y
:= unicode.o auth.o vfs.o vfs_cache.o server.o ndr.o \
8 misc.o oplock.o connection.o ksmbd_work.o crypto_ctx.o \
9 mgmt
/ksmbd_ida.o mgmt
/user_config.o mgmt
/share_config.o \
10 mgmt
/tree_connect.o mgmt
/user_session.o smb_common.o \
11 transport_tcp.o transport_ipc.o smbacl.o smb2pdu.o \
12 smb2ops.o smb2misc.o ksmbd_spnego_negtokeninit.asn1.o \
13 ksmbd_spnego_negtokentarg.asn1.o asn1.o
15 $(obj
)/asn1.o
: $(obj
)/ksmbd_spnego_negtokeninit.asn1.h
$(obj
)/ksmbd_spnego_negtokentarg.asn1.h
17 $(obj
)/ksmbd_spnego_negtokeninit.asn1.o
: $(obj
)/ksmbd_spnego_negtokeninit.asn1.c
$(obj
)/ksmbd_spnego_negtokeninit.asn1.h
18 $(obj
)/ksmbd_spnego_negtokentarg.asn1.o
: $(obj
)/ksmbd_spnego_negtokentarg.asn1.c
$(obj
)/ksmbd_spnego_negtokentarg.asn1.h
20 ksmbd-
$(CONFIG_SMB_SERVER_SMBDIRECT
) += transport_rdma.o