summaryrefslogtreecommitdiff
path: root/source3/winbindd/wscript_build
blob: da0c189dc6d41aefbee85b798fe2bc5510129dc4 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
#!/usr/bin/env python

IDMAP_AD_SRC = '''idmap_ad.c'''
IDMAP_RID_SRC = '''idmap_rid.c'''
IDMAP_PASSDB_SRC = '''idmap_passdb.c'''
IDMAP_LDAP_SRC = '''idmap_ldap.c'''
IDMAP_NSS_SRC = '''idmap_nss.c'''
IDMAP_TDB_SRC = '''idmap_tdb.c'''
IDMAP_TDB2_SRC = '''idmap_tdb2.c'''

IDMAP_HASH_SRC = '''idmap_hash/idmap_hash.c
                    idmap_hash/mapfile.c'''

IDMAP_ADEX_SRC = '''idmap_adex/idmap_adex.c
                    idmap_adex/cell_util.c
                    idmap_adex/likewise_cell.c
                    idmap_adex/provider_unified.c
                    idmap_adex/gc_util.c
                    idmap_adex/domain_util.c'''
IDMAP_AUTORID_SRC = '''idmap_autorid.c'''

IDMAP_RW_SRC = 'idmap_rw.c'
IDMAP_SRC = 'idmap.c idmap_util.c ${IDMAP_RW_SRC}'

bld.SAMBA_SUBSYSTEM('idmap',
                    source=IDMAP_SRC,
                    vars=locals())

bld.SAMBA_MODULE('idmap_ad',
                 subsystem='idmap',
                 source=IDMAP_AD_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))

bld.SAMBA_MODULE('idmap_rid',
                 subsystem='idmap',
                 source=IDMAP_RID_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_RID'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_RID'))

bld.SAMBA_MODULE('idmap_passdb',
                 subsystem='idmap',
                 source=IDMAP_PASSDB_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_PASSDB'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_PASSDB'))

bld.SAMBA_MODULE('idmap_ldap',
                 subsystem='idmap',
                 source=IDMAP_LDAP_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_LDAP'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_LDAP'))

bld.SAMBA_MODULE('idmap_nss',
                 subsystem='idmap',
                 source=IDMAP_NSS_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_NSS'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_NSS'))

bld.SAMBA_MODULE('idmap_tdb',
                 subsystem='idmap',
                 source=IDMAP_TDB_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_TDB'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_TDB'))

bld.SAMBA_MODULE('idmap_tdb2',
                 subsystem='idmap',
                 source=IDMAP_TDB2_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_TDB2'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_TDB2'))

bld.SAMBA_MODULE('idmap_hash',
                 subsystem='idmap',
                 source=IDMAP_HASH_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_HASH'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_HASH'))

bld.SAMBA_MODULE('idmap_adex',
                 subsystem='idmap',
                 source=IDMAP_ADEX_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_ADEX'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_ADEX'))

bld.SAMBA_MODULE('idmap_autorid',
                 subsystem='idmap',
                 source=IDMAP_AUTORID_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AUTORID'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AUTORID'))


NSS_INFO_TEMPLATE_SRC = 'nss_info_template.c'
NSS_INFO_SRC = 'nss_info.c'

bld.SAMBA_SUBSYSTEM('nss_info',
                    source=NSS_INFO_SRC,
                    vars=locals())

bld.SAMBA_MODULE('nss_info_template',
                 subsystem='nss_info',
                 source=NSS_INFO_TEMPLATE_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('NSS_INFO_TEMPLATE'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('NSS_INFO_TEMPLATE'))

bld.SAMBA_MODULE('nss_info_adex',
                 subsystem='nss_info',
                 source=IDMAP_ADEX_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_ADEX'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_ADEX'))

bld.SAMBA_MODULE('nss_info_hash',
                 subsystem='nss_info',
                 source=IDMAP_HASH_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_HASH'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_HASH'))

bld.SAMBA_MODULE('nss_info_rfc2307',
                 subsystem='nss_info',
                 source=IDMAP_AD_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))

bld.SAMBA_MODULE('nss_info_sfu20',
                 subsystem='nss_info',
                 source=IDMAP_AD_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))

bld.SAMBA_MODULE('nss_info_sfu',
                 subsystem='nss_info',
                 source=IDMAP_AD_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))