s3-waf: make sure we always build example auth modules with --enable-developer.
authorGünther Deschner <gd@samba.org>
Mon, 17 Oct 2011 13:54:17 +0000 (15:54 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 17 Oct 2011 13:54:17 +0000 (15:54 +0200)
Guenther

examples/auth/wscript_build [new file with mode: 0644]
source3/wscript
source3/wscript_build

diff --git a/examples/auth/wscript_build b/examples/auth/wscript_build
new file mode 100644 (file)
index 0000000..91f5302
--- /dev/null
@@ -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'))
index 671785230c4b66df5d8e83778ff49fea38384d0b..87755ca894e2e6b1a9d4d9708d2ad4bc4a8a8264 100644 (file)
@@ -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'))
 
index 0e5de86772d60658bdd0f367ffa4da96935a65f2..2667e328b07e80b24ac97e6658a34af60b87b23f 100755 (executable)
@@ -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')