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