summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/wscript_build
diff options
context:
space:
mode:
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')