summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-11 19:20:05 +0200
committerGünther Deschner <gd@samba.org>2011-10-11 21:22:55 +0200
commit49eba95b2bd95d7ea3c1a0266fa9071761510765 (patch)
tree467fe07e1a11aca130c4eb04aad47761c2709072
parentd6cb58e18d7f8f133859b000ab90ea2a3b79e48d (diff)
downloadsamba-49eba95b2bd95d7ea3c1a0266fa9071761510765.tar.gz
samba-49eba95b2bd95d7ea3c1a0266fa9071761510765.tar.bz2
samba-49eba95b2bd95d7ea3c1a0266fa9071761510765.zip
s3-waf: make sure we build example vfs modules with --enable-developer.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104
-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()