s4:dsdb/password_hash: split out a password_hash_needed() function
[Samba.git] / librpc / wscript_build
blobf883570588fbf88b33f01512d0f6b0507c181e46
1 #!/usr/bin/env python
3 bld.RECURSE('idl')
4 bld.RECURSE('../lib/compression')
6 bld.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
7 source='gen_ndr/ndr_audiosrv.c',
8 public_deps='ndr'
11 bld.SAMBA_SUBSYSTEM('NDR_AUTH',
12 source='gen_ndr/ndr_auth.c ndr/ndr_auth.c',
13 public_headers='gen_ndr/auth.h',
14 header_path='gen_ndr',
15 public_deps='ndr NDR_SECURITY ndr-krb5pac'
18 bld.SAMBA_SUBSYSTEM('NDR_ATSVC',
19 source='gen_ndr/ndr_atsvc.c',
20 public_deps='ndr'
23 bld.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
24 source='gen_ndr/ndr_named_pipe_auth.c',
25 public_deps='ndr NDR_AUTH'
28 bld.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
29 source='gen_ndr/ndr_dnsserver.c ndr/ndr_dnsserver.c',
30 public_deps='ndr NDR_DNSP'
33 bld.SAMBA_SUBSYSTEM('NDR_DNS',
34 source='gen_ndr/ndr_dns.c ndr/ndr_dns.c',
35 public_deps='ndr NDR_DNSP'
38 bld.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
39 source='gen_ndr/ndr_dsbackup.c',
40 public_deps='ndr'
43 bld.SAMBA_SUBSYSTEM('NDR_DFS',
44 source='gen_ndr/ndr_dfs.c',
45 public_deps='ndr'
48 bld.SAMBA_SUBSYSTEM('NDR_WINREG',
49 source='gen_ndr/ndr_winreg.c',
50 public_deps='ndr NDR_SECURITY NDR_LSA'
53 bld.SAMBA_SUBSYSTEM('NDR_EFS',
54 source='gen_ndr/ndr_efs.c',
55 public_deps='ndr NDR_SECURITY'
58 bld.SAMBA_SUBSYSTEM('NDR_ROT',
59 source='gen_ndr/ndr_rot.c',
60 public_deps='ndr NDR_ORPC'
63 bld.SAMBA_SUBSYSTEM('NDR_FRSRPC',
64 source='ndr/ndr_frsrpc.c gen_ndr/ndr_frsrpc.c',
65 public_deps='ndr'
68 bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSRPC',
69 source='gen_ndr/ndr_frsrpc_c.c',
70 public_deps='NDR_FRSRPC'
73 bld.SAMBA_SUBSYSTEM('NDR_FRSAPI',
74 source='gen_ndr/ndr_frsapi.c',
75 public_deps='ndr'
78 bld.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
79 source='gen_ndr/ndr_frstrans.c',
80 public_deps='ndr'
83 bld.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
84 source='gen_ndr/ndr_dfsblobs.c',
85 public_deps='ndr'
88 bld.SAMBA_SUBSYSTEM('NDR_BKUPBLOBS',
89 source='ndr/ndr_bkupblobs.c gen_ndr/ndr_bkupblobs.c',
90 public_deps='ndr'
93 bld.SAMBA_SUBSYSTEM('NDR_FSCC',
94 source='gen_ndr/ndr_fscc.c',
95 public_deps='ndr'
98 bld.SAMBA_SUBSYSTEM('NDR_FRSBLOBS',
99 source='gen_ndr/ndr_frsblobs.c',
100 public_deps='ndr'
103 bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
104 source='gen_ndr/ndr_policyagent.c',
105 public_deps='ndr'
108 bld.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
109 source='gen_ndr/ndr_unixinfo.c',
110 public_deps='ndr NDR_SECURITY'
113 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
114 source='gen_ndr/ndr_spoolss.c',
115 public_deps='ndr NDR_SPOOLSS_BUF NDR_SECURITY'
118 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
119 source='ndr/ndr_spoolss_buf.c',
120 deps='talloc'
123 bld.SAMBA_SUBSYSTEM('NDR_PRINTCAP',
124 source='gen_ndr/ndr_printcap.c',
125 public_deps='ndr'
128 bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
129 source='gen_ndr/ndr_epmapper.c',
130 public_deps='ndr'
133 bld.SAMBA_SUBSYSTEM('NDR_DBGIDL',
134 source='gen_ndr/ndr_dbgidl.c',
135 public_deps='ndr'
138 bld.SAMBA_SUBSYSTEM('NDR_DSSETUP',
139 source='gen_ndr/ndr_dssetup.c',
140 public_deps='ndr'
143 bld.SAMBA_SUBSYSTEM('NDR_MSGSVC',
144 source='gen_ndr/ndr_msgsvc.c',
145 public_deps='ndr'
148 bld.SAMBA_SUBSYSTEM('NDR_MGMT',
149 source='gen_ndr/ndr_mgmt.c',
150 public_deps='ndr'
153 bld.SAMBA_SUBSYSTEM('NDR_ORPC',
154 source='ndr/ndr_orpc.c gen_ndr/ndr_orpc.c',
155 public_deps='ndr'
158 bld.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
159 source='gen_ndr/ndr_oxidresolver.c',
160 public_deps='ndr NDR_ORPC'
163 bld.SAMBA_SUBSYSTEM('NDR_REMACT',
164 source='gen_ndr/ndr_remact.c',
165 public_deps='ndr NDR_ORPC'
168 bld.SAMBA_SUBSYSTEM('NDR_DCOM',
169 source='gen_ndr/ndr_dcom.c',
170 public_deps='ndr NDR_SECURITY NDR_ORPC'
173 bld.SAMBA_SUBSYSTEM('NDR_WMI',
174 source='ndr/ndr_wmi.c gen_ndr/ndr_wmi.c',
175 public_deps='ndr NDR_SECURITY NDR_DCOM'
178 bld.SAMBA_SUBSYSTEM('NDR_WZCSVC',
179 source='gen_ndr/ndr_wzcsvc.c',
180 public_deps='ndr'
183 bld.SAMBA_SUBSYSTEM('NDR_BROWSER',
184 source='gen_ndr/ndr_browser.c',
185 public_deps='ndr'
188 bld.SAMBA_SUBSYSTEM('NDR_W32TIME',
189 source='gen_ndr/ndr_w32time.c',
190 public_deps='ndr'
193 bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
194 source='gen_ndr/ndr_scerpc.c',
195 public_deps='ndr'
198 bld.SAMBA_SUBSYSTEM('NDR_SERVER_ID',
199 source='gen_ndr/ndr_server_id.c',
200 deps='ndr',
201 public_headers='gen_ndr/server_id.h',
202 header_path='gen_ndr'
205 bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
206 source='gen_ndr/ndr_trkwks.c',
207 public_deps='ndr'
210 bld.SAMBA_SUBSYSTEM('NDR_KEYSVC',
211 source='gen_ndr/ndr_keysvc.c',
212 public_deps='ndr'
215 bld.SAMBA_SUBSYSTEM('NDR_RAP',
216 source='gen_ndr/ndr_rap.c ndr/ndr_rap.c',
217 public_deps='ndr'
220 bld.SAMBA_SUBSYSTEM('NDR_IDMAP',
221 source='gen_ndr/ndr_idmap.c',
222 public_deps='ndr ndr-standard'
225 bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
226 source='gen_ndr/ndr_notify.c',
227 public_deps='ndr ndr-standard NDR_SERVER_ID NDR_FILE_ID'
230 bld.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
231 source='ndr/ndr_ntlmssp.c gen_ndr/ndr_ntlmssp.c',
232 public_deps='ndr ndr-standard'
235 bld.SAMBA_SUBSYSTEM('NDR_NEGOEX',
236 source='ndr/ndr_negoex.c gen_ndr/ndr_negoex.c',
237 public_deps='ndr'
240 bld.SAMBA_SUBSYSTEM('NDR_DNSP',
241 source='gen_ndr/ndr_dnsp.c ndr/ndr_dnsp.c',
242 public_deps='ndr'
245 bld.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
246 source='gen_ndr/ndr_nfs4acl.c',
247 public_deps='ndr NDR_SECURITY'
250 bld.SAMBA_SUBSYSTEM('NDR_NTPRINTING',
251 source='gen_ndr/ndr_ntprinting.c ndr/ndr_ntprinting.c',
252 public_deps='ndr'
255 bld.SAMBA_SUBSYSTEM('NDR_SAMR',
256 source='gen_ndr/ndr_samr.c',
257 public_deps='ndr NDR_SECURITY NDR_LSA'
260 bld.SAMBA_SUBSYSTEM('NDR_LSA',
261 source='gen_ndr/ndr_lsa.c',
262 public_deps='ndr NDR_SECURITY'
265 bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
266 source='gen_ndr/ndr_security.c ndr/ndr_sec_helper.c',
267 deps='ndr samba-security',
268 public_headers='gen_ndr/security.h',
269 header_path='gen_ndr'
272 bld.SAMBA_SUBSYSTEM('NDR_SMB_ACL',
273 source='gen_ndr/ndr_smb_acl.c',
274 deps='ndr',
277 bld.SAMBA_SUBSYSTEM('NDR_SVCCTL',
278 source='gen_ndr/ndr_svcctl.c ndr/ndr_svcctl.c',
279 public_deps='ndr NDR_SECURITY'
282 bld.SAMBA_SUBSYSTEM('NDR_SRVSVC',
283 source='gen_ndr/ndr_srvsvc.c',
284 public_deps='ndr NDR_SECURITY NDR_SVCCTL'
287 bld.SAMBA_SUBSYSTEM('NDR_NETLOGON',
288 source='gen_ndr/ndr_netlogon.c ndr/ndr_netlogon.c',
289 public_deps='ndr NDR_SECURITY NDR_LSA NDR_SAMR ndr_nbt'
292 bld.SAMBA_SUBSYSTEM('NDR_EVENTLOG',
293 source='gen_ndr/ndr_eventlog.c',
294 public_deps='ndr NDR_SECURITY NDR_LSA'
297 bld.SAMBA_SUBSYSTEM('NDR_NTSVCS',
298 source='gen_ndr/ndr_ntsvcs.c',
299 public_deps='ndr'
302 bld.SAMBA_SUBSYSTEM('NDR_WKSSVC',
303 source='gen_ndr/ndr_wkssvc.c',
304 public_deps='ndr NDR_SECURITY'
307 bld.SAMBA_SUBSYSTEM('NDR_ECHO',
308 source='gen_ndr/ndr_echo.c',
309 public_deps='ndr'
312 bld.SAMBA_SUBSYSTEM('NDR_INITSHUTDOWN',
313 source='gen_ndr/ndr_initshutdown.c',
314 public_deps='ndr NDR_LSA'
317 bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
318 source='ndr/ndr_compression.c',
319 public_deps='samba-errors ndr',
320 deps='z LZXPRESS'
323 bld.SAMBA_SUBSYSTEM('NDR_FSRVP',
324 source='gen_ndr/ndr_fsrvp.c',
325 public_deps='ndr'
328 bld.SAMBA_SUBSYSTEM('NDR_WITNESS',
329 source='gen_ndr/ndr_witness.c ndr/ndr_witness.c',
330 public_deps='ndr'
333 bld.SAMBA_SUBSYSTEM('NDR_CLUSAPI',
334 source='gen_ndr/ndr_clusapi.c',
335 public_deps='ndr'
338 bld.SAMBA_SUBSYSTEM('NDR_MDSSVC',
339 source='gen_ndr/ndr_mdssvc.c',
340 public_deps='ndr'
343 bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
344 source='gen_ndr/ndr_dcerpc.c ndr/ndr_dcerpc.c',
345 public_deps='ndr',
346 public_headers='gen_ndr/ndr_dcerpc.h gen_ndr/dcerpc.h ndr/ndr_dcerpc.h',
347 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
350 bld.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
351 source='ndr/ndr_drsuapi.c gen_ndr/ndr_drsuapi.c',
352 public_deps='ndr NDR_COMPRESSION NDR_SECURITY ndr-standard asn1util',
353 public_headers='gen_ndr/ndr_drsuapi.h gen_ndr/drsuapi.h ndr/ndr_drsuapi.h',
354 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
357 bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
358 source='ndr/ndr_drsblobs.c gen_ndr/ndr_drsblobs.c',
359 public_deps='ndr NDR_DRSUAPI',
360 public_headers='gen_ndr/ndr_drsblobs.h gen_ndr/drsblobs.h ndr/ndr_drsblobs.h',
361 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
364 bld.SAMBA_LIBRARY('ndr-krb5pac',
365 source='ndr/ndr_krb5pac.c gen_ndr/ndr_krb5pac.c',
366 public_deps='ndr ndr-standard NDR_SECURITY',
367 public_headers='gen_ndr/krb5pac.h gen_ndr/ndr_krb5pac.h',
368 header_path='gen_ndr',
369 pc_files='ndr_krb5pac.pc',
370 vnum='0.0.1'
373 bld.SAMBA_LIBRARY('ndr-standard',
374 source='gen_ndr/ndr_eventlog6.c',
375 vnum='0.0.1',
376 pc_files='ndr_standard.pc',
377 deps='''NDR_SECURITY NDR_LSA NDR_SAMR NDR_NETLOGON NDR_EVENTLOG NDR_DFS
378 NDR_NTSVCS NDR_SVCCTL NDR_INITSHUTDOWN NDR_WKSSVC NDR_SRVSVC NDR_WINREG
379 NDR_ECHO security NDR_DNS NDR_DNSP NDR_ATSVC NDR_SPOOLSS NDR_DSSETUP
380 NDR_SERVER_ID NDR_NOTIFY''',
381 public_deps='ndr',
382 public_headers='gen_ndr/samr.h gen_ndr/ndr_samr.h gen_ndr/lsa.h gen_ndr/netlogon.h gen_ndr/atsvc.h gen_ndr/ndr_atsvc.h gen_ndr/ndr_svcctl.h gen_ndr/svcctl.h',
383 header_path='gen_ndr'
386 bld.SAMBA_SUBSYSTEM('NDR_XATTR',
387 source='ndr/ndr_xattr.c gen_ndr/ndr_xattr.c',
388 public_deps='ndr NDR_SECURITY'
391 bld.SAMBA_SUBSYSTEM('NDR_SMB2_LEASE_STRUCT',
392 source='gen_ndr/ndr_smb2_lease_struct.c',
393 public_deps='ndr',
394 public_headers='gen_ndr/smb2_lease_struct.h'
397 bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
398 source='ndr/ndr_schannel.c gen_ndr/ndr_schannel.c',
399 public_deps='ndr ndr_nbt'
402 bld.SAMBA_LIBRARY('ndr_nbt',
403 source='gen_ndr/ndr_nbt.c ndr/ndr_nbt.c',
404 public_deps='ndr NDR_NBT_BUF NDR_SECURITY',
405 public_headers='gen_ndr/nbt.h gen_ndr/ndr_nbt.h ndr/ndr_nbt.h',
406 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')],
407 pc_files='ndr_nbt.pc',
408 vnum='0.0.1'
411 bld.SAMBA_SUBSYSTEM('NDR_BACKUPKEY',
412 source='ndr/ndr_backupkey.c gen_ndr/ndr_backupkey.c',
413 public_deps='ndr'
416 bld.SAMBA_SUBSYSTEM('NDR_PREG',
417 source='gen_ndr/ndr_preg.c ndr/ndr_preg.c',
418 public_deps='ndr'
421 bld.SAMBA_SUBSYSTEM('NDR_FILE_ID',
422 source='gen_ndr/ndr_file_id.c',
423 public_deps='ndr'
426 bld.SAMBA_SUBSYSTEM('NDR_MESSAGING',
427 source='gen_ndr/ndr_messaging.c',
428 public_deps='ndr NDR_SERVER_ID'
431 bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
432 source='gen_ndr/ndr_xattr_c.c',
433 public_deps='NDR_XATTR dcerpc-binding'
436 bld.SAMBA_SUBSYSTEM('RPC_NDR_IDMAP',
437 source='gen_ndr/ndr_idmap_c.c',
438 public_deps='NDR_IDMAP dcerpc-binding'
441 bld.SAMBA_SUBSYSTEM('RPC_NDR_SMB_ACL',
442 source='gen_ndr/ndr_smb_acl_c.c',
443 public_deps='NDR_SMB_ACL dcerpc-binding'
446 bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
447 source='gen_ndr/ndr_rot_c.c',
448 public_deps='NDR_ROT dcerpc-binding'
451 bld.SAMBA_SUBSYSTEM('RPC_NDR_ATSVC',
452 source='gen_ndr/ndr_atsvc_c.c',
453 public_deps='dcerpc-binding NDR_ATSVC'
456 bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
457 source='gen_ndr/ndr_audiosrv_c.c',
458 public_deps='NDR_AUDIOSRV dcerpc-binding'
461 bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
462 source='gen_ndr/ndr_echo_c.c',
463 public_deps='dcerpc-binding NDR_ECHO'
466 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
467 source='gen_ndr/ndr_dsbackup_c.c',
468 public_deps='dcerpc-binding NDR_DSBACKUP'
471 bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
472 source='gen_ndr/ndr_efs_c.c',
473 public_deps='dcerpc-binding NDR_EFS'
476 bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
477 source='gen_ndr/ndr_lsa_c.c',
478 public_deps='dcerpc-binding ndr-standard'
481 bld.SAMBA_SUBSYSTEM('RPC_NDR_SAMR',
482 source='gen_ndr/ndr_samr_c.c',
483 public_deps='dcerpc-binding NDR_SAMR'
486 bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
487 source='gen_ndr/ndr_dfs_c.c',
488 public_deps='dcerpc-binding ndr-standard'
491 bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
492 source='gen_ndr/ndr_frsapi_c.c',
493 public_deps='dcerpc-binding NDR_FRSAPI'
496 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
497 source='gen_ndr/ndr_drsuapi_c.c',
498 public_deps='dcerpc-binding NDR_DRSUAPI'
501 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
502 source='gen_ndr/ndr_drsblobs_c.c',
503 public_deps='dcerpc-binding NDR_DRSBLOBS'
506 bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
507 source='gen_ndr/ndr_policyagent_c.c',
508 public_deps='dcerpc-binding NDR_POLICYAGENT'
511 bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
512 source='gen_ndr/ndr_unixinfo_c.c',
513 public_deps='dcerpc-binding NDR_UNIXINFO'
516 bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
517 source='gen_ndr/ndr_browser_c.c',
518 public_deps='dcerpc-binding NDR_BROWSER'
521 bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
522 source='gen_ndr/ndr_spoolss_c.c',
523 public_deps='dcerpc-binding NDR_SPOOLSS'
526 bld.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
527 source='gen_ndr/ndr_nbt_c.c',
528 public_deps='dcerpc-binding ndr_nbt'
531 bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
532 source='gen_ndr/ndr_wkssvc_c.c',
533 public_deps='dcerpc-binding ndr-standard'
536 bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
537 source='gen_ndr/ndr_srvsvc_c.c',
538 public_deps='dcerpc-binding NDR_SRVSVC'
541 bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
542 source='gen_ndr/ndr_svcctl_c.c',
543 public_deps='dcerpc-binding ndr-standard',
544 public_headers='gen_ndr/ndr_svcctl_c.h ndr/ndr_svcctl.h',
545 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
548 bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
549 source='gen_ndr/ndr_eventlog_c.c',
550 public_deps='dcerpc-binding ndr-standard'
553 bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
554 source='gen_ndr/ndr_epmapper_c.c',
555 public_deps='tevent NDR_EPMAPPER'
558 bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
559 source='gen_ndr/ndr_dbgidl_c.c',
560 public_deps='dcerpc-binding NDR_DBGIDL'
563 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
564 source='gen_ndr/ndr_dssetup_c.c',
565 public_deps='dcerpc-binding NDR_DSSETUP'
568 bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
569 source='gen_ndr/ndr_msgsvc_c.c',
570 public_deps='dcerpc-binding NDR_MSGSVC'
573 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
574 source='gen_ndr/ndr_winreg_c.c',
575 public_deps='dcerpc-binding ndr-standard'
578 bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
579 source='gen_ndr/ndr_initshutdown_c.c',
580 public_deps='dcerpc-binding ndr-standard'
583 bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
584 source='gen_ndr/ndr_mgmt_c.c',
585 deps='tevent NDR_MGMT'
588 bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
589 source='gen_ndr/ndr_oxidresolver_c.c',
590 public_deps='dcerpc-binding NDR_OXIDRESOLVER'
593 bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
594 source='gen_ndr/ndr_remact_c.c',
595 public_deps='dcerpc-binding NDR_REMACT'
598 bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
599 source='gen_ndr/ndr_wzcsvc_c.c',
600 public_deps='dcerpc-binding NDR_WZCSVC'
603 bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
604 source='gen_ndr/ndr_w32time_c.c',
605 public_deps='dcerpc-binding NDR_W32TIME'
608 bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
609 source='gen_ndr/ndr_scerpc_c.c',
610 public_deps='dcerpc-binding NDR_SCERPC'
613 bld.SAMBA_SUBSYSTEM('RPC_NDR_SERVER_ID',
614 source='gen_ndr/ndr_server_id_c.c',
615 public_deps='dcerpc-binding NDR_SERVER_ID'
618 bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
619 source='gen_ndr/ndr_ntsvcs_c.c',
620 public_deps='dcerpc-binding ndr-standard'
623 bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
624 source='gen_ndr/ndr_netlogon_c.c',
625 public_deps='ndr-standard tevent'
628 bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
629 source='gen_ndr/ndr_trkwks_c.c',
630 public_deps='dcerpc-binding NDR_TRKWKS'
633 bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
634 source='gen_ndr/ndr_keysvc_c.c',
635 public_deps='dcerpc-binding NDR_KEYSVC'
638 bld.SAMBA_SUBSYSTEM('RPC_NDR_BACKUPKEY',
639 source='gen_ndr/ndr_backupkey_c.c',
640 public_deps='dcerpc-binding NDR_BACKUPKEY'
643 bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSSERVER',
644 source='gen_ndr/ndr_dnsserver_c.c',
645 public_deps='dcerpc-binding ndr-standard'
648 bld.SAMBA_SUBSYSTEM('NDR_IOCTL',
649 source='gen_ndr/ndr_ioctl.c ndr/ndr_ioctl.c',
650 public_deps='ndr'
653 bld.SAMBA_SUBSYSTEM('RPC_NDR_FSRVP',
654 source='gen_ndr/ndr_fsrvp_c.c',
655 public_deps='dcerpc-binding NDR_FSRVP'
658 bld.SAMBA_SUBSYSTEM('RPC_NDR_WITNESS',
659 source='gen_ndr/ndr_witness_c.c',
660 public_deps='dcerpc-binding NDR_WITNESS'
663 bld.SAMBA_SUBSYSTEM('RPC_NDR_CLUSAPI',
664 source='gen_ndr/ndr_clusapi_c.c',
665 public_deps='dcerpc-binding NDR_CLUSAPI'
668 bld.SAMBA_SUBSYSTEM('RPC_NDR_MDSSVC',
669 source='gen_ndr/ndr_mdssvc_c.c',
670 public_deps='dcerpc-binding NDR_MDSSVC'
673 # a grouping library for NDR subsystems that may be used by more than one target
674 bld.SAMBA_LIBRARY('ndr-samba',
675 source=[],
676 deps='''NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_NEGOEX NDR_SCHANNEL NDR_MGMT
677 NDR_DNSSERVER NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM
678 NDR_NTPRINTING NDR_FSRVP NDR_WITNESS NDR_MDSSVC NDR_OPEN_FILES NDR_SMBXSRV''',
679 private_library=True,
680 grouping_library=True
683 # a grouping library for RPC_NDR subsystems that may be used by more than one target
684 bld.SAMBA_LIBRARY('dcerpc-samba',
685 source='',
686 deps='''RPC_NDR_LSA RPC_NDR_SAMR RPC_NDR_NETLOGON RPC_NDR_EVENTLOG
687 RPC_NDR_DFS RPC_NDR_NTSVCS RPC_NDR_SVCCTL RPC_NDR_INITSHUTDOWN
688 RPC_NDR_WKSSVC RPC_NDR_SRVSVC RPC_NDR_WINREG RPC_NDR_ECHO RPC_NDR_EPMAPPER
689 RPC_NDR_ATSVC RPC_NDR_SPOOLSS RPC_NDR_DNSSERVER''',
690 public_deps='ndr-standard',
691 private_library=True,
692 grouping_library=True
695 bld.SAMBA_LIBRARY('ndr',
696 source='ndr/ndr_string.c ndr/ndr_basic.c ndr/uuid.c ndr/ndr.c ndr/ndr_misc.c gen_ndr/ndr_misc.c ndr/util.c',
697 pc_files='ndr.pc',
698 public_deps='samba-errors talloc samba-util',
699 public_headers='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
700 header_path= [('*gen_ndr*', 'gen_ndr')],
701 vnum='0.0.7',
702 abi_directory='ABI',
703 abi_match='ndr_* GUID_*',
706 bld.SAMBA_LIBRARY('dcerpc-binding',
707 source='rpc/dcerpc_error.c rpc/binding.c rpc/dcerpc_util.c rpc/binding_handle.c',
708 deps='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util',
709 pc_files=[],
710 public_headers='rpc/rpc_common.h',
711 vnum='0.0.1')
713 bld.SAMBA_SUBSYSTEM('NDR_WINBIND',
714 source='gen_ndr/ndr_winbind.c',
715 public_deps='ndr NDR_LSA'
718 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINBIND',
719 source='gen_ndr/ndr_winbind_c.c',
720 public_deps='dcerpc NDR_WINBIND'
723 bld.SAMBA3_SUBSYSTEM('SRV_NDR_WINBIND',
724 source='gen_ndr/srv_winbind.c',
725 public_deps='NDR_WINBIND'
728 bld.SAMBA_SUBSYSTEM('NDR_FSRVP_STATE',
729 source='gen_ndr/ndr_fsrvp_state.c',
730 public_deps='ndr'