3 bld
.RECURSE('../../librpc/idl')
6 bld
.SAMBA_LIBRARY('LIBNDR',
7 source
='../../librpc/ndr/ndr_string.c ../../librpc/ndr/ndr_basic.c ../../librpc/ndr/uuid.c ../../librpc/ndr/ndr.c ../../librpc/ndr/ndr_misc.c ../../librpc/gen_ndr/ndr_misc.c',
8 pc_files
='../../librpc/ndr.pc',
9 public_deps
='LIBSAMBA-ERRORS talloc LIBSAMBA-UTIL CHARSET LIBSAMBA-HOSTCONFIG',
10 public_headers
='../../librpc/gen_ndr/misc.h ../../librpc/gen_ndr/ndr_misc.h ../../librpc/ndr/libndr.h:ndr.h',
11 header_path
= [ ( '*gen_ndr*', 'gen_ndr' ) ],
12 depends_on
='PIDL_MISC',
17 bld
.SAMBA_BINARY('ndrdump',
18 source
='../../librpc/tools/ndrdump.c',
19 manpages
='../../librpc/tools/ndrdump.1',
20 deps
='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt POPT_SAMBA NDR_TABLE LIBSAMBA-ERRORS'
24 bld
.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
25 source
='../../librpc/ndr/ndr_compression.c',
26 public_deps
='LIBSAMBA-ERRORS LIBNDR',
31 bld
.SAMBA_SUBSYSTEM('NDR_SECURITY',
32 source
='../../librpc/gen_ndr/ndr_security.c ../../librpc/ndr/ndr_sec_helper.c gen_ndr/ndr_server_id.c',
33 public_deps
='LIBNDR LIBSECURITY',
34 public_headers
='../../librpc/gen_ndr/security.h gen_ndr/server_id.h',
39 bld
.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
40 source
='../../librpc/gen_ndr/ndr_audiosrv.c',
45 bld
.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
46 source
='../../librpc/gen_ndr/ndr_named_pipe_auth.c',
51 bld
.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
52 source
='../../librpc/gen_ndr/ndr_dnsserver.c',
57 bld
.SAMBA_SUBSYSTEM('NDR_WINSTATION',
58 source
='gen_ndr/ndr_winstation.c',
63 bld
.SAMBA_SUBSYSTEM('NDR_IRPC',
64 source
='gen_ndr/ndr_irpc.c',
65 public_deps
='LIBNDR NDR_SECURITY NDR_NBT'
69 bld
.SAMBA_SUBSYSTEM('NDR_DCOM',
70 source
='../../librpc/gen_ndr/ndr_dcom.c',
71 public_deps
='LIBNDR NDR_SECURITY NDR_ORPC'
75 bld
.SAMBA_SUBSYSTEM('NDR_WMI',
76 source
='../../librpc/ndr/ndr_wmi.c ../../librpc/gen_ndr/ndr_wmi.c',
77 public_deps
='LIBNDR NDR_SECURITY NDR_DCOM'
81 bld
.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
82 source
='../../librpc/gen_ndr/ndr_dsbackup.c',
87 bld
.SAMBA_SUBSYSTEM('NDR_EFS',
88 source
='../../librpc/gen_ndr/ndr_efs.c',
89 public_deps
='LIBNDR NDR_SECURITY'
93 bld
.SAMBA_SUBSYSTEM('NDR_ROT',
94 source
='../../librpc/gen_ndr/ndr_rot.c',
95 public_deps
='LIBNDR NDR_ORPC'
99 bld
.SAMBA_SUBSYSTEM('NDR_FRSRPC',
100 source
='../../librpc/ndr/ndr_frsrpc.c ../../librpc/gen_ndr/ndr_frsrpc.c',
105 bld
.SAMBA_SUBSYSTEM('NDR_FRSAPI',
106 source
='../../librpc/gen_ndr/ndr_frsapi.c',
111 bld
.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
112 source
='../../librpc/gen_ndr/ndr_frstrans.c',
117 bld
.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
118 source
='../../librpc/ndr/ndr_drsuapi.c ../../librpc/gen_ndr/ndr_drsuapi.c',
119 public_deps
='LIBNDR NDR_COMPRESSION NDR_SECURITY NDR_STANDARD ASN1_UTIL'
123 bld
.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
124 source
='../../librpc/ndr/ndr_drsblobs.c ../../librpc/gen_ndr/ndr_drsblobs.c',
125 public_deps
='LIBNDR NDR_DRSUAPI'
129 bld
.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
130 source
='../../librpc/gen_ndr/ndr_dfsblobs.c',
135 bld
.SAMBA_SUBSYSTEM('NDR_SASL_HELPERS',
136 source
='gen_ndr/ndr_sasl_helpers.c',
141 bld
.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
142 source
='../../librpc/gen_ndr/ndr_policyagent.c',
147 bld
.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
148 source
='../../librpc/gen_ndr/ndr_unixinfo.c',
149 public_deps
='LIBNDR NDR_SECURITY'
153 bld
.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
154 source
='gen_ndr/ndr_nfs4acl.c',
155 public_deps
='LIBNDR NDR_SECURITY'
159 bld
.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
160 source
='../../librpc/gen_ndr/ndr_spoolss.c',
161 public_deps
='LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY'
165 bld
.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
166 source
='../../librpc/ndr/ndr_spoolss_buf.c',
171 bld
.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
172 source
='../../librpc/gen_ndr/ndr_epmapper.c',
177 bld
.SAMBA_SUBSYSTEM('NDR_DBGIDL',
178 source
='../../librpc/gen_ndr/ndr_dbgidl.c',
183 bld
.SAMBA_SUBSYSTEM('NDR_DSSETUP',
184 source
='../../librpc/gen_ndr/ndr_dssetup.c',
189 bld
.SAMBA_SUBSYSTEM('NDR_MSGSVC',
190 source
='../../librpc/gen_ndr/ndr_msgsvc.c',
195 bld
.SAMBA_SUBSYSTEM('NDR_WINSIF',
196 source
='gen_ndr/ndr_winsif.c',
201 bld
.SAMBA_SUBSYSTEM('NDR_MGMT',
202 source
='../../librpc/gen_ndr/ndr_mgmt.c',
207 bld
.SAMBA_SUBSYSTEM('NDR_PROTECTED_STORAGE',
208 source
='../../librpc/gen_ndr/ndr_protected_storage.c',
213 bld
.SAMBA_SUBSYSTEM('NDR_ORPC',
214 source
='../../librpc/ndr/ndr_orpc.c ../../librpc/gen_ndr/ndr_orpc.c',
219 bld
.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
220 source
='../../librpc/gen_ndr/ndr_oxidresolver.c',
221 public_deps
='LIBNDR NDR_ORPC'
225 bld
.SAMBA_SUBSYSTEM('NDR_REMACT',
226 source
='../../librpc/gen_ndr/ndr_remact.c',
227 public_deps
='LIBNDR NDR_ORPC'
231 bld
.SAMBA_SUBSYSTEM('NDR_WZCSVC',
232 source
='../../librpc/gen_ndr/ndr_wzcsvc.c',
237 bld
.SAMBA_SUBSYSTEM('NDR_BROWSER',
238 source
='../../librpc/gen_ndr/ndr_browser.c',
243 bld
.SAMBA_SUBSYSTEM('NDR_W32TIME',
244 source
='../../librpc/gen_ndr/ndr_w32time.c',
249 bld
.SAMBA_SUBSYSTEM('NDR_SCERPC',
250 source
='../../librpc/gen_ndr/ndr_scerpc.c',
255 bld
.SAMBA_SUBSYSTEM('NDR_TRKWKS',
256 source
='../../librpc/gen_ndr/ndr_trkwks.c',
261 bld
.SAMBA_SUBSYSTEM('NDR_KEYSVC',
262 source
='../../librpc/gen_ndr/ndr_keysvc.c',
266 bld
.SAMBA_SUBSYSTEM('NDR_RAP',
267 source
='../../librpc/gen_ndr/ndr_rap.c ../../librpc/ndr/ndr_rap.c',
272 bld
.SAMBA_SUBSYSTEM('NDR_KRB5PAC',
273 source
='../../librpc/ndr/ndr_krb5pac.c ../../librpc/gen_ndr/ndr_krb5pac.c',
274 public_deps
='LIBNDR NDR_STANDARD NDR_SECURITY'
278 bld
.SAMBA_SUBSYSTEM('NDR_XATTR',
279 source
='../../librpc/ndr/ndr_xattr.c ../../librpc/gen_ndr/ndr_xattr.c',
280 public_deps
='LIBNDR NDR_SECURITY'
284 bld
.SAMBA_SUBSYSTEM('NDR_OPENDB',
285 source
='gen_ndr/ndr_opendb.c',
290 bld
.SAMBA_SUBSYSTEM('NDR_NOTIFY',
291 source
='gen_ndr/ndr_s4_notify.c',
296 bld
.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
297 source
='../../librpc/ndr/ndr_schannel.c ../../librpc/gen_ndr/ndr_schannel.c',
298 public_deps
='LIBNDR NDR_NBT'
302 bld
.SAMBA_SUBSYSTEM('NDR_NBT',
303 source
='../../librpc/gen_ndr/ndr_nbt.c',
304 public_deps
='LIBNDR NDR_NBT_BUF NDR_SECURITY NDR_STANDARD LIBCLI_NDR_NETLOGON',
305 public_headers
='../../librpc/gen_ndr/nbt.h',
306 header_path
='gen_ndr'
310 bld
.SAMBA_SUBSYSTEM('NDR_NTP_SIGND',
311 source
='gen_ndr/ndr_ntp_signd.c',
316 bld
.SAMBA_SUBSYSTEM('NDR_WINSREPL',
317 source
='gen_ndr/ndr_winsrepl.c',
318 public_deps
='LIBNDR NDR_NBT'
322 bld
.SAMBA_SUBSYSTEM('NDR_IDMAP',
323 source
='../../librpc/gen_ndr/ndr_idmap.c',
324 public_deps
='LIBNDR NDR_STANDARD'
327 bld
.SAMBA_SUBSYSTEM('NDR_WINBIND',
328 source
='gen_ndr/ndr_winbind.c',
329 public_deps
='NDR_IDMAP LIBNDR NDR_STANDARD'
333 bld
.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
334 source
='../../librpc/ndr/ndr_ntlmssp.c ../../librpc/gen_ndr/ndr_ntlmssp.c',
335 public_deps
='LIBNDR NDR_STANDARD'
339 bld
.SAMBA_LIBRARY('NDR_STANDARD',
340 source
='../../librpc/gen_ndr/ndr_echo.c ../../librpc/gen_ndr/ndr_lsa.c ../../librpc/gen_ndr/ndr_samr.c ../../librpc/ndr/ndr_netlogon.c ../../librpc/gen_ndr/ndr_netlogon.c ../../librpc/gen_ndr/ndr_dfs.c ../../librpc/gen_ndr/ndr_atsvc.c ../../librpc/gen_ndr/ndr_wkssvc.c ../../librpc/gen_ndr/ndr_srvsvc.c ../../librpc/ndr/ndr_svcctl.c ../../librpc/gen_ndr/ndr_svcctl.c ../../librpc/gen_ndr/ndr_winreg.c ../../librpc/gen_ndr/ndr_initshutdown.c ../../librpc/gen_ndr/ndr_eventlog.c ../../librpc/gen_ndr/ndr_ntsvcs.c',
342 pc_files
='../../librpc/ndr_standard.pc',
344 public_deps
='LIBNDR',
345 public_headers
='../../librpc/gen_ndr/samr.h ../../librpc/gen_ndr/ndr_samr.h ../../librpc/gen_ndr/lsa.h ../../librpc/gen_ndr/netlogon.h ../../librpc/gen_ndr/atsvc.h ../../librpc/gen_ndr/ndr_atsvc.h ../../librpc/gen_ndr/ndr_svcctl.h ../../librpc/gen_ndr/svcctl.h',
346 header_path
='gen_ndr'
350 bld
.SAMBA_PIDL_TABLES('GEN_NDR_TABLES', 'gen_ndr/tables.c')
352 bld
.SAMBA_SUBSYSTEM('NDR_TABLE',
353 source
='../../librpc/ndr/ndr_table.c gen_ndr/tables.c',
354 public_deps
='NDR_STANDARD NDR_AUDIOSRV NDR_DSBACKUP NDR_EFS NDR_DRSUAPI NDR_POLICYAGENT NDR_UNIXINFO NDR_SPOOLSS NDR_EPMAPPER NDR_DBGIDL NDR_DSSETUP NDR_MSGSVC NDR_WINSIF NDR_MGMT NDR_PROTECTED_STORAGE NDR_OXIDRESOLVER NDR_REMACT NDR_WZCSVC NDR_BROWSER NDR_W32TIME NDR_SCERPC NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL NDR_ROT NDR_DRSBLOBS NDR_NBT NDR_WINSREPL NDR_SECURITY NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI NDR_FRSTRANS NDR_NFS4ACL NDR_NTP_SIGND NDR_DCOM NDR_WMI NDR_NAMED_PIPE_AUTH NDR_NTLMSSP NDR_DFSBLOBS',
355 depends_on
='GEN_NDR_TABLES'
359 bld
.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
360 source
='../../librpc/gen_ndr/ndr_xattr_c.c',
361 public_deps
='NDR_XATTR dcerpc'
365 bld
.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
366 source
='../../librpc/gen_ndr/ndr_rot_c.c',
367 public_deps
='NDR_ROT dcerpc'
371 bld
.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
372 source
='../../librpc/gen_ndr/ndr_audiosrv_c.c',
373 public_deps
='NDR_AUDIOSRV dcerpc'
377 bld
.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
378 source
='../../librpc/gen_ndr/ndr_echo_c.c',
379 public_deps
='dcerpc NDR_STANDARD'
383 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
384 source
='../../librpc/gen_ndr/ndr_dsbackup_c.c',
385 public_deps
='dcerpc NDR_DSBACKUP'
389 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
390 source
='../../librpc/gen_ndr/ndr_efs_c.c',
391 public_deps
='dcerpc NDR_EFS'
395 bld
.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
396 source
='../../librpc/gen_ndr/ndr_lsa_c.c',
397 public_deps
='dcerpc NDR_STANDARD'
401 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
402 source
='../../librpc/gen_ndr/ndr_dfs_c.c',
403 public_deps
='dcerpc NDR_STANDARD'
407 bld
.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
408 source
='../../librpc/gen_ndr/ndr_frsapi_c.c',
409 public_deps
='dcerpc NDR_FRSAPI'
413 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
414 source
='../../librpc/gen_ndr/ndr_drsuapi_c.c',
415 public_deps
='dcerpc NDR_DRSUAPI'
419 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
420 source
='../../librpc/gen_ndr/ndr_drsblobs_c.c',
421 public_deps
='dcerpc NDR_DRSBLOBS'
425 bld
.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
426 source
='../../librpc/gen_ndr/ndr_policyagent_c.c',
427 public_deps
='dcerpc NDR_POLICYAGENT'
431 bld
.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
432 source
='../../librpc/gen_ndr/ndr_unixinfo_c.c',
433 public_deps
='dcerpc NDR_UNIXINFO'
437 bld
.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
438 source
='../../librpc/gen_ndr/ndr_browser_c.c',
439 public_deps
='dcerpc NDR_BROWSER'
443 bld
.SAMBA_SUBSYSTEM('RPC_NDR_IRPC',
444 source
='gen_ndr/ndr_irpc_c.c',
445 public_deps
='dcerpc NDR_IRPC'
449 bld
.SAMBA_LIBRARY('dcerpc_samr',
450 source
='../../librpc/gen_ndr/ndr_samr_c.c',
451 pc_files
='dcerpc_samr.pc',
453 public_deps
='dcerpc NDR_STANDARD',
454 public_headers
='../../librpc/gen_ndr/ndr_samr_c.h',
455 header_path
='gen_ndr'
459 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
460 source
='../../librpc/gen_ndr/ndr_spoolss_c.c',
461 public_deps
='dcerpc NDR_SPOOLSS'
464 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
465 source
='../../librpc/gen_ndr/ndr_nbt_c.c',
466 public_deps
='dcerpc NDR_NBT'
469 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
470 source
='../../librpc/gen_ndr/ndr_wkssvc_c.c',
471 public_deps
='dcerpc NDR_STANDARD'
475 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
476 source
='../../librpc/gen_ndr/ndr_srvsvc_c.c',
477 public_deps
='dcerpc NDR_SRVSVC'
481 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
482 source
='../../librpc/gen_ndr/ndr_svcctl_c.c',
483 public_deps
='dcerpc NDR_STANDARD',
484 public_headers
='../../librpc/gen_ndr/ndr_svcctl_c.h',
485 header_path
='gen_ndr'
489 bld
.SAMBA_LIBRARY('dcerpc_atsvc',
490 source
='../../librpc/gen_ndr/ndr_atsvc_c.c',
491 pc_files
='dcerpc_atsvc.pc',
493 public_deps
='dcerpc NDR_STANDARD',
494 public_headers
='../../librpc/gen_ndr/ndr_atsvc_c.h',
495 header_path
='gen_ndr'
499 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
500 source
='../../librpc/gen_ndr/ndr_eventlog_c.c',
501 public_deps
='dcerpc NDR_STANDARD'
505 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
506 source
='../../librpc/gen_ndr/ndr_epmapper_c.c',
507 public_deps
='tevent NDR_EPMAPPER'
511 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
512 source
='../../librpc/gen_ndr/ndr_dbgidl_c.c',
513 public_deps
='dcerpc NDR_DBGIDL'
517 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
518 source
='../../librpc/gen_ndr/ndr_dssetup_c.c',
519 public_deps
='dcerpc NDR_DSSETUP'
523 bld
.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
524 source
='../../librpc/gen_ndr/ndr_msgsvc_c.c',
525 public_deps
='dcerpc NDR_MSGSVC'
529 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WINSIF',
530 source
='gen_ndr/ndr_winsif_c.c',
531 public_deps
='dcerpc NDR_WINSIF'
535 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
536 source
='../../librpc/gen_ndr/ndr_winreg_c.c',
537 public_deps
='dcerpc NDR_STANDARD'
541 bld
.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
542 source
='../../librpc/gen_ndr/ndr_initshutdown_c.c',
543 public_deps
='dcerpc NDR_STANDARD'
547 bld
.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
548 source
='../../librpc/gen_ndr/ndr_mgmt_c.c',
549 deps
='tevent NDR_MGMT'
553 bld
.SAMBA_SUBSYSTEM('RPC_NDR_PROTECTED_STORAGE',
554 source
='../../librpc/gen_ndr/ndr_protected_storage_c.c',
555 public_deps
='dcerpc NDR_PROTECTED_STORAGE'
559 bld
.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
560 source
='../../librpc/gen_ndr/ndr_oxidresolver_c.c',
561 public_deps
='dcerpc NDR_OXIDRESOLVER'
565 bld
.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
566 source
='../../librpc/gen_ndr/ndr_remact_c.c',
567 public_deps
='dcerpc NDR_REMACT'
571 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
572 source
='../../librpc/gen_ndr/ndr_wzcsvc_c.c',
573 public_deps
='dcerpc NDR_WZCSVC'
577 bld
.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
578 source
='../../librpc/gen_ndr/ndr_w32time_c.c',
579 public_deps
='dcerpc NDR_W32TIME'
583 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
584 source
='../../librpc/gen_ndr/ndr_scerpc_c.c',
585 public_deps
='dcerpc NDR_SCERPC'
589 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
590 source
='../../librpc/gen_ndr/ndr_ntsvcs_c.c',
591 public_deps
='dcerpc NDR_STANDARD'
595 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
596 source
='../../librpc/gen_ndr/ndr_netlogon_c.c',
597 public_deps
='NDR_STANDARD'
601 bld
.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
602 source
='../../librpc/gen_ndr/ndr_trkwks_c.c',
603 public_deps
='dcerpc NDR_TRKWKS'
607 bld
.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
608 source
='../../librpc/gen_ndr/ndr_keysvc_c.c',
609 public_deps
='dcerpc NDR_KEYSVC'
613 bld
.SAMBA_SUBSYSTEM('NDR_DCERPC',
614 source
='../../librpc/gen_ndr/ndr_dcerpc.c',
615 public_deps
='LIBNDR',
616 public_headers
='rpc/dcerpc.h ../../librpc/gen_ndr/ndr_dcerpc.h ../../librpc/gen_ndr/dcerpc.h',
617 header_path
= [ ('*gen_ndr*', 'gen_ndr') ],
620 bld
.SAMBA_LIBRARY('dcerpc',
621 source
='''rpc/dcerpc.c rpc/dcerpc_auth.c rpc/dcerpc_schannel.c
622 rpc/dcerpc_util.c rpc/dcerpc_smb.c rpc/dcerpc_smb2.c rpc/dcerpc_sock.c
623 rpc/dcerpc_connect.c rpc/dcerpc_secondary.c ../../librpc/rpc/binding.c
624 ../../librpc/rpc/dcerpc_error.c ../../librpc/rpc/dcerpc_util.c
625 ../../librpc/rpc/binding_handle.c''',
626 pc_files
='dcerpc.pc',
627 deps
='samba_socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER NDR_SCHANNEL RPC_NDR_NETLOGON RPC_NDR_MGMT gensec LIBCLI_AUTH LIBCLI_RAW LP_RESOLVE UTIL_TEVENT',
628 autoproto
='rpc/dcerpc_proto.h',
629 public_deps
='CREDENTIALS tevent talloc',
630 public_headers
='../../librpc/gen_ndr/mgmt.h ../../librpc/gen_ndr/ndr_mgmt.h ../../librpc/gen_ndr/ndr_mgmt_c.h ../../librpc/gen_ndr/epmapper.h ../../librpc/gen_ndr/ndr_epmapper.h ../../librpc/gen_ndr/ndr_epmapper_c.h',
631 header_path
='gen_ndr',
636 bld
.SAMBA_PYTHON('python_dcerpc',
637 source
='rpc/pyrpc.c',
638 public_deps
='LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pycredentials pyparam_util',
639 realname
='samba/dcerpc/base.so'
643 bld
.SAMBA_PYTHON('python_echo',
644 source
='../../librpc/gen_ndr/py_echo.c',
645 deps
='RPC_NDR_ECHO PYTALLOC pyparam_util pycredentials python_dcerpc',
646 realname
='samba/dcerpc/echo.so'
650 bld
.SAMBA_PYTHON('python_winreg',
651 source
='../../librpc/gen_ndr/py_winreg.c',
652 deps
='RPC_NDR_WINREG PYTALLOC pyparam_util pycredentials python_dcerpc',
653 realname
='samba/dcerpc/winreg.so'
657 bld
.SAMBA_PYTHON('python_dcerpc_misc',
658 source
='../../librpc/gen_ndr/py_misc.c',
659 deps
='PYTALLOC python_dcerpc NDR_MISC NDR_KRB5PAC',
660 realname
='samba/dcerpc/misc.so'
664 bld
.SAMBA_PYTHON('python_initshutdown',
665 source
='../../librpc/gen_ndr/py_initshutdown.c',
666 deps
='RPC_NDR_INITSHUTDOWN PYTALLOC pyparam_util pycredentials python_dcerpc',
667 realname
='samba/dcerpc/initshutdown.so'
671 bld
.SAMBA_PYTHON('python_epmapper',
672 source
='../../librpc/gen_ndr/py_epmapper.c',
673 deps
='dcerpc PYTALLOC pyparam_util pycredentials python_dcerpc',
674 realname
='samba/dcerpc/epmapper.so'
678 bld
.SAMBA_PYTHON('python_mgmt',
679 source
='../../librpc/gen_ndr/py_mgmt.c',
680 deps
='PYTALLOC param pycredentials dcerpc python_dcerpc',
681 realname
='samba/dcerpc/mgmt.so'
685 bld
.SAMBA_PYTHON('python_atsvc',
686 source
='../../librpc/gen_ndr/py_atsvc.c',
687 deps
='dcerpc_atsvc PYTALLOC pyparam_util pycredentials python_dcerpc',
688 realname
='samba/dcerpc/atsvc.so'
692 bld
.SAMBA_PYTHON('python_dcerpc_nbt',
693 source
='../../librpc/gen_ndr/py_nbt.c',
694 deps
='NDR_NBT RPC_NDR_NBT PYTALLOC pyparam_util pycredentials python_dcerpc',
695 realname
='samba/dcerpc/nbt.so'
699 bld
.SAMBA_PYTHON('python_samr',
700 source
='../../librpc/gen_ndr/py_samr.c',
701 deps
='dcerpc_samr PYTALLOC pycredentials pyparam_util python_dcerpc',
702 realname
='samba/dcerpc/samr.so'
706 bld
.SAMBA_PYTHON('python_svcctl',
707 source
='../../librpc/gen_ndr/py_svcctl.c',
708 deps
='RPC_NDR_SVCCTL PYTALLOC pyparam_util pycredentials python_dcerpc',
709 realname
='samba/dcerpc/svcctl.so'
713 bld
.SAMBA_PYTHON('python_lsa',
714 source
='../../librpc/gen_ndr/py_lsa.c',
715 deps
='RPC_NDR_LSA PYTALLOC pyparam_util pycredentials python_dcerpc',
716 realname
='samba/dcerpc/lsa.so'
720 bld
.SAMBA_PYTHON('python_wkssvc',
721 source
='../../librpc/gen_ndr/py_wkssvc.c',
722 deps
='RPC_NDR_WKSSVC PYTALLOC pyparam_util pycredentials python_dcerpc',
723 realname
='samba/dcerpc/wkssvc.so'
727 bld
.SAMBA_PYTHON('python_dfs',
728 source
='../../librpc/gen_ndr/py_dfs.c',
729 deps
='RPC_NDR_DFS PYTALLOC pyparam_util pycredentials python_dcerpc',
730 realname
='samba/dcerpc/dfs.so'
734 bld
.SAMBA_PYTHON('python_unixinfo',
735 source
='../../librpc/gen_ndr/py_unixinfo.c',
736 deps
='RPC_NDR_UNIXINFO PYTALLOC pyparam_util pycredentials python_dcerpc',
737 realname
='samba/dcerpc/unixinfo.so'
741 bld
.SAMBA_PYTHON('python_irpc',
742 source
='gen_ndr/py_irpc.c',
743 deps
='RPC_NDR_IRPC PYTALLOC pyparam_util pycredentials python_dcerpc',
744 realname
='samba/dcerpc/irpc.so'
748 bld
.SAMBA_PYTHON('python_drsuapi',
749 source
='../../librpc/gen_ndr/py_drsuapi.c',
750 deps
='RPC_NDR_DRSUAPI PYTALLOC pyparam_util pycredentials python_dcerpc',
751 realname
='samba/dcerpc/drsuapi.so'
755 bld
.SAMBA_PYTHON('python_drsblobs',
756 source
='../../librpc/gen_ndr/py_drsblobs.c',
757 deps
='RPC_NDR_DRSBLOBS PYTALLOC pyparam_util pycredentials python_dcerpc',
758 realname
='samba/dcerpc/drsblobs.so'
762 bld
.SAMBA_PYTHON('python_dcerpc_security',
763 source
='../../librpc/gen_ndr/py_security.c',
764 deps
='PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY',
765 realname
='samba/dcerpc/security.so'
768 bld
.SAMBA_PYTHON('python_dcerpc_drsblobs',
769 source
='../../librpc/gen_ndr/py_drsblobs.c ../../librpc/gen_ndr/ndr_drsblobs_c.c',
770 deps
='PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY',
771 realname
='samba/dcerpc/drsblobs.so'
775 bld
.SAMBA_PYTHON('python_dcerpc_xattr',
776 source
='../../librpc/gen_ndr/py_xattr.c',
777 deps
='PYTALLOC python_dcerpc_misc python_dcerpc python_dcerpc_security NDR_XATTR RPC_NDR_XATTR',
778 realname
='samba/dcerpc/xattr.so'
781 bld
.SAMBA_SCRIPT('python_dcerpc_init',
782 pattern
='rpc/dcerpc.py',
783 installdir
='python/samba/dcerpc',
784 installname
='__init__.py')
786 bld
.INSTALL_FILES('${PYTHONDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname
='__init__.py')