summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/VFS/wscript_build25
-rw-r--r--source3/wscript1
-rwxr-xr-xsource3/wscript_build1
3 files changed, 27 insertions, 0 deletions
diff --git a/examples/VFS/wscript_build b/examples/VFS/wscript_build
new file mode 100644
index 0000000000..92fea70114
--- /dev/null
+++ b/examples/VFS/wscript_build
@@ -0,0 +1,25 @@
+#!/usr/bin/env python
+
+bld.SAMBA3_MODULE('vfs_skel_opaque',
+ subsystem='vfs',
+ source='skel_opaque.c',
+ deps='samba-util',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_skel_opaque'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_skel_opaque'))
+
+bld.SAMBA3_MODULE('vfs_skel_transparent',
+ subsystem='vfs',
+ source='skel_transparent.c',
+ deps='samba-util',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_skel_transparent'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_skel_transparent'))
+
+bld.SAMBA3_MODULE('vfs_shadow_copy_test',
+ subsystem='vfs',
+ source='shadow_copy_test.c',
+ deps='samba-util',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy_test'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy_test'))
diff --git a/source3/wscript b/source3/wscript
index 4432585ae0..47ef847208 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1638,6 +1638,7 @@ main() {
if Options.options.developer:
default_static_modules.extend(TO_LIST('pdb_ads auth_netlogond charset_weird'))
default_shared_modules.extend(TO_LIST('perfcount_test'))
+ default_shared_modules.extend(TO_LIST('vfs_skel_opaque vfs_skel_transparent vfs_shadow_copy_test'))
default_static_modules.extend(TO_LIST('pdb_samba4 auth_samba4 vfs_dfs_samba4'))
diff --git a/source3/wscript_build b/source3/wscript_build
index ee49b0e39d..a72a12db6c 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1398,6 +1398,7 @@ bld.RECURSE('pam_smbpass')
bld.RECURSE('passdb')
bld.RECURSE('rpc_server')
bld.RECURSE('winbindd')
+bld.RECURSE('../examples/VFS')
bld.ENFORCE_GROUP_ORDERING()