summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/wscript_build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:47:29 +0000
commit4f5791ebd03eaec1c7da0865a383175b05102712 (patch)
tree8ce7b00f7a76baa386372422adebbe64510812d4 /source4/smb_server/wscript_build
parentInitial commit. (diff)
downloadsamba-4f5791ebd03eaec1c7da0865a383175b05102712.tar.xz
samba-4f5791ebd03eaec1c7da0865a383175b05102712.zip
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'source4/smb_server/wscript_build')
-rw-r--r--source4/smb_server/wscript_build21
1 files changed, 21 insertions, 0 deletions
diff --git a/source4/smb_server/wscript_build b/source4/smb_server/wscript_build
new file mode 100644
index 0000000..0ae499e
--- /dev/null
+++ b/source4/smb_server/wscript_build
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+
+bld.SAMBA_MODULE('service_smb',
+ source='service_smb.c',
+ autoproto='service_smb_proto.h',
+ subsystem='service',
+ init_function='server_service_smb_init',
+ deps='SMB_SERVER netif shares samba-hostconfig cmdline',
+ internal_module=False,
+ enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER')
+ )
+
+bld.SAMBA_SUBSYSTEM('SMB_SERVER',
+ source='handle.c tcon.c session.c blob.c management.c smb_server.c',
+ autoproto='smb_server_proto.h',
+ public_deps='share LIBPACKET SMB_PROTOCOL SMB2_PROTOCOL',
+ enabled=bld.CONFIG_SET('WITH_NTVFS_FILESERVER')
+ )
+
+bld.RECURSE('smb')
+bld.RECURSE('smb2')