083ec6c84cf8b6e377d2713f7f67f03430dd4a64
[samba.git] / source4 / dsdb / samdb / ldb_modules / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPERS',
4         source='util.c ridalloc.c acl_util.c',
5         autoproto='util_proto.h',
6         deps='ldb LIBNDR SAMDB_SCHEMA MESSAGING'
7         )
8
9
10 bld.SAMBA_MODULE('ldb_samba_dsdb',
11         source='samba_dsdb.c',
12         subsystem='ldb',
13         init_function='LDB_MODULE(samba_dsdb)',
14         deps='SAMDB talloc LIBEVENTS LIBNDR DSDB_MODULE_HELPERS',
15         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
16         )
17
18
19 bld.SAMBA_MODULE('ldb_samba_secrets',
20         source='samba_secrets.c',
21         subsystem='ldb',
22         init_function='LDB_MODULE(samba_secrets)',
23         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
24         deps='SAMDB talloc LIBEVENTS LIBNDR'
25         )
26
27
28 bld.SAMBA_MODULE('ldb_objectguid',
29         source='objectguid.c',
30         subsystem='ldb',
31         init_function='LDB_MODULE(objectguid)',
32         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
33         deps='SAMDB talloc LIBEVENTS LIBNDR'
34         )
35
36
37 bld.SAMBA_MODULE('ldb_repl_meta_data',
38         source='repl_meta_data.c',
39         subsystem='ldb',
40         init_function='LDB_MODULE(repl_meta_data)',
41         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
42         deps='SAMDB talloc LIBEVENTS LIBNDR NDR_DRSUAPI NDR_DRSBLOBS LIBNDR DSDB_MODULE_HELPERS'
43         )
44
45
46 bld.SAMBA_MODULE('ldb_dsdb_cache',
47         source='dsdb_cache.c',
48         subsystem='ldb',
49         init_function='LDB_MODULE(dsdb_cache)',
50         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
51         deps='SAMDB talloc LIBEVENTS'
52         )
53
54
55 bld.SAMBA_MODULE('ldb_schema_load',
56         source='schema_load.c',
57         subsystem='ldb',
58         init_function='LDB_MODULE(schema_load)',
59         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
60         deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
61         )
62
63
64 bld.SAMBA_MODULE('ldb_schema_data',
65         source='schema_data.c',
66         subsystem='ldb',
67         init_function='LDB_MODULE(schema_data)',
68         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
69         deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
70         )
71
72
73 bld.SAMBA_MODULE('ldb_naming_fsmo',
74         source='naming_fsmo.c',
75         subsystem='ldb',
76         init_function='LDB_MODULE(naming_fsmo)',
77         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
78         deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
79         )
80
81
82 bld.SAMBA_MODULE('ldb_pdc_fsmo',
83         source='pdc_fsmo.c',
84         subsystem='ldb',
85         init_function='LDB_MODULE(pdc_fsmo)',
86         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
87         deps='SAMDB talloc LIBEVENTS DSDB_MODULE_HELPERS'
88         )
89
90
91 bld.SAMBA_MODULE('ldb_samldb',
92         source='samldb.c',
93         subsystem='ldb',
94         init_function='LDB_MODULE(samldb)',
95         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
96         deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS'
97         )
98
99
100 bld.SAMBA_MODULE('ldb_samba3sam',
101         source='samba3sam.c',
102         subsystem='ldb',
103         init_function='LDB_MODULE(samba3sam)',
104         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
105         deps='talloc LIBEVENTS ldb SMBPASSWD NSS_WRAPPER LIBSECURITY NDR_SECURITY'
106         )
107
108
109 bld.SAMBA_MODULE('ldb_samba3sid',
110         source='samba3sid.c',
111         subsystem='ldb',
112         init_function='LDB_MODULE(samba3sid)',
113         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
114         deps='talloc LIBEVENTS ldb SMBPASSWD NSS_WRAPPER LIBSECURITY NDR_SECURITY LDBSAMBA'
115         )
116
117
118 bld.SAMBA_MODULE('ldb_simple_ldap_map',
119         source='simple_ldap_map.c',
120         aliases='entryuuid nsuniqueid',
121         subsystem='ldb',
122         init_function='LDB_MODULE(entryuuid),LDB_MODULE(nsuniqueid)',
123         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
124         deps='talloc LIBEVENTS ldb LIBNDR'
125         )
126
127
128 bld.SAMBA_MODULE('ldb_rootdse',
129         source='rootdse.c',
130         subsystem='ldb',
131         init_function='LDB_MODULE(rootdse)',
132         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
133         deps='talloc LIBEVENTS SAMDB'
134         )
135
136
137 bld.SAMBA_MODULE('ldb_password_hash',
138         source='password_hash.c',
139         subsystem='ldb',
140         init_function='LDB_MODULE(password_hash)',
141         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
142         deps='talloc LIBEVENTS SAMDB LIBCLI_AUTH NDR_DRSBLOBS KERBEROS HEIMDAL_HDB_KEYS krb5'
143         )
144
145
146 bld.SAMBA_MODULE('ldb_local_password',
147         source='local_password.c',
148         subsystem='ldb',
149         init_function='LDB_MODULE(local_password)',
150         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
151         deps='talloc LIBEVENTS LIBNDR SAMDB'
152         )
153
154 bld.SAMBA_MODULE('ldb_extended_dn_in',
155         source='extended_dn_in.c',
156         subsystem='ldb',
157         init_function='LDB_MODULE(extended_dn_in)',
158         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
159         deps='talloc LIBEVENTS LIBSAMBA-UTIL'
160         )
161
162
163 bld.SAMBA_MODULE('ldb_extended_dn_out',
164         source='extended_dn_out.c',
165         aliases='extended_dn_out_ldb extended_dn_out_openldap extended_dn_out_fds',
166         subsystem='ldb',
167         deps='talloc LIBEVENTS LIBNDR LIBSAMBA-UTIL SAMDB',
168         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
169         init_function='LDB_MODULE(extended_dn_out_ldb),LDB_MODULE(extended_dn_out_openldap),LDB_MODULE(extended_dn_out_fds)'
170         )
171
172
173 bld.SAMBA_MODULE('ldb_extended_dn_store',
174         source='extended_dn_store.c',
175         subsystem='ldb',
176         init_function='LDB_MODULE(extended_dn_store)',
177         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
178         deps='talloc LIBEVENTS LIBSAMBA-UTIL SAMDB DSDB_MODULE_HELPERS'
179         )
180
181
182 bld.SAMBA_MODULE('ldb_show_deleted',
183         source='show_deleted.c',
184         subsystem='ldb',
185         init_function='LDB_MODULE(show_deleted)',
186         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
187         deps='talloc LIBEVENTS LIBSAMBA-UTIL DSDB_MODULE_HELPERS'
188         )
189
190
191 bld.SAMBA_MODULE('ldb_partition',
192         source='partition.c partition_init.c',
193         autoproto='partition_proto.h',
194         subsystem='ldb',
195         init_function='LDB_MODULE(partition)',
196         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
197         deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS'
198         )
199
200
201 bld.SAMBA_MODULE('ldb_new_partition',
202         source='new_partition.c',
203         subsystem='ldb',
204         init_function='LDB_MODULE(new_partition)',
205         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
206         deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS'
207         )
208
209
210 bld.SAMBA_MODULE('ldb_update_keytab',
211         source='update_keytab.c',
212         subsystem='ldb',
213         init_function='LDB_MODULE(update_keytab)',
214         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
215         deps='talloc LIBEVENTS CREDENTIALS ldb'
216         )
217
218
219 bld.SAMBA_MODULE('ldb_objectclass',
220         source='objectclass.c',
221         subsystem='ldb',
222         init_function='LDB_MODULE(objectclass)',
223         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
224         deps='talloc LIBEVENTS LIBSECURITY NDR_SECURITY SAMDB DSDB_MODULE_HELPERS LIBSAMBA-UTIL'
225         )
226
227
228 bld.SAMBA_MODULE('ldb_objectclass_attrs',
229         source='objectclass_attrs.c',
230         subsystem='ldb',
231         init_function='LDB_MODULE(objectclass_attrs)',
232         deps='talloc SAMDB LIBSAMBA-UTIL',
233         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
234         )
235
236
237 bld.SAMBA_MODULE('ldb_subtree_rename',
238         source='subtree_rename.c',
239         subsystem='ldb',
240         init_function='LDB_MODULE(subtree_rename)',
241         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
242         deps='talloc LIBEVENTS LIBSAMBA-UTIL ldb SAMDB_COMMON'
243         )
244
245
246 bld.SAMBA_MODULE('ldb_subtree_delete',
247         source='subtree_delete.c',
248         subsystem='ldb',
249         init_function='LDB_MODULE(subtree_delete)',
250         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
251         deps='talloc LIBEVENTS LIBSAMBA-UTIL DSDB_MODULE_HELPERS'
252         )
253
254
255 bld.SAMBA_MODULE('ldb_linked_attributes',
256         source='linked_attributes.c',
257         subsystem='ldb',
258         init_function='LDB_MODULE(linked_attributes)',
259         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
260         deps='talloc LIBEVENTS SAMDB DSDB_MODULE_HELPERS'
261         )
262
263
264 bld.SAMBA_MODULE('ldb_ranged_results',
265         source='ranged_results.c',
266         subsystem='ldb',
267         init_function='LDB_MODULE(ranged_results)',
268         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
269         deps='talloc LIBEVENTS LIBSAMBA-UTIL ldb'
270         )
271
272
273 bld.SAMBA_MODULE('ldb_anr',
274         source='anr.c',
275         subsystem='ldb',
276         init_function='LDB_MODULE(anr)',
277         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
278         deps='talloc LIBEVENTS LIBSAMBA-UTIL SAMDB'
279         )
280
281
282 bld.SAMBA_MODULE('ldb_instancetype',
283         source='instancetype.c',
284         subsystem='ldb',
285         init_function='LDB_MODULE(instancetype)',
286         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
287         deps='talloc LIBEVENTS LIBSAMBA-UTIL SAMDB'
288         )
289
290
291 bld.SAMBA_MODULE('ldb_operational',
292         source='operational.c',
293         subsystem='ldb',
294         init_function='LDB_MODULE(operational)',
295         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
296         deps='talloc tevent LIBSAMBA-UTIL SAMDB_COMMON DSDB_MODULE_HELPERS auth auth_session'
297         )
298
299
300 bld.SAMBA_MODULE('ldb_descriptor',
301         source='descriptor.c',
302         subsystem='ldb',
303         init_function='LDB_MODULE(descriptor)',
304         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
305         deps='talloc LIBEVENTS LIBSECURITY NDR_SECURITY SAMDB DSDB_MODULE_HELPERS'
306         )
307
308
309 bld.SAMBA_MODULE('ldb_resolve_oids',
310         source='resolve_oids.c',
311         subsystem='ldb',
312         init_function='LDB_MODULE(resolve_oids)',
313         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
314         deps='SAMDB talloc LIBEVENTS LIBNDR'
315         )
316
317
318 bld.SAMBA_MODULE('ldb_acl',
319         source='acl.c',
320         subsystem='ldb',
321         init_function='LDB_MODULE(acl)',
322         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
323         deps='talloc LIBEVENTS LIBSECURITY SAMDB'
324         )
325
326
327 bld.SAMBA_MODULE('ldb_lazy_commit',
328         source='lazy_commit.c',
329         subsystem='ldb',
330         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
331         init_function='LDB_MODULE(lazy_commit)',
332         deps='SAMDB'
333         )
334
335 bld.SAMBA_MODULE('ldb_aclread',
336         source='acl_read.c',
337         subsystem='ldb',
338         init_function='LDB_MODULE(aclread)',
339         internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
340         deps='talloc LIBEVENTS LIBSECURITY SAMDB'
341         )