netlogon.idl: add missing flags to DSGETDC_VALID_FLAGS
[samba.git] / librpc / wscript_build
1 #!/usr/bin/env python
2
3 bld.RECURSE('idl')
4
5 bld.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
6         source='../librpc/gen_ndr/ndr_audiosrv.c',
7         public_deps='LIBNDR'
8         )
9
10 bld.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
11         source='../librpc/gen_ndr/ndr_named_pipe_auth.c',
12         public_deps='LIBNDR'
13         )
14
15 bld.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
16         source='../librpc/gen_ndr/ndr_dnsserver.c',
17         public_deps='LIBNDR'
18         )
19
20 bld.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
21         source='../librpc/gen_ndr/ndr_dsbackup.c',
22         public_deps='LIBNDR'
23         )
24
25 bld.SAMBA_SUBSYSTEM('NDR_DFS',
26         source='../librpc/gen_ndr/ndr_dfs.c',
27         public_deps='LIBNDR'
28         )
29
30 bld.SAMBA_SUBSYSTEM('NDR_WINREG',
31         source='../librpc/gen_ndr/ndr_winreg.c',
32         public_deps='LIBNDR NDR_SECURITY NDR_LSA'
33         )
34
35 bld.SAMBA_SUBSYSTEM('NDR_EFS',
36         source='../librpc/gen_ndr/ndr_efs.c',
37         public_deps='LIBNDR NDR_SECURITY'
38         )
39
40 bld.SAMBA_SUBSYSTEM('NDR_ROT',
41         source='../librpc/gen_ndr/ndr_rot.c',
42         public_deps='LIBNDR NDR_ORPC'
43         )
44
45 bld.SAMBA_SUBSYSTEM('NDR_FRSRPC',
46         source='../librpc/ndr/ndr_frsrpc.c ../librpc/gen_ndr/ndr_frsrpc.c',
47         public_deps='LIBNDR'
48         )
49
50 bld.SAMBA_SUBSYSTEM('NDR_FRSAPI',
51         source='../librpc/gen_ndr/ndr_frsapi.c',
52         public_deps='LIBNDR'
53         )
54
55 bld.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
56         source='../librpc/gen_ndr/ndr_frstrans.c',
57         public_deps='LIBNDR'
58         )
59
60 bld.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
61         source='../librpc/gen_ndr/ndr_dfsblobs.c',
62         public_deps='LIBNDR'
63         )
64
65 bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
66         source='../librpc/gen_ndr/ndr_policyagent.c',
67         public_deps='LIBNDR'
68         )
69
70 bld.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
71         source='../librpc/gen_ndr/ndr_unixinfo.c',
72         public_deps='LIBNDR NDR_SECURITY'
73         )
74
75 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
76         source='../librpc/gen_ndr/ndr_spoolss.c',
77         public_deps='LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY'
78         )
79
80 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
81         source='../librpc/ndr/ndr_spoolss_buf.c',
82         deps='talloc'
83         )
84
85 bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
86         source='../librpc/gen_ndr/ndr_epmapper.c',
87         public_deps='LIBNDR'
88         )
89
90 bld.SAMBA_SUBSYSTEM('NDR_DBGIDL',
91         source='../librpc/gen_ndr/ndr_dbgidl.c',
92         public_deps='LIBNDR'
93         )
94
95 bld.SAMBA_SUBSYSTEM('NDR_DSSETUP',
96         source='../librpc/gen_ndr/ndr_dssetup.c',
97         public_deps='LIBNDR'
98         )
99
100 bld.SAMBA_SUBSYSTEM('NDR_MSGSVC',
101         source='../librpc/gen_ndr/ndr_msgsvc.c',
102         public_deps='LIBNDR'
103         )
104
105 bld.SAMBA_SUBSYSTEM('NDR_MGMT',
106         source='../librpc/gen_ndr/ndr_mgmt.c',
107         public_deps='LIBNDR'
108         )
109
110 bld.SAMBA_SUBSYSTEM('NDR_PROTECTED_STORAGE',
111         source='../librpc/gen_ndr/ndr_protected_storage.c',
112         public_deps='LIBNDR'
113         )
114
115 bld.SAMBA_SUBSYSTEM('NDR_ORPC',
116         source='../librpc/ndr/ndr_orpc.c ../librpc/gen_ndr/ndr_orpc.c',
117         public_deps='LIBNDR'
118         )
119
120 bld.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
121         source='../librpc/gen_ndr/ndr_oxidresolver.c',
122         public_deps='LIBNDR NDR_ORPC'
123         )
124
125 bld.SAMBA_SUBSYSTEM('NDR_REMACT',
126         source='../librpc/gen_ndr/ndr_remact.c',
127         public_deps='LIBNDR NDR_ORPC'
128         )
129
130 bld.SAMBA_SUBSYSTEM('NDR_DCOM',
131         source='../librpc/gen_ndr/ndr_dcom.c',
132         public_deps='LIBNDR NDR_SECURITY NDR_ORPC'
133         )
134
135 bld.SAMBA_SUBSYSTEM('NDR_WMI',
136         source='../librpc/ndr/ndr_wmi.c ../librpc/gen_ndr/ndr_wmi.c',
137         public_deps='LIBNDR NDR_SECURITY NDR_DCOM'
138         )
139
140 bld.SAMBA_SUBSYSTEM('NDR_WZCSVC',
141         source='../librpc/gen_ndr/ndr_wzcsvc.c',
142         public_deps='LIBNDR'
143         )
144
145 bld.SAMBA_SUBSYSTEM('NDR_BROWSER',
146         source='../librpc/gen_ndr/ndr_browser.c',
147         public_deps='LIBNDR'
148         )
149
150 bld.SAMBA_SUBSYSTEM('NDR_W32TIME',
151         source='../librpc/gen_ndr/ndr_w32time.c',
152         public_deps='LIBNDR'
153         )
154
155 bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
156         source='../librpc/gen_ndr/ndr_scerpc.c',
157         public_deps='LIBNDR'
158         )
159
160 bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
161         source='../librpc/gen_ndr/ndr_trkwks.c',
162         public_deps='LIBNDR'
163         )
164
165 bld.SAMBA_SUBSYSTEM('NDR_KEYSVC',
166         source='../librpc/gen_ndr/ndr_keysvc.c',
167         public_deps='LIBNDR'
168         )
169
170 bld.SAMBA_SUBSYSTEM('NDR_RAP',
171         source='../librpc/gen_ndr/ndr_rap.c ../librpc/ndr/ndr_rap.c',
172         public_deps='LIBNDR'
173         )
174
175 bld.SAMBA_SUBSYSTEM('NDR_IDMAP',
176         source='../librpc/gen_ndr/ndr_idmap.c',
177         public_deps='LIBNDR NDR_STANDARD'
178         )
179
180 bld.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
181         source='../librpc/ndr/ndr_ntlmssp.c ../librpc/gen_ndr/ndr_ntlmssp.c',
182         public_deps='LIBNDR NDR_STANDARD'
183         )
184
185 bld.SAMBA_SUBSYSTEM('NDR_DNSP',
186         source='../librpc/gen_ndr/ndr_dnsp.c ../librpc/ndr/ndr_dnsp.c',
187         public_deps='LIBNDR'
188         )
189
190 bld.SAMBA_SUBSYSTEM('NDR_NTPRINTING',
191         source='../librpc/gen_ndr/ndr_ntprinting.c ../librpc/ndr/ndr_ntprinting.c',
192         public_deps='LIBNDR'
193         )
194
195 bld.SAMBA_SUBSYSTEM('NDR_SAMR',
196         source='../librpc/gen_ndr/ndr_samr.c',
197         public_deps='LIBNDR NDR_SECURITY NDR_LSA'
198         )
199
200 bld.SAMBA_SUBSYSTEM('NDR_LSA',
201         source='../librpc/gen_ndr/ndr_lsa.c',
202         public_deps='LIBNDR NDR_SECURITY'
203         )
204
205 bld.SAMBA_SUBSYSTEM('NDR_SVCCTL',
206         source='../librpc/gen_ndr/ndr_svcctl.c ../librpc/ndr/ndr_svcctl.c',
207         public_deps='LIBNDR NDR_SECURITY'
208         )
209
210 bld.SAMBA_SUBSYSTEM('NDR_SRVSVC',
211         source='../librpc/gen_ndr/ndr_srvsvc.c',
212         public_deps='LIBNDR NDR_SECURITY NDR_SVCCTL'
213         )
214
215 bld.SAMBA_SUBSYSTEM('NDR_NETLOGON',
216         source='../librpc/gen_ndr/ndr_netlogon.c ../librpc/ndr/ndr_netlogon.c',
217         public_deps='LIBNDR NDR_SECURITY NDR_LSA NDR_SAMR NDR_NBT'
218         )
219
220 bld.SAMBA_SUBSYSTEM('NDR_EVENTLOG',
221         source='../librpc/gen_ndr/ndr_eventlog.c',
222         public_deps='LIBNDR NDR_SECURITY NDR_LSA'
223         )
224
225 bld.SAMBA_SUBSYSTEM('NDR_NTSVCS',
226         source='../librpc/gen_ndr/ndr_ntsvcs.c',
227         public_deps='LIBNDR'
228         )
229
230 bld.SAMBA_SUBSYSTEM('NDR_WKSSVC',
231         source='../librpc/gen_ndr/ndr_wkssvc.c',
232         public_deps='LIBNDR NDR_SECURITY'
233         )
234
235 bld.SAMBA_SUBSYSTEM('NDR_ECHO',
236         source='../librpc/gen_ndr/ndr_echo.c',
237         public_deps='LIBNDR'
238         )
239
240 bld.SAMBA_SUBSYSTEM('NDR_INITSHUTDOWN',
241         source='../librpc/gen_ndr/ndr_initshutdown.c',
242         public_deps='LIBNDR NDR_LSA'
243         )
244
245 bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
246         source='../librpc/ndr/ndr_compression.c',
247         public_deps='LIBSAMBA-ERRORS LIBNDR',
248         deps='ZLIB LZXPRESS'
249         )
250
251 bld.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
252         source='../librpc/ndr/ndr_drsuapi.c ../librpc/gen_ndr/ndr_drsuapi.c',
253         public_deps='LIBNDR NDR_COMPRESSION NDR_SECURITY NDR_STANDARD ASN1_UTIL'
254         )
255
256 bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
257         source='../librpc/ndr/ndr_drsblobs.c ../librpc/gen_ndr/ndr_drsblobs.c',
258         public_deps='LIBNDR NDR_DRSUAPI'
259         )
260
261 bld.SAMBA_SUBSYSTEM('NDR_KRB5PAC',
262         source='../librpc/ndr/ndr_krb5pac.c ../librpc/gen_ndr/ndr_krb5pac.c',
263         public_deps='LIBNDR NDR_STANDARD NDR_SECURITY'
264         )
265
266
267 bld.SAMBA_SUBSYSTEM('NDR_XATTR',
268         source='../librpc/ndr/ndr_xattr.c ../librpc/gen_ndr/ndr_xattr.c',
269         public_deps='LIBNDR NDR_SECURITY'
270         )
271
272 bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
273         source='../librpc/ndr/ndr_schannel.c ../librpc/gen_ndr/ndr_schannel.c',
274         public_deps='LIBNDR NDR_NBT'
275         )
276
277 bld.SAMBA_SUBSYSTEM('NDR_NBT',
278         source='../librpc/gen_ndr/ndr_nbt.c',
279         public_deps='LIBNDR NDR_NBT_BUF NDR_SECURITY NDR_STANDARD LIBCLI_NDR_NETLOGON',
280         public_headers='../librpc/gen_ndr/nbt.h',
281         header_path='gen_ndr'
282         )
283
284 bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
285         source='../librpc/gen_ndr/ndr_xattr_c.c',
286         public_deps='NDR_XATTR dcerpc'
287         )
288
289 bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
290         source='../librpc/gen_ndr/ndr_rot_c.c',
291         public_deps='NDR_ROT dcerpc'
292         )
293
294 bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
295         source='../librpc/gen_ndr/ndr_audiosrv_c.c',
296         public_deps='NDR_AUDIOSRV dcerpc'
297         )
298
299 bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
300         source='../librpc/gen_ndr/ndr_echo_c.c',
301         public_deps='dcerpc NDR_STANDARD'
302         )
303
304 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
305         source='../librpc/gen_ndr/ndr_dsbackup_c.c',
306         public_deps='dcerpc NDR_DSBACKUP'
307         )
308
309 bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
310         source='../librpc/gen_ndr/ndr_efs_c.c',
311         public_deps='dcerpc NDR_EFS'
312         )
313
314 bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
315         source='../librpc/gen_ndr/ndr_lsa_c.c',
316         public_deps='dcerpc NDR_STANDARD'
317         )
318
319 bld.SAMBA_SUBSYSTEM('RPC_NDR_SAMR',
320         source='../librpc/gen_ndr/ndr_samr_c.c',
321         public_deps='dcerpc NDR_SAMR'
322         )
323
324 bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
325         source='../librpc/gen_ndr/ndr_dfs_c.c',
326         public_deps='dcerpc NDR_STANDARD'
327         )
328
329 bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
330         source='../librpc/gen_ndr/ndr_frsapi_c.c',
331         public_deps='dcerpc NDR_FRSAPI'
332         )
333
334 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
335         source='../librpc/gen_ndr/ndr_drsuapi_c.c',
336         public_deps='dcerpc NDR_DRSUAPI'
337         )
338
339 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
340         source='../librpc/gen_ndr/ndr_drsblobs_c.c',
341         public_deps='dcerpc NDR_DRSBLOBS'
342         )
343
344 bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
345         source='../librpc/gen_ndr/ndr_policyagent_c.c',
346         public_deps='dcerpc NDR_POLICYAGENT'
347         )
348
349 bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
350         source='../librpc/gen_ndr/ndr_unixinfo_c.c',
351         public_deps='dcerpc NDR_UNIXINFO'
352         )
353
354 bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
355         source='../librpc/gen_ndr/ndr_browser_c.c',
356         public_deps='dcerpc NDR_BROWSER'
357         )
358
359 bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
360         source='../librpc/gen_ndr/ndr_spoolss_c.c',
361         public_deps='dcerpc NDR_SPOOLSS'
362         )
363
364 bld.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
365         source='../librpc/gen_ndr/ndr_nbt_c.c',
366         public_deps='dcerpc NDR_NBT'
367         )
368
369 bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
370         source='../librpc/gen_ndr/ndr_wkssvc_c.c',
371         public_deps='dcerpc NDR_STANDARD'
372         )
373
374 bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
375         source='../librpc/gen_ndr/ndr_srvsvc_c.c',
376         public_deps='dcerpc NDR_SRVSVC'
377         )
378
379 bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
380         source='../librpc/gen_ndr/ndr_svcctl_c.c',
381         public_deps='dcerpc NDR_STANDARD',
382         public_headers='../librpc/gen_ndr/ndr_svcctl_c.h',
383         header_path='gen_ndr'
384         )
385
386 bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
387         source='../librpc/gen_ndr/ndr_eventlog_c.c',
388         public_deps='dcerpc NDR_STANDARD'
389         )
390
391 bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
392         source='../librpc/gen_ndr/ndr_epmapper_c.c',
393         public_deps='tevent NDR_EPMAPPER'
394         )
395
396 bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
397         source='../librpc/gen_ndr/ndr_dbgidl_c.c',
398         public_deps='dcerpc NDR_DBGIDL'
399         )
400
401 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
402         source='../librpc/gen_ndr/ndr_dssetup_c.c',
403         public_deps='dcerpc NDR_DSSETUP'
404         )
405
406 bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
407         source='../librpc/gen_ndr/ndr_msgsvc_c.c',
408         public_deps='dcerpc NDR_MSGSVC'
409         )
410
411 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
412         source='../librpc/gen_ndr/ndr_winreg_c.c',
413         public_deps='dcerpc NDR_STANDARD'
414         )
415
416 bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
417         source='../librpc/gen_ndr/ndr_initshutdown_c.c',
418         public_deps='dcerpc NDR_STANDARD'
419         )
420
421 bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
422         source='../librpc/gen_ndr/ndr_mgmt_c.c',
423         deps='tevent NDR_MGMT'
424         )
425
426 bld.SAMBA_SUBSYSTEM('RPC_NDR_PROTECTED_STORAGE',
427         source='../librpc/gen_ndr/ndr_protected_storage_c.c',
428         public_deps='dcerpc NDR_PROTECTED_STORAGE'
429         )
430
431 bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
432         source='../librpc/gen_ndr/ndr_oxidresolver_c.c',
433         public_deps='dcerpc NDR_OXIDRESOLVER'
434         )
435
436 bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
437         source='../librpc/gen_ndr/ndr_remact_c.c',
438         public_deps='dcerpc NDR_REMACT'
439         )
440
441 bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
442         source='../librpc/gen_ndr/ndr_wzcsvc_c.c',
443         public_deps='dcerpc NDR_WZCSVC'
444         )
445
446 bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
447         source='../librpc/gen_ndr/ndr_w32time_c.c',
448         public_deps='dcerpc NDR_W32TIME'
449         )
450
451 bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
452         source='../librpc/gen_ndr/ndr_scerpc_c.c',
453         public_deps='dcerpc NDR_SCERPC'
454         )
455
456 bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
457         source='../librpc/gen_ndr/ndr_ntsvcs_c.c',
458         public_deps='dcerpc NDR_STANDARD'
459         )
460
461 bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
462         source='../librpc/gen_ndr/ndr_netlogon_c.c',
463         public_deps='NDR_STANDARD'
464         )
465
466 bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
467         source='../librpc/gen_ndr/ndr_trkwks_c.c',
468         public_deps='dcerpc NDR_TRKWKS'
469         )
470
471 bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
472         source='../librpc/gen_ndr/ndr_keysvc_c.c',
473         public_deps='dcerpc NDR_KEYSVC'
474         )