4 bld
.RECURSE('../lib/compression')
6 bld
.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
7 source
='gen_ndr/ndr_audiosrv.c',
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',
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 ndr/ndr_dns_utils.c',
35 public_deps
='ndr NDR_DNSP'
38 bld
.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
39 source
='gen_ndr/ndr_dsbackup.c',
43 bld
.SAMBA_SUBSYSTEM('NDR_DFS',
44 source
='gen_ndr/ndr_dfs.c',
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 NDR_FSCC'
68 bld
.SAMBA_SUBSYSTEM('NDR_FRSAPI',
69 source
='gen_ndr/ndr_frsapi.c',
73 bld
.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
74 source
='gen_ndr/ndr_frstrans.c',
78 bld
.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
79 source
='gen_ndr/ndr_dfsblobs.c',
83 bld
.SAMBA_SUBSYSTEM('NDR_BKUPBLOBS',
84 source
='ndr/ndr_bkupblobs.c gen_ndr/ndr_bkupblobs.c',
85 public_deps
='ndr NDR_SECURITY NDR_FSCC'
88 bld
.SAMBA_SUBSYSTEM('NDR_FSCC',
89 source
='gen_ndr/ndr_fscc.c',
93 bld
.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
94 source
='gen_ndr/ndr_policyagent.c',
98 bld
.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
99 source
='gen_ndr/ndr_unixinfo.c',
100 public_deps
='ndr NDR_SECURITY'
103 bld
.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
104 source
='gen_ndr/ndr_spoolss.c',
105 public_deps
='ndr NDR_SPOOLSS_BUF NDR_SECURITY'
108 bld
.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
109 source
='ndr/ndr_spoolss_buf.c',
113 bld
.SAMBA_SUBSYSTEM('NDR_WINSPOOL',
114 source
='gen_ndr/ndr_winspool.c',
115 public_deps
='ndr NDR_SPOOLSS'
118 bld
.SAMBA_SUBSYSTEM('NDR_PRINTCAP',
119 source
='gen_ndr/ndr_printcap.c',
123 bld
.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
124 source
='gen_ndr/ndr_epmapper.c',
128 bld
.SAMBA_SUBSYSTEM('NDR_DBGIDL',
129 source
='gen_ndr/ndr_dbgidl.c',
133 bld
.SAMBA_SUBSYSTEM('NDR_DSSETUP',
134 source
='gen_ndr/ndr_dssetup.c',
138 bld
.SAMBA_SUBSYSTEM('NDR_MSGSVC',
139 source
='gen_ndr/ndr_msgsvc.c',
143 bld
.SAMBA_SUBSYSTEM('NDR_MGMT',
144 source
='gen_ndr/ndr_mgmt.c',
148 bld
.SAMBA_SUBSYSTEM('NDR_ORPC',
149 source
='ndr/ndr_orpc.c gen_ndr/ndr_orpc.c',
153 bld
.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
154 source
='gen_ndr/ndr_oxidresolver.c',
155 public_deps
='ndr NDR_ORPC'
158 bld
.SAMBA_SUBSYSTEM('NDR_REMACT',
159 source
='gen_ndr/ndr_remact.c',
160 public_deps
='ndr NDR_ORPC'
163 bld
.SAMBA_SUBSYSTEM('NDR_DCOM',
164 source
='gen_ndr/ndr_dcom.c',
165 public_deps
='ndr NDR_SECURITY NDR_ORPC'
168 bld
.SAMBA_SUBSYSTEM('NDR_WMI',
169 source
='ndr/ndr_wmi.c gen_ndr/ndr_wmi.c',
170 public_deps
='ndr NDR_SECURITY NDR_DCOM'
173 bld
.SAMBA_SUBSYSTEM('NDR_WZCSVC',
174 source
='gen_ndr/ndr_wzcsvc.c',
178 bld
.SAMBA_SUBSYSTEM('NDR_BROWSER',
179 source
='gen_ndr/ndr_browser.c',
180 public_deps
='ndr NDR_SRVSVC'
183 bld
.SAMBA_SUBSYSTEM('NDR_W32TIME',
184 source
='gen_ndr/ndr_w32time.c',
188 bld
.SAMBA_SUBSYSTEM('NDR_SCERPC',
189 source
='gen_ndr/ndr_scerpc.c',
193 bld
.SAMBA_SUBSYSTEM('NDR_SERVER_ID',
194 source
='gen_ndr/ndr_server_id.c',
196 public_headers
='gen_ndr/server_id.h',
197 header_path
='gen_ndr'
200 bld
.SAMBA_SUBSYSTEM('NDR_TRKWKS',
201 source
='gen_ndr/ndr_trkwks.c',
205 bld
.SAMBA_SUBSYSTEM('NDR_KEYSVC',
206 source
='gen_ndr/ndr_keysvc.c',
210 bld
.SAMBA_SUBSYSTEM('NDR_RAP',
211 source
='gen_ndr/ndr_rap.c ndr/ndr_rap.c',
215 bld
.SAMBA_SUBSYSTEM('NDR_IDMAP',
216 source
='gen_ndr/ndr_idmap.c',
217 public_deps
='ndr ndr-standard'
220 bld
.SAMBA_SUBSYSTEM('NDR_NOTIFY',
221 source
='gen_ndr/ndr_notify.c',
222 public_deps
='ndr ndr-standard NDR_SERVER_ID NDR_FILE_ID'
225 bld
.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
226 source
='ndr/ndr_ntlmssp.c gen_ndr/ndr_ntlmssp.c',
227 public_deps
='ndr ndr-standard'
230 bld
.SAMBA_SUBSYSTEM('NDR_NEGOEX',
231 source
='ndr/ndr_negoex.c gen_ndr/ndr_negoex.c',
235 bld
.SAMBA_SUBSYSTEM('NDR_DNSP',
236 source
='gen_ndr/ndr_dnsp.c ndr/ndr_dnsp.c',
240 bld
.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
241 source
='gen_ndr/ndr_nfs4acl.c',
242 public_deps
='ndr NDR_SECURITY'
245 bld
.SAMBA_SUBSYSTEM('NDR_NTPRINTING',
246 source
='gen_ndr/ndr_ntprinting.c ndr/ndr_ntprinting.c',
250 bld
.SAMBA_SUBSYSTEM('NDR_SAMR',
251 source
='gen_ndr/ndr_samr.c',
252 public_deps
='ndr NDR_SECURITY NDR_LSA'
255 bld
.SAMBA_SUBSYSTEM('NDR_LSA',
256 source
='gen_ndr/ndr_lsa.c',
257 public_deps
='ndr NDR_SECURITY'
260 bld
.SAMBA_SUBSYSTEM('NDR_SECURITY',
261 source
='gen_ndr/ndr_security.c ndr/ndr_sec_helper.c',
262 deps
='ndr samba-security',
263 public_headers
='gen_ndr/security.h',
264 header_path
='gen_ndr'
267 bld
.SAMBA_SUBSYSTEM('NDR_SMB_ACL',
268 source
='gen_ndr/ndr_smb_acl.c',
272 bld
.SAMBA_SUBSYSTEM('NDR_SVCCTL',
273 source
='gen_ndr/ndr_svcctl.c ndr/ndr_svcctl.c',
274 public_deps
='ndr NDR_SECURITY'
277 bld
.SAMBA_SUBSYSTEM('NDR_SRVSVC',
278 source
='gen_ndr/ndr_srvsvc.c',
279 public_deps
='ndr NDR_SECURITY NDR_SVCCTL'
282 bld
.SAMBA_SUBSYSTEM('NDR_NETLOGON',
283 source
='gen_ndr/ndr_netlogon.c ndr/ndr_netlogon.c',
284 public_deps
='ndr NDR_SECURITY NDR_LSA NDR_SAMR ndr_nbt'
287 bld
.SAMBA_SUBSYSTEM('NDR_EVENTLOG',
288 source
='gen_ndr/ndr_eventlog.c',
289 public_deps
='ndr NDR_SECURITY NDR_LSA'
292 bld
.SAMBA_SUBSYSTEM('NDR_EVENTLOG6',
293 source
='gen_ndr/ndr_eventlog6.c',
297 bld
.SAMBA_SUBSYSTEM('NDR_NTSVCS',
298 source
='gen_ndr/ndr_ntsvcs.c',
302 bld
.SAMBA_SUBSYSTEM('NDR_WKSSVC',
303 source
='gen_ndr/ndr_wkssvc.c',
304 public_deps
='ndr NDR_SECURITY NDR_SRVSVC NDR_LSA'
307 bld
.SAMBA_SUBSYSTEM('NDR_ECHO',
308 source
='gen_ndr/ndr_echo.c',
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',
323 bld
.SAMBA_SUBSYSTEM('NDR_FSRVP',
324 source
='gen_ndr/ndr_fsrvp.c',
328 bld
.SAMBA_SUBSYSTEM('NDR_WITNESS',
329 source
='gen_ndr/ndr_witness.c ndr/ndr_witness.c',
333 bld
.SAMBA_SUBSYSTEM('NDR_CLUSAPI',
334 source
='gen_ndr/ndr_clusapi.c',
335 public_deps
='ndr NDR_WINREG'
338 bld
.SAMBA_SUBSYSTEM('NDR_MDSSVC',
339 source
='gen_ndr/ndr_mdssvc.c',
343 bld
.SAMBA_SUBSYSTEM('NDR_DCERPC',
344 source
='gen_ndr/ndr_dcerpc.c ndr/ndr_dcerpc.c',
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_SUBSYSTEM('NDR_KRB5PAC',
368 bld
.SAMBA_LIBRARY('ndr-krb5pac',
369 source
='ndr/ndr_krb5pac.c gen_ndr/ndr_krb5pac.c',
370 public_deps
='ndr ndr-standard NDR_SECURITY',
371 public_headers
='gen_ndr/krb5pac.h gen_ndr/ndr_krb5pac.h ndr/ndr_krb5pac.h',
372 header_path
=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')],
373 pc_files
='ndr_krb5pac.pc',
377 bld
.SAMBA_LIBRARY('ndr-standard',
380 pc_files
='ndr_standard.pc',
381 deps
='''NDR_SECURITY NDR_LSA NDR_SAMR NDR_NETLOGON
382 NDR_EVENTLOG NDR_EVENTLOG6 NDR_DFS
383 NDR_NTSVCS NDR_SVCCTL NDR_INITSHUTDOWN NDR_WKSSVC NDR_SRVSVC NDR_WINREG
384 NDR_ECHO security NDR_DNS NDR_DNSP NDR_ATSVC NDR_SPOOLSS NDR_DSSETUP
385 NDR_SERVER_ID NDR_NOTIFY''',
387 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',
388 header_path
='gen_ndr'
391 bld
.SAMBA_SUBSYSTEM('NDR_XATTR',
392 source
='ndr/ndr_xattr.c gen_ndr/ndr_xattr.c',
393 public_deps
='ndr NDR_SECURITY'
396 bld
.SAMBA_SUBSYSTEM('NDR_SMB2_LEASE_STRUCT',
397 source
='gen_ndr/ndr_smb2_lease_struct.c',
399 public_headers
='gen_ndr/smb2_lease_struct.h'
402 bld
.SAMBA_SUBSYSTEM('NDR_QUOTA',
403 source
='gen_ndr/ndr_quota.c',
407 bld
.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
408 source
='ndr/ndr_schannel.c gen_ndr/ndr_schannel.c',
409 public_deps
='ndr ndr_nbt'
412 bld
.SAMBA_SUBSYSTEM('NDR_NBT',
416 bld
.SAMBA_LIBRARY('ndr_nbt',
417 source
='gen_ndr/ndr_nbt.c ndr/ndr_nbt.c',
418 public_deps
='ndr NDR_NBT_BUF NDR_SECURITY NDR_DNS',
419 public_headers
='gen_ndr/nbt.h gen_ndr/ndr_nbt.h ndr/ndr_nbt.h',
420 header_path
=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')],
421 pc_files
='ndr_nbt.pc',
425 bld
.SAMBA_SUBSYSTEM('NDR_BACKUPKEY',
426 source
='ndr/ndr_backupkey.c gen_ndr/ndr_backupkey.c',
427 public_deps
='ndr NDR_SECURITY'
430 bld
.SAMBA_SUBSYSTEM('NDR_PREG',
431 source
='gen_ndr/ndr_preg.c ndr/ndr_preg.c',
435 bld
.SAMBA_SUBSYSTEM('NDR_CAB',
440 public_deps
='ndr NDR_COMPRESSION')
442 bld
.SAMBA_SUBSYSTEM('NDR_FILE_ID',
443 source
='gen_ndr/ndr_file_id.c',
447 bld
.SAMBA_SUBSYSTEM('NDR_MESSAGING',
448 source
='gen_ndr/ndr_messaging.c',
449 public_deps
='ndr NDR_SERVER_ID'
452 bld
.SAMBA_SUBSYSTEM('NDR_WINSTATION',
453 source
='gen_ndr/ndr_winstation.c',
457 bld
.SAMBA_SUBSYSTEM('RPC_NDR_ATSVC',
458 source
='gen_ndr/ndr_atsvc_c.c',
459 public_deps
='dcerpc-binding NDR_ATSVC'
462 bld
.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
463 source
='gen_ndr/ndr_echo_c.c',
464 public_deps
='dcerpc-binding NDR_ECHO'
467 bld
.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
468 source
='gen_ndr/ndr_lsa_c.c',
469 public_deps
='dcerpc-binding ndr-standard'
472 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SAMR',
473 source
='gen_ndr/ndr_samr_c.c',
474 public_deps
='dcerpc-binding NDR_SAMR'
477 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
478 source
='gen_ndr/ndr_dfs_c.c',
479 public_deps
='dcerpc-binding ndr-standard'
482 bld
.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
483 source
='gen_ndr/ndr_frsapi_c.c',
484 public_deps
='dcerpc-binding NDR_FRSAPI'
487 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
488 source
='gen_ndr/ndr_drsuapi_c.c',
489 public_deps
='dcerpc-binding NDR_DRSUAPI'
492 bld
.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
493 source
='gen_ndr/ndr_unixinfo_c.c',
494 public_deps
='dcerpc-binding NDR_UNIXINFO'
497 bld
.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
498 source
='gen_ndr/ndr_browser_c.c',
499 public_deps
='dcerpc-binding NDR_BROWSER'
502 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
503 source
='gen_ndr/ndr_spoolss_c.c',
504 public_deps
='dcerpc-binding NDR_SPOOLSS'
507 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WINSPOOL',
508 source
='gen_ndr/ndr_winspool_c.c',
509 public_deps
='dcerpc-binding NDR_WINSPOOL'
512 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
513 source
='gen_ndr/ndr_wkssvc_c.c',
514 public_deps
='dcerpc-binding ndr-standard'
517 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
518 source
='gen_ndr/ndr_srvsvc_c.c',
519 public_deps
='dcerpc-binding NDR_SRVSVC'
522 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
523 source
='gen_ndr/ndr_svcctl_c.c',
524 public_deps
='dcerpc-binding ndr-standard',
525 public_headers
='gen_ndr/ndr_svcctl_c.h ndr/ndr_svcctl.h',
526 header_path
=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
529 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
530 source
='gen_ndr/ndr_eventlog_c.c',
531 public_deps
='dcerpc-binding ndr-standard'
534 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
535 source
='gen_ndr/ndr_epmapper_c.c',
536 public_deps
='tevent NDR_EPMAPPER'
539 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
540 source
='gen_ndr/ndr_dssetup_c.c',
541 public_deps
='dcerpc-binding NDR_DSSETUP'
544 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
545 source
='gen_ndr/ndr_winreg_c.c',
546 public_deps
='dcerpc-binding ndr-standard'
549 bld
.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
550 source
='gen_ndr/ndr_initshutdown_c.c',
551 public_deps
='dcerpc-binding ndr-standard'
554 bld
.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
555 source
='gen_ndr/ndr_mgmt_c.c',
556 deps
='tevent NDR_MGMT'
559 bld
.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
560 source
='gen_ndr/ndr_oxidresolver_c.c',
561 public_deps
='dcerpc-binding NDR_OXIDRESOLVER'
564 bld
.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
565 source
='gen_ndr/ndr_remact_c.c',
566 public_deps
='dcerpc-binding NDR_REMACT'
569 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
570 source
='gen_ndr/ndr_ntsvcs_c.c',
571 public_deps
='dcerpc-binding ndr-standard'
574 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
575 source
='gen_ndr/ndr_netlogon_c.c',
576 public_deps
='ndr-standard tevent'
579 bld
.SAMBA_SUBSYSTEM('RPC_NDR_BACKUPKEY',
580 source
='gen_ndr/ndr_backupkey_c.c',
581 public_deps
='dcerpc-binding NDR_BACKUPKEY'
584 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DNSSERVER',
585 source
='gen_ndr/ndr_dnsserver_c.c',
586 public_deps
='dcerpc-binding ndr-standard'
589 bld
.SAMBA_SUBSYSTEM('NDR_IOCTL',
590 source
='gen_ndr/ndr_ioctl.c ndr/ndr_ioctl.c',
594 bld
.SAMBA_SUBSYSTEM('RPC_NDR_FSRVP',
595 source
='gen_ndr/ndr_fsrvp_c.c',
596 public_deps
='dcerpc-binding NDR_FSRVP'
599 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WITNESS',
600 source
='gen_ndr/ndr_witness_c.c',
601 public_deps
='dcerpc-binding NDR_WITNESS'
604 bld
.SAMBA_SUBSYSTEM('RPC_NDR_CLUSAPI',
605 source
='gen_ndr/ndr_clusapi_c.c',
606 public_deps
='dcerpc-binding NDR_CLUSAPI'
609 bld
.SAMBA_SUBSYSTEM('RPC_NDR_MDSSVC',
610 source
='gen_ndr/ndr_mdssvc_c.c',
611 public_deps
='dcerpc-binding NDR_MDSSVC'
614 # a grouping library for NDR subsystems that may be used by more than one target
615 bld
.SAMBA_LIBRARY('ndr-samba',
617 deps
='''NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_NEGOEX NDR_SCHANNEL NDR_MGMT
618 NDR_DNSSERVER NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM
619 NDR_NTPRINTING NDR_FSRVP NDR_WITNESS NDR_MDSSVC NDR_OPEN_FILES NDR_SMBXSRV''',
620 private_library
=True,
621 grouping_library
=True
624 # a grouping library for RPC_NDR subsystems that may be used by more than one target
625 bld
.SAMBA_LIBRARY('dcerpc-samba',
627 deps
='''RPC_NDR_LSA RPC_NDR_SAMR RPC_NDR_NETLOGON RPC_NDR_EVENTLOG
628 RPC_NDR_DFS RPC_NDR_NTSVCS RPC_NDR_SVCCTL RPC_NDR_INITSHUTDOWN
629 RPC_NDR_WKSSVC RPC_NDR_SRVSVC RPC_NDR_WINREG RPC_NDR_ECHO RPC_NDR_EPMAPPER
630 RPC_NDR_ATSVC RPC_NDR_SPOOLSS RPC_NDR_DNSSERVER''',
631 public_deps
='ndr-standard',
632 private_library
=True,
633 grouping_library
=True
636 bld
.SAMBA_SUBSYSTEM('NDR_MISC',
640 bld
.SAMBA_LIBRARY('ndr',
641 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',
643 public_deps
='samba-errors talloc samba-util util_str_hex',
644 public_headers
='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
645 header_path
= [('*gen_ndr*', 'gen_ndr')],
648 abi_match
='!ndr_table_* ndr_* GUID_* _ndr_pull_error _ndr_push_error',
651 bld
.SAMBA_LIBRARY('dcerpc-binding',
652 source
='rpc/dcerpc_error.c rpc/binding.c rpc/dcerpc_util.c rpc/binding_handle.c',
653 deps
='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util gensec',
655 public_headers
='rpc/rpc_common.h',
658 bld
.SAMBA_LIBRARY('dcerpc-server-core',
666 deps
='ndr dcerpc-binding samba-util-core gnutls GNUTLS_HELPERS',
668 public_headers
='rpc/dcesrv_core.h',
669 autoproto
='rpc/dcesrv_core_proto.h',
672 bld
.SAMBA_SUBSYSTEM('NDR_WINBIND',
673 source
='gen_ndr/ndr_winbind.c',
674 public_deps
='ndr NDR_LSA'
677 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WINBIND',
678 source
='gen_ndr/ndr_winbind_c.c',
679 public_deps
='dcerpc NDR_WINBIND'
682 bld
.SAMBA_SUBSYSTEM('NDR_FSRVP_STATE',
683 source
='gen_ndr/ndr_fsrvp_state.c',
690 bld
.SAMBA_BINARY('test_ndr_macros',
691 source
='tests/test_ndr_macros.c',
698 bld
.SAMBA_BINARY('test_ndr_string',
699 source
='tests/test_ndr_string.c',
707 bld
.SAMBA_BINARY('test_ndr',
708 source
='tests/test_ndr.c',
715 bld
.SAMBA_BINARY('test_ndr_dns_nbt',
716 source
='tests/test_ndr_dns_nbt.c',