summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-26 21:22:02 +0200
committerGünther Deschner <gd@samba.org>2010-09-27 00:39:36 +0200
commit525dcaee51c42ffea06ba1d0b0bc07af8c888a7e (patch)
tree9b0a2e90b207b0b5cdfd9775a3f44a50682c47f2
parenta9b05af44724d589b42f66f932ea9684b2497038 (diff)
downloadsamba-525dcaee51c42ffea06ba1d0b0bc07af8c888a7e.tar.gz
samba-525dcaee51c42ffea06ba1d0b0bc07af8c888a7e.tar.bz2
samba-525dcaee51c42ffea06ba1d0b0bc07af8c888a7e.zip
s3-waf: convert PDB into subsystem.
Guenther
-rw-r--r--source3/wscript_build41
1 files changed, 41 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 24ad5346c4..1f1a38ec24 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1149,6 +1149,7 @@ bld.SAMBA_MKVERSION('include/version.h')
for prefix in bld.env.MODULE_PREFIXES:
if prefix == 'auth': continue
+ if prefix == 'pdb': continue
static_key = "%s_STATIC" % prefix.upper()
shared_key = "%s_SHARED" % prefix.upper()
@@ -1289,6 +1290,46 @@ bld.SAMBA_MODULE('AUTH_NETLOGOND',
internal_module=True,
enabled=True)
+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=True,
+ enabled=True)
+
+bld.SAMBA_MODULE('PDB_LDAP',
+ subsystem='PDB',
+ source=PDB_LDAP_SRC,
+ init_function='',
+ internal_module=True,
+ enabled=True)
+
+bld.SAMBA_MODULE('PDB_ADS',
+ subsystem='PDB',
+ source=PDB_ADS_SRC,
+ init_function='',
+ internal_module=True,
+ enabled=False) #fixme
+
+bld.SAMBA_MODULE('PDB_SMBPASSWD',
+ subsystem='PDB',
+ source=PDB_SMBPASSWD_SRC,
+ init_function='',
+ internal_module=True,
+ enabled=True)
+
+bld.SAMBA_MODULE('PDB_WBC_SAM',
+ subsystem='PDB',
+ source=PDB_WBC_SAM_SRC,
+ init_function='',
+ internal_module=True,
+ enabled=True)
+
bld.SAMBA_SUBSYSTEM('AVAHI',
source=AVAHI_SRC,
deps='avahi-common avahi-client',