s3-waf: make sure we always build example pdb modules with --enable-developer.
authorGünther Deschner <gd@samba.org>
Mon, 17 Oct 2011 14:08:50 +0000 (16:08 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 17 Oct 2011 15:39:36 +0000 (17:39 +0200)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 17 17:39:36 CEST 2011 on sn-devel-104

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

diff --git a/examples/pdb/wscript_build b/examples/pdb/wscript_build
new file mode 100644 (file)
index 0000000..11d00ba
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+bld.SAMBA3_MODULE('pdb_test',
+                 subsystem='pdb',
+                 source='test.c',
+                 deps='samba-util',
+                 init_function='',
+                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_test'),
+                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_test'))
+
index 87755ca894e2e6b1a9d4d9708d2ad4bc4a8a8264..5746533effc08429a026ce37765e4a963841583b 100644 (file)
@@ -1639,7 +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_shared_modules.extend(TO_LIST('auth_skel pdb_test'))
 
     default_static_modules.extend(TO_LIST('pdb_samba4 auth_samba4 vfs_dfs_samba4'))
 
index 2667e328b07e80b24ac97e6658a34af60b87b23f..6c27ecde191589cffbf620059ba842cc72325f52 100755 (executable)
@@ -1407,6 +1407,7 @@ bld.RECURSE('passdb')
 bld.RECURSE('rpc_server')
 bld.RECURSE('winbindd')
 bld.RECURSE('../examples/auth')
+bld.RECURSE('../examples/pdb')
 bld.RECURSE('../examples/VFS')