summaryrefslogtreecommitdiff
path: root/source3/passdb/wscript_build
blob: 17b488a0f7cde15d2b06124770b8ef0606616e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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'))