VERSION: Re-enable git snapshots.
[Samba.git] / librpc / wscript_build
blob6f744eb2b3465df49251123837628c5cd7a4dc13
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'
33 bld.SAMBA_SUBSYSTEM('NDR_DNS',
34 source='gen_ndr/ndr_dns.c ndr/ndr_dns.c',
35 public_deps='ndr'
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('NDR_FRSAPI',
69 source='gen_ndr/ndr_frsapi.c',
70 public_deps='ndr'
73 bld.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
74 source='gen_ndr/ndr_frstrans.c',
75 public_deps='ndr'
78 bld.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
79 source='gen_ndr/ndr_dfsblobs.c',
80 public_deps='ndr'
83 bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
84 source='gen_ndr/ndr_policyagent.c',
85 public_deps='ndr'
88 bld.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
89 source='gen_ndr/ndr_unixinfo.c',
90 public_deps='ndr NDR_SECURITY'
93 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
94 source='gen_ndr/ndr_spoolss.c',
95 public_deps='ndr NDR_SPOOLSS_BUF NDR_SECURITY'
98 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
99 source='ndr/ndr_spoolss_buf.c',
100 deps='talloc'
103 bld.SAMBA_SUBSYSTEM('NDR_PRINTCAP',
104 source='gen_ndr/ndr_printcap.c',
105 public_deps='ndr'
108 bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
109 source='gen_ndr/ndr_epmapper.c',
110 public_deps='ndr'
113 bld.SAMBA_SUBSYSTEM('NDR_DBGIDL',
114 source='gen_ndr/ndr_dbgidl.c',
115 public_deps='ndr'
118 bld.SAMBA_SUBSYSTEM('NDR_DSSETUP',
119 source='gen_ndr/ndr_dssetup.c',
120 public_deps='ndr'
123 bld.SAMBA_SUBSYSTEM('NDR_MSGSVC',
124 source='gen_ndr/ndr_msgsvc.c',
125 public_deps='ndr'
128 bld.SAMBA_SUBSYSTEM('NDR_MGMT',
129 source='gen_ndr/ndr_mgmt.c',
130 public_deps='ndr'
133 bld.SAMBA_SUBSYSTEM('NDR_ORPC',
134 source='ndr/ndr_orpc.c gen_ndr/ndr_orpc.c',
135 public_deps='ndr'
138 bld.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
139 source='gen_ndr/ndr_oxidresolver.c',
140 public_deps='ndr NDR_ORPC'
143 bld.SAMBA_SUBSYSTEM('NDR_REMACT',
144 source='gen_ndr/ndr_remact.c',
145 public_deps='ndr NDR_ORPC'
148 bld.SAMBA_SUBSYSTEM('NDR_DCOM',
149 source='gen_ndr/ndr_dcom.c',
150 public_deps='ndr NDR_SECURITY NDR_ORPC'
153 bld.SAMBA_SUBSYSTEM('NDR_WMI',
154 source='ndr/ndr_wmi.c gen_ndr/ndr_wmi.c',
155 public_deps='ndr NDR_SECURITY NDR_DCOM'
158 bld.SAMBA_SUBSYSTEM('NDR_WZCSVC',
159 source='gen_ndr/ndr_wzcsvc.c',
160 public_deps='ndr'
163 bld.SAMBA_SUBSYSTEM('NDR_BROWSER',
164 source='gen_ndr/ndr_browser.c',
165 public_deps='ndr'
168 bld.SAMBA_SUBSYSTEM('NDR_W32TIME',
169 source='gen_ndr/ndr_w32time.c',
170 public_deps='ndr'
173 bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
174 source='gen_ndr/ndr_scerpc.c',
175 public_deps='ndr'
178 bld.SAMBA_SUBSYSTEM('NDR_SERVER_ID',
179 source='gen_ndr/ndr_server_id.c',
180 deps='ndr',
181 public_headers='gen_ndr/server_id.h',
182 header_path='gen_ndr'
185 bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
186 source='gen_ndr/ndr_trkwks.c',
187 public_deps='ndr'
190 bld.SAMBA_SUBSYSTEM('NDR_KEYSVC',
191 source='gen_ndr/ndr_keysvc.c',
192 public_deps='ndr'
195 bld.SAMBA_SUBSYSTEM('NDR_RAP',
196 source='gen_ndr/ndr_rap.c ndr/ndr_rap.c',
197 public_deps='ndr'
200 bld.SAMBA_SUBSYSTEM('NDR_IDMAP',
201 source='gen_ndr/ndr_idmap.c',
202 public_deps='ndr ndr-standard'
205 bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
206 source='gen_ndr/ndr_notify.c',
207 public_deps='ndr ndr-standard NDR_SERVER_ID NDR_FILE_ID'
210 bld.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
211 source='ndr/ndr_ntlmssp.c gen_ndr/ndr_ntlmssp.c',
212 public_deps='ndr ndr-standard'
215 bld.SAMBA_SUBSYSTEM('NDR_DNSP',
216 source='gen_ndr/ndr_dnsp.c ndr/ndr_dnsp.c',
217 public_deps='ndr'
220 bld.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
221 source='gen_ndr/ndr_nfs4acl.c',
222 public_deps='ndr NDR_SECURITY'
225 bld.SAMBA_SUBSYSTEM('NDR_NTPRINTING',
226 source='gen_ndr/ndr_ntprinting.c ndr/ndr_ntprinting.c',
227 public_deps='ndr'
230 bld.SAMBA_SUBSYSTEM('NDR_SAMR',
231 source='gen_ndr/ndr_samr.c',
232 public_deps='ndr NDR_SECURITY NDR_LSA'
235 bld.SAMBA_SUBSYSTEM('NDR_LSA',
236 source='gen_ndr/ndr_lsa.c',
237 public_deps='ndr NDR_SECURITY'
240 bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
241 source='gen_ndr/ndr_security.c ndr/ndr_sec_helper.c',
242 deps='ndr samba-security',
243 public_headers='gen_ndr/security.h',
244 header_path='gen_ndr'
247 bld.SAMBA_SUBSYSTEM('NDR_SMB_ACL',
248 source='gen_ndr/ndr_smb_acl.c',
249 deps='ndr',
252 bld.SAMBA_SUBSYSTEM('NDR_SVCCTL',
253 source='gen_ndr/ndr_svcctl.c ndr/ndr_svcctl.c',
254 public_deps='ndr NDR_SECURITY'
257 bld.SAMBA_SUBSYSTEM('NDR_SRVSVC',
258 source='gen_ndr/ndr_srvsvc.c',
259 public_deps='ndr NDR_SECURITY NDR_SVCCTL'
262 bld.SAMBA_SUBSYSTEM('NDR_NETLOGON',
263 source='gen_ndr/ndr_netlogon.c ndr/ndr_netlogon.c',
264 public_deps='ndr NDR_SECURITY NDR_LSA NDR_SAMR ndr_nbt'
267 bld.SAMBA_SUBSYSTEM('NDR_EVENTLOG',
268 source='gen_ndr/ndr_eventlog.c',
269 public_deps='ndr NDR_SECURITY NDR_LSA'
272 bld.SAMBA_SUBSYSTEM('NDR_NTSVCS',
273 source='gen_ndr/ndr_ntsvcs.c',
274 public_deps='ndr'
277 bld.SAMBA_SUBSYSTEM('NDR_WKSSVC',
278 source='gen_ndr/ndr_wkssvc.c',
279 public_deps='ndr NDR_SECURITY'
282 bld.SAMBA_SUBSYSTEM('NDR_ECHO',
283 source='gen_ndr/ndr_echo.c',
284 public_deps='ndr'
287 bld.SAMBA_SUBSYSTEM('NDR_INITSHUTDOWN',
288 source='gen_ndr/ndr_initshutdown.c',
289 public_deps='ndr NDR_LSA'
292 bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
293 source='ndr/ndr_compression.c',
294 public_deps='errors ndr',
295 deps='z LZXPRESS'
298 bld.SAMBA_SUBSYSTEM('NDR_FSRVP',
299 source='gen_ndr/ndr_fsrvp.c',
300 public_deps='ndr'
303 bld.SAMBA_SUBSYSTEM('NDR_WITNESS',
304 source='gen_ndr/ndr_witness.c',
305 public_deps='ndr'
308 bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
309 source='gen_ndr/ndr_dcerpc.c ndr/ndr_dcerpc.c',
310 public_deps='ndr',
311 public_headers='gen_ndr/ndr_dcerpc.h gen_ndr/dcerpc.h ndr/ndr_dcerpc.h',
312 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
315 bld.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
316 source='ndr/ndr_drsuapi.c gen_ndr/ndr_drsuapi.c',
317 public_deps='ndr NDR_COMPRESSION NDR_SECURITY ndr-standard asn1util',
318 public_headers='gen_ndr/ndr_drsuapi.h gen_ndr/drsuapi.h ndr/ndr_drsuapi.h',
319 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
322 bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
323 source='ndr/ndr_drsblobs.c gen_ndr/ndr_drsblobs.c',
324 public_deps='ndr NDR_DRSUAPI',
325 public_headers='gen_ndr/ndr_drsblobs.h gen_ndr/drsblobs.h ndr/ndr_drsblobs.h',
326 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
329 bld.SAMBA_LIBRARY('ndr-krb5pac',
330 source='ndr/ndr_krb5pac.c gen_ndr/ndr_krb5pac.c',
331 public_deps='ndr ndr-standard NDR_SECURITY',
332 public_headers='gen_ndr/krb5pac.h gen_ndr/ndr_krb5pac.h',
333 header_path='gen_ndr',
334 pc_files='ndr_krb5pac.pc',
335 vnum='0.0.1'
338 bld.SAMBA_LIBRARY('ndr-standard',
339 source='gen_ndr/ndr_eventlog6.c',
340 vnum='0.0.1',
341 pc_files='ndr_standard.pc',
342 deps='''NDR_SECURITY NDR_LSA NDR_SAMR NDR_NETLOGON NDR_EVENTLOG NDR_DFS
343 NDR_NTSVCS NDR_SVCCTL NDR_INITSHUTDOWN NDR_WKSSVC NDR_SRVSVC NDR_WINREG
344 NDR_ECHO security NDR_DNS NDR_ATSVC NDR_SPOOLSS NDR_DSSETUP
345 NDR_SERVER_ID NDR_NOTIFY''',
346 public_deps='ndr',
347 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',
348 header_path='gen_ndr'
351 bld.SAMBA_SUBSYSTEM('NDR_XATTR',
352 source='ndr/ndr_xattr.c gen_ndr/ndr_xattr.c',
353 public_deps='ndr NDR_SECURITY'
356 bld.SAMBA_SUBSYSTEM('NDR_SMB2_LEASE_STRUCT',
357 source='gen_ndr/ndr_smb2_lease_struct.c',
358 public_deps='ndr',
359 public_headers='gen_ndr/smb2_lease_struct.h'
362 bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
363 source='ndr/ndr_schannel.c gen_ndr/ndr_schannel.c',
364 public_deps='ndr ndr_nbt'
367 bld.SAMBA_LIBRARY('ndr_nbt',
368 source='gen_ndr/ndr_nbt.c ndr/ndr_nbt.c',
369 public_deps='ndr NDR_NBT_BUF NDR_SECURITY',
370 public_headers='gen_ndr/nbt.h gen_ndr/ndr_nbt.h ndr/ndr_nbt.h',
371 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')],
372 pc_files='ndr_nbt.pc',
373 vnum='0.0.1'
376 bld.SAMBA_SUBSYSTEM('NDR_BACKUPKEY',
377 source='ndr/ndr_backupkey.c gen_ndr/ndr_backupkey.c',
378 public_deps='ndr'
381 bld.SAMBA_SUBSYSTEM('NDR_PREG',
382 source='gen_ndr/ndr_preg.c ndr/ndr_preg.c',
383 public_deps='ndr'
386 bld.SAMBA_SUBSYSTEM('NDR_FILE_ID',
387 source='gen_ndr/ndr_file_id.c',
388 public_deps='ndr'
391 bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
392 source='gen_ndr/ndr_xattr_c.c',
393 public_deps='NDR_XATTR dcerpc-binding'
396 bld.SAMBA_SUBSYSTEM('RPC_NDR_IDMAP',
397 source='gen_ndr/ndr_idmap_c.c',
398 public_deps='NDR_IDMAP dcerpc-binding'
401 bld.SAMBA_SUBSYSTEM('RPC_NDR_SMB_ACL',
402 source='gen_ndr/ndr_smb_acl_c.c',
403 public_deps='NDR_SMB_ACL dcerpc-binding'
406 bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
407 source='gen_ndr/ndr_rot_c.c',
408 public_deps='NDR_ROT dcerpc-binding'
411 bld.SAMBA_SUBSYSTEM('RPC_NDR_ATSVC',
412 source='gen_ndr/ndr_atsvc_c.c',
413 public_deps='dcerpc-binding NDR_ATSVC'
416 bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
417 source='gen_ndr/ndr_audiosrv_c.c',
418 public_deps='NDR_AUDIOSRV dcerpc-binding'
421 bld.SAMBA_SUBSYSTEM('RPC_NDR_DNS',
422 source='gen_ndr/ndr_dns_c.c',
423 public_deps='dcerpc-binding NDR_DNS'
426 bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
427 source='gen_ndr/ndr_echo_c.c',
428 public_deps='dcerpc-binding NDR_ECHO'
431 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
432 source='gen_ndr/ndr_dsbackup_c.c',
433 public_deps='dcerpc-binding NDR_DSBACKUP'
436 bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
437 source='gen_ndr/ndr_efs_c.c',
438 public_deps='dcerpc-binding NDR_EFS'
441 bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
442 source='gen_ndr/ndr_lsa_c.c',
443 public_deps='dcerpc-binding ndr-standard'
446 bld.SAMBA_SUBSYSTEM('RPC_NDR_SAMR',
447 source='gen_ndr/ndr_samr_c.c',
448 public_deps='dcerpc-binding NDR_SAMR'
451 bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
452 source='gen_ndr/ndr_dfs_c.c',
453 public_deps='dcerpc-binding ndr-standard'
456 bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
457 source='gen_ndr/ndr_frsapi_c.c',
458 public_deps='dcerpc-binding NDR_FRSAPI'
461 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
462 source='gen_ndr/ndr_drsuapi_c.c',
463 public_deps='dcerpc-binding NDR_DRSUAPI'
466 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
467 source='gen_ndr/ndr_drsblobs_c.c',
468 public_deps='dcerpc-binding NDR_DRSBLOBS'
471 bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
472 source='gen_ndr/ndr_policyagent_c.c',
473 public_deps='dcerpc-binding NDR_POLICYAGENT'
476 bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
477 source='gen_ndr/ndr_unixinfo_c.c',
478 public_deps='dcerpc-binding NDR_UNIXINFO'
481 bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
482 source='gen_ndr/ndr_browser_c.c',
483 public_deps='dcerpc-binding NDR_BROWSER'
486 bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
487 source='gen_ndr/ndr_spoolss_c.c',
488 public_deps='dcerpc-binding NDR_SPOOLSS'
491 bld.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
492 source='gen_ndr/ndr_nbt_c.c',
493 public_deps='dcerpc-binding ndr_nbt'
496 bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
497 source='gen_ndr/ndr_wkssvc_c.c',
498 public_deps='dcerpc-binding ndr-standard'
501 bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
502 source='gen_ndr/ndr_srvsvc_c.c',
503 public_deps='dcerpc-binding NDR_SRVSVC'
506 bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
507 source='gen_ndr/ndr_svcctl_c.c',
508 public_deps='dcerpc-binding ndr-standard',
509 public_headers='gen_ndr/ndr_svcctl_c.h ndr/ndr_svcctl.h',
510 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
513 bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
514 source='gen_ndr/ndr_eventlog_c.c',
515 public_deps='dcerpc-binding ndr-standard'
518 bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
519 source='gen_ndr/ndr_epmapper_c.c',
520 public_deps='tevent NDR_EPMAPPER'
523 bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
524 source='gen_ndr/ndr_dbgidl_c.c',
525 public_deps='dcerpc-binding NDR_DBGIDL'
528 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
529 source='gen_ndr/ndr_dssetup_c.c',
530 public_deps='dcerpc-binding NDR_DSSETUP'
533 bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
534 source='gen_ndr/ndr_msgsvc_c.c',
535 public_deps='dcerpc-binding NDR_MSGSVC'
538 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
539 source='gen_ndr/ndr_winreg_c.c',
540 public_deps='dcerpc-binding ndr-standard'
543 bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
544 source='gen_ndr/ndr_initshutdown_c.c',
545 public_deps='dcerpc-binding ndr-standard'
548 bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
549 source='gen_ndr/ndr_mgmt_c.c',
550 deps='tevent NDR_MGMT'
553 bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
554 source='gen_ndr/ndr_oxidresolver_c.c',
555 public_deps='dcerpc-binding NDR_OXIDRESOLVER'
558 bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
559 source='gen_ndr/ndr_remact_c.c',
560 public_deps='dcerpc-binding NDR_REMACT'
563 bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
564 source='gen_ndr/ndr_wzcsvc_c.c',
565 public_deps='dcerpc-binding NDR_WZCSVC'
568 bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
569 source='gen_ndr/ndr_w32time_c.c',
570 public_deps='dcerpc-binding NDR_W32TIME'
573 bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
574 source='gen_ndr/ndr_scerpc_c.c',
575 public_deps='dcerpc-binding NDR_SCERPC'
578 bld.SAMBA_SUBSYSTEM('RPC_NDR_SERVER_ID',
579 source='gen_ndr/ndr_server_id_c.c',
580 public_deps='dcerpc-binding NDR_SERVER_ID'
583 bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
584 source='gen_ndr/ndr_ntsvcs_c.c',
585 public_deps='dcerpc-binding ndr-standard'
588 bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
589 source='gen_ndr/ndr_netlogon_c.c',
590 public_deps='ndr-standard tevent'
593 bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
594 source='gen_ndr/ndr_trkwks_c.c',
595 public_deps='dcerpc-binding NDR_TRKWKS'
598 bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
599 source='gen_ndr/ndr_keysvc_c.c',
600 public_deps='dcerpc-binding NDR_KEYSVC'
603 bld.SAMBA_SUBSYSTEM('RPC_NDR_BACKUPKEY',
604 source='gen_ndr/ndr_backupkey_c.c',
605 public_deps='dcerpc-binding NDR_BACKUPKEY'
608 bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSP',
609 source='gen_ndr/ndr_dnsp_c.c',
610 public_deps='dcerpc-binding NDR_DNSP'
613 bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSSERVER',
614 source='gen_ndr/ndr_dnsserver_c.c',
615 public_deps='dcerpc-binding ndr-standard'
618 bld.SAMBA_SUBSYSTEM('NDR_IOCTL',
619 source='gen_ndr/ndr_ioctl.c ndr/ndr_ioctl.c',
620 public_deps='ndr'
623 bld.SAMBA_SUBSYSTEM('RPC_NDR_FSRVP',
624 source='gen_ndr/ndr_fsrvp_c.c',
625 public_deps='dcerpc-binding NDR_FSRVP'
628 bld.SAMBA_SUBSYSTEM('RPC_NDR_WITNESS',
629 source='gen_ndr/ndr_witness_c.c',
630 public_deps='dcerpc-binding NDR_WITNESS'
633 # a grouping library for NDR subsystems that may be used by more than one target
634 bld.SAMBA_LIBRARY('ndr-samba',
635 source=[],
636 deps='''NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_SCHANNEL NDR_MGMT
637 NDR_DNSP NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM
638 NDR_NTPRINTING NDR_FSRVP NDR_WITNESS NDR_OPEN_FILES NDR_SMBXSRV''',
639 private_library=True,
640 grouping_library=True
643 # a grouping library for RPC_NDR subsystems that may be used by more than one target
644 bld.SAMBA_LIBRARY('dcerpc-samba',
645 source='',
646 deps='''RPC_NDR_LSA RPC_NDR_SAMR RPC_NDR_NETLOGON RPC_NDR_EVENTLOG
647 RPC_NDR_DFS RPC_NDR_NTSVCS RPC_NDR_SVCCTL RPC_NDR_INITSHUTDOWN
648 RPC_NDR_WKSSVC RPC_NDR_SRVSVC RPC_NDR_WINREG RPC_NDR_ECHO RPC_NDR_EPMAPPER
649 RPC_NDR_ATSVC RPC_NDR_SPOOLSS RPC_NDR_DNS''',
650 public_deps='ndr-standard',
651 private_library=True,
652 grouping_library=True
655 bld.SAMBA_LIBRARY('ndr',
656 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',
657 pc_files='ndr.pc',
658 public_deps='errors talloc samba-util',
659 public_headers='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
660 header_path= [('*gen_ndr*', 'gen_ndr')],
661 vnum='0.0.3',
662 abi_directory='ABI',
663 abi_match='ndr_* GUID_*',
666 bld.SAMBA_LIBRARY('dcerpc-binding',
667 source='rpc/dcerpc_error.c rpc/binding.c rpc/dcerpc_util.c rpc/binding_handle.c',
668 deps='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util',
669 pc_files=[],
670 public_headers='rpc/rpc_common.h',
671 vnum='0.0.1')
673 bld.SAMBA_SUBSYSTEM('NDR_WINBIND',
674 source='gen_ndr/ndr_winbind.c',
675 public_deps='ndr NDR_LSA'
678 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINBIND',
679 source='gen_ndr/ndr_winbind_c.c',
680 public_deps='dcerpc NDR_WINBIND'
683 bld.SAMBA3_SUBSYSTEM('SRV_NDR_WINBIND',
684 source='gen_ndr/srv_winbind.c',
685 public_deps='NDR_WINBIND'