summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-17 15:54:17 +0200
committerGünther Deschner <gd@samba.org>2011-10-17 15:54:17 +0200
commit235f78aa955084c87fbc9f3bc9f556a9811a71c4 (patch)
treedffc098ae57f7d6db1c1ecc7edc846ffed3eea7f
parent329c4d12f9a08d9499f9982076bdd9e614fbdd63 (diff)
downloadsamba-235f78aa955084c87fbc9f3bc9f556a9811a71c4.tar.gz
samba-235f78aa955084c87fbc9f3bc9f556a9811a71c4.tar.bz2
samba-235f78aa955084c87fbc9f3bc9f556a9811a71c4.zip
s3-waf: make sure we always build example auth modules with --enable-developer.
Guenther
-rw-r--r--examples/auth/wscript_build9
-rw-r--r--source3/wscript1
-rwxr-xr-xsource3/wscript_build1
3 files changed, 11 insertions, 0 deletions
diff --git a/examples/auth/wscript_build b/examples/auth/wscript_build
new file mode 100644
index 0000000000..91f5302918
--- /dev/null
+++ b/examples/auth/wscript_build
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+bld.SAMBA3_MODULE('auth_skel',
+ subsystem='auth',
+ source='auth_skel.c',
+ deps='samba-util',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_skel'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_skel'))
diff --git a/source3/wscript b/source3/wscript
index 671785230c..87755ca894 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1639,6 +1639,7 @@ main() {
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_shared_modules.extend(TO_LIST('auth_skel'))
default_static_modules.extend(TO_LIST('pdb_samba4 auth_samba4 vfs_dfs_samba4'))
diff --git a/source3/wscript_build b/source3/wscript_build
index 0e5de86772..2667e328b0 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1406,6 +1406,7 @@ bld.RECURSE('pam_smbpass')
bld.RECURSE('passdb')
bld.RECURSE('rpc_server')
bld.RECURSE('winbindd')
+bld.RECURSE('../examples/auth')
bld.RECURSE('../examples/VFS')