summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-26 19:51:40 +0200
committerGünther Deschner <gd@samba.org>2010-09-27 00:39:37 +0200
commitd7d33317c78c0f15b016bd217ae853dc02d71e2d (patch)
tree64e268426a8f9cef1027124f3b5be6ed0544665d /source3/passdb
parentfa8971d90f4f989692e363696b44976d3aae2a65 (diff)
downloadsamba-d7d33317c78c0f15b016bd217ae853dc02d71e2d.tar.gz
samba-d7d33317c78c0f15b016bd217ae853dc02d71e2d.tar.bz2
samba-d7d33317c78c0f15b016bd217ae853dc02d71e2d.zip
s3-waf: move pdb subsystem to pdb/wscript_build.
Guenther
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/wscript_build48
1 files changed, 48 insertions, 0 deletions
diff --git a/source3/passdb/wscript_build b/source3/passdb/wscript_build
new file mode 100644
index 0000000000..17b488a0f7
--- /dev/null
+++ b/source3/passdb/wscript_build
@@ -0,0 +1,48 @@
+#!/usr/bin/env python
+
+PDB_STATIC = ''
+PDB_TDBSAM_SRC = 'pdb_tdb.c'
+PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c'
+PDB_ADS_SRC = 'pdb_ads.c'
+PDB_SMBPASSWD_SRC = 'pdb_smbpasswd.c'
+PDB_WBC_SAM_SRC = 'pdb_wbc_sam.c'
+
+bld.SAMBA_SUBSYSTEM('PDB',
+ source='',
+ deps='''PDB_TDBSAM PDB_LDAP PDB_ADS PDB_SMBPASSWD PDB_WBC_SAM''',
+ vars=locals())
+
+bld.SAMBA_MODULE('PDB_TDBSAM',
+ subsystem='PDB',
+ source=PDB_TDBSAM_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_TDBSAM'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_TDBSAM'))
+
+bld.SAMBA_MODULE('PDB_LDAP',
+ subsystem='PDB',
+ source=PDB_LDAP_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_LDAP'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_LDAP'))
+
+bld.SAMBA_MODULE('PDB_ADS',
+ subsystem='PDB',
+ source=PDB_ADS_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_ADS'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_ADS'))
+
+bld.SAMBA_MODULE('PDB_SMBPASSWD',
+ subsystem='PDB',
+ source=PDB_SMBPASSWD_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_SMBPASSWD'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_SMBPASSWD'))
+
+bld.SAMBA_MODULE('PDB_WBC_SAM',
+ subsystem='PDB',
+ source=PDB_WBC_SAM_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_WBC_SAM'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_WBC_SAM'))