libwbclient: unimplement wbcSetUidMapping()
[Samba/gebeck_regimport.git] / source4 / librpc / wscript_build
blob4ee0770fce9ddd9765d3c5614e95f182491b0ef7
1 #!/usr/bin/env python
3 bld.RECURSE('../../librpc/idl')
4 bld.RECURSE('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',
13 vnum='0.0.1'
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',
27 deps='ZLIB LZXPRESS'
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',
35 header_path='gen_ndr'
39 bld.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
40 source='../../librpc/gen_ndr/ndr_audiosrv.c',
41 public_deps='LIBNDR'
45 bld.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
46 source='../../librpc/gen_ndr/ndr_named_pipe_auth.c',
47 public_deps='LIBNDR'
51 bld.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
52 source='../../librpc/gen_ndr/ndr_dnsserver.c',
53 public_deps='LIBNDR'
57 bld.SAMBA_SUBSYSTEM('NDR_WINSTATION',
58 source='gen_ndr/ndr_winstation.c',
59 public_deps='LIBNDR'
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',
83 public_deps='LIBNDR'
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',
101 public_deps='LIBNDR'
105 bld.SAMBA_SUBSYSTEM('NDR_FRSAPI',
106 source='../../librpc/gen_ndr/ndr_frsapi.c',
107 public_deps='LIBNDR'
111 bld.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
112 source='../../librpc/gen_ndr/ndr_frstrans.c',
113 public_deps='LIBNDR'
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',
131 public_deps='LIBNDR'
135 bld.SAMBA_SUBSYSTEM('NDR_SASL_HELPERS',
136 source='gen_ndr/ndr_sasl_helpers.c',
137 public_deps='LIBNDR'
141 bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
142 source='../../librpc/gen_ndr/ndr_policyagent.c',
143 public_deps='LIBNDR'
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',
167 deps='talloc'
171 bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
172 source='../../librpc/gen_ndr/ndr_epmapper.c',
173 public_deps='LIBNDR'
177 bld.SAMBA_SUBSYSTEM('NDR_DBGIDL',
178 source='../../librpc/gen_ndr/ndr_dbgidl.c',
179 public_deps='LIBNDR'
183 bld.SAMBA_SUBSYSTEM('NDR_DSSETUP',
184 source='../../librpc/gen_ndr/ndr_dssetup.c',
185 public_deps='LIBNDR'
189 bld.SAMBA_SUBSYSTEM('NDR_MSGSVC',
190 source='../../librpc/gen_ndr/ndr_msgsvc.c',
191 public_deps='LIBNDR'
195 bld.SAMBA_SUBSYSTEM('NDR_WINSIF',
196 source='gen_ndr/ndr_winsif.c',
197 public_deps='LIBNDR'
201 bld.SAMBA_SUBSYSTEM('NDR_MGMT',
202 source='../../librpc/gen_ndr/ndr_mgmt.c',
203 public_deps='LIBNDR'
207 bld.SAMBA_SUBSYSTEM('NDR_PROTECTED_STORAGE',
208 source='../../librpc/gen_ndr/ndr_protected_storage.c',
209 public_deps='LIBNDR'
213 bld.SAMBA_SUBSYSTEM('NDR_ORPC',
214 source='../../librpc/ndr/ndr_orpc.c ../../librpc/gen_ndr/ndr_orpc.c',
215 public_deps='LIBNDR'
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',
233 public_deps='LIBNDR'
237 bld.SAMBA_SUBSYSTEM('NDR_BROWSER',
238 source='../../librpc/gen_ndr/ndr_browser.c',
239 public_deps='LIBNDR'
243 bld.SAMBA_SUBSYSTEM('NDR_W32TIME',
244 source='../../librpc/gen_ndr/ndr_w32time.c',
245 public_deps='LIBNDR'
249 bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
250 source='../../librpc/gen_ndr/ndr_scerpc.c',
251 public_deps='LIBNDR'
255 bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
256 source='../../librpc/gen_ndr/ndr_trkwks.c',
257 public_deps='LIBNDR'
261 bld.SAMBA_SUBSYSTEM('NDR_KEYSVC',
262 source='../../librpc/gen_ndr/ndr_keysvc.c',
263 public_deps='LIBNDR'
266 bld.SAMBA_SUBSYSTEM('NDR_RAP',
267 source='../../librpc/gen_ndr/ndr_rap.c ../../librpc/ndr/ndr_rap.c',
268 public_deps='LIBNDR'
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',
286 public_deps='LIBNDR'
290 bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
291 source='gen_ndr/ndr_s4_notify.c',
292 public_deps='LIBNDR'
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',
312 public_deps='LIBNDR'
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'
338 bld.SAMBA_SUBSYSTEM('NDR_DNSP',
339 source='../../librpc/gen_ndr/ndr_dnsp.c ../../librpc/ndr/ndr_dnsp.c',
340 public_deps='LIBNDR'
344 bld.SAMBA_LIBRARY('NDR_STANDARD',
345 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',
346 vnum='0.0.1',
347 pc_files='../../librpc/ndr_standard.pc',
348 deps='NDR_SECURITY',
349 public_deps='LIBNDR',
350 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',
351 header_path='gen_ndr'
355 bld.SAMBA_PIDL_TABLES('GEN_NDR_TABLES', 'gen_ndr/tables.c')
357 bld.SAMBA_SUBSYSTEM('NDR_TABLE',
358 source='../../librpc/ndr/ndr_table.c gen_ndr/tables.c',
359 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 NDR_DNSP',
360 depends_on='GEN_NDR_TABLES'
364 bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
365 source='../../librpc/gen_ndr/ndr_xattr_c.c',
366 public_deps='NDR_XATTR dcerpc'
370 bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
371 source='../../librpc/gen_ndr/ndr_rot_c.c',
372 public_deps='NDR_ROT dcerpc'
376 bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
377 source='../../librpc/gen_ndr/ndr_audiosrv_c.c',
378 public_deps='NDR_AUDIOSRV dcerpc'
382 bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
383 source='../../librpc/gen_ndr/ndr_echo_c.c',
384 public_deps='dcerpc NDR_STANDARD'
388 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
389 source='../../librpc/gen_ndr/ndr_dsbackup_c.c',
390 public_deps='dcerpc NDR_DSBACKUP'
394 bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
395 source='../../librpc/gen_ndr/ndr_efs_c.c',
396 public_deps='dcerpc NDR_EFS'
400 bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
401 source='../../librpc/gen_ndr/ndr_lsa_c.c',
402 public_deps='dcerpc NDR_STANDARD'
406 bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
407 source='../../librpc/gen_ndr/ndr_dfs_c.c',
408 public_deps='dcerpc NDR_STANDARD'
412 bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
413 source='../../librpc/gen_ndr/ndr_frsapi_c.c',
414 public_deps='dcerpc NDR_FRSAPI'
418 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
419 source='../../librpc/gen_ndr/ndr_drsuapi_c.c',
420 public_deps='dcerpc NDR_DRSUAPI'
424 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
425 source='../../librpc/gen_ndr/ndr_drsblobs_c.c',
426 public_deps='dcerpc NDR_DRSBLOBS'
430 bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
431 source='../../librpc/gen_ndr/ndr_policyagent_c.c',
432 public_deps='dcerpc NDR_POLICYAGENT'
436 bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
437 source='../../librpc/gen_ndr/ndr_unixinfo_c.c',
438 public_deps='dcerpc NDR_UNIXINFO'
442 bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
443 source='../../librpc/gen_ndr/ndr_browser_c.c',
444 public_deps='dcerpc NDR_BROWSER'
448 bld.SAMBA_SUBSYSTEM('RPC_NDR_IRPC',
449 source='gen_ndr/ndr_irpc_c.c',
450 public_deps='dcerpc NDR_IRPC'
454 bld.SAMBA_LIBRARY('dcerpc_samr',
455 source='../../librpc/gen_ndr/ndr_samr_c.c',
456 pc_files='dcerpc_samr.pc',
457 vnum='0.0.1',
458 public_deps='dcerpc NDR_STANDARD',
459 public_headers='../../librpc/gen_ndr/ndr_samr_c.h',
460 header_path='gen_ndr'
464 bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
465 source='../../librpc/gen_ndr/ndr_spoolss_c.c',
466 public_deps='dcerpc NDR_SPOOLSS'
470 bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
471 source='../../librpc/gen_ndr/ndr_wkssvc_c.c',
472 public_deps='dcerpc NDR_STANDARD'
476 bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
477 source='../../librpc/gen_ndr/ndr_srvsvc_c.c',
478 public_deps='dcerpc NDR_SRVSVC'
482 bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
483 source='../../librpc/gen_ndr/ndr_svcctl_c.c',
484 public_deps='dcerpc NDR_STANDARD',
485 public_headers='../../librpc/gen_ndr/ndr_svcctl_c.h',
486 header_path='gen_ndr'
490 bld.SAMBA_LIBRARY('dcerpc_atsvc',
491 source='../../librpc/gen_ndr/ndr_atsvc_c.c',
492 pc_files='dcerpc_atsvc.pc',
493 vnum='0.0.1',
494 public_deps='dcerpc NDR_STANDARD',
495 public_headers='../../librpc/gen_ndr/ndr_atsvc_c.h',
496 header_path='gen_ndr'
500 bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
501 source='../../librpc/gen_ndr/ndr_eventlog_c.c',
502 public_deps='dcerpc NDR_STANDARD'
506 bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
507 source='../../librpc/gen_ndr/ndr_epmapper_c.c',
508 public_deps='tevent NDR_EPMAPPER'
512 bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
513 source='../../librpc/gen_ndr/ndr_dbgidl_c.c',
514 public_deps='dcerpc NDR_DBGIDL'
518 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
519 source='../../librpc/gen_ndr/ndr_dssetup_c.c',
520 public_deps='dcerpc NDR_DSSETUP'
524 bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
525 source='../../librpc/gen_ndr/ndr_msgsvc_c.c',
526 public_deps='dcerpc NDR_MSGSVC'
530 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINSIF',
531 source='gen_ndr/ndr_winsif_c.c',
532 public_deps='dcerpc NDR_WINSIF'
536 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
537 source='../../librpc/gen_ndr/ndr_winreg_c.c',
538 public_deps='dcerpc NDR_STANDARD'
542 bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
543 source='../../librpc/gen_ndr/ndr_initshutdown_c.c',
544 public_deps='dcerpc NDR_STANDARD'
548 bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
549 source='../../librpc/gen_ndr/ndr_mgmt_c.c',
550 deps='tevent NDR_MGMT'
554 bld.SAMBA_SUBSYSTEM('RPC_NDR_PROTECTED_STORAGE',
555 source='../../librpc/gen_ndr/ndr_protected_storage_c.c',
556 public_deps='dcerpc NDR_PROTECTED_STORAGE'
560 bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
561 source='../../librpc/gen_ndr/ndr_oxidresolver_c.c',
562 public_deps='dcerpc NDR_OXIDRESOLVER'
566 bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
567 source='../../librpc/gen_ndr/ndr_remact_c.c',
568 public_deps='dcerpc NDR_REMACT'
572 bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
573 source='../../librpc/gen_ndr/ndr_wzcsvc_c.c',
574 public_deps='dcerpc NDR_WZCSVC'
578 bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
579 source='../../librpc/gen_ndr/ndr_w32time_c.c',
580 public_deps='dcerpc NDR_W32TIME'
584 bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
585 source='../../librpc/gen_ndr/ndr_scerpc_c.c',
586 public_deps='dcerpc NDR_SCERPC'
590 bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
591 source='../../librpc/gen_ndr/ndr_ntsvcs_c.c',
592 public_deps='dcerpc NDR_STANDARD'
596 bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
597 source='../../librpc/gen_ndr/ndr_netlogon_c.c',
598 public_deps='NDR_STANDARD'
602 bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
603 source='../../librpc/gen_ndr/ndr_trkwks_c.c',
604 public_deps='dcerpc NDR_TRKWKS'
608 bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
609 source='../../librpc/gen_ndr/ndr_keysvc_c.c',
610 public_deps='dcerpc NDR_KEYSVC'
614 bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
615 source='../../librpc/gen_ndr/ndr_dcerpc.c',
616 public_deps='LIBNDR',
617 public_headers='rpc/dcerpc.h ../../librpc/gen_ndr/ndr_dcerpc.h ../../librpc/gen_ndr/dcerpc.h',
618 header_path= [ ('*gen_ndr*', 'gen_ndr') ],
621 bld.SAMBA_LIBRARY('dcerpc',
622 source='''rpc/dcerpc.c rpc/dcerpc_auth.c rpc/dcerpc_schannel.c
623 rpc/dcerpc_util.c rpc/dcerpc_smb.c rpc/dcerpc_smb2.c rpc/dcerpc_sock.c
624 rpc/dcerpc_connect.c rpc/dcerpc_secondary.c ../../librpc/rpc/binding.c
625 ../../librpc/rpc/dcerpc_error.c ../../librpc/rpc/dcerpc_util.c
626 ../../librpc/rpc/binding_handle.c''',
627 pc_files='dcerpc.pc',
628 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',
629 autoproto='rpc/dcerpc_proto.h',
630 public_deps='CREDENTIALS tevent talloc',
631 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',
632 header_path='gen_ndr',
633 vnum='0.0.1'
637 bld.SAMBA_PYTHON('python_dcerpc',
638 source='rpc/pyrpc.c',
639 public_deps='LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pycredentials pyparam_util',
640 realname='samba/dcerpc/base.so'
644 bld.SAMBA_PYTHON('python_echo',
645 source='../../librpc/gen_ndr/py_echo.c',
646 deps='RPC_NDR_ECHO PYTALLOC pyparam_util pycredentials python_dcerpc',
647 realname='samba/dcerpc/echo.so'
651 bld.SAMBA_PYTHON('python_winreg',
652 source='../../librpc/gen_ndr/py_winreg.c',
653 deps='RPC_NDR_WINREG PYTALLOC pyparam_util pycredentials python_dcerpc',
654 realname='samba/dcerpc/winreg.so'
658 bld.SAMBA_PYTHON('python_dcerpc_misc',
659 source='../../librpc/gen_ndr/py_misc.c',
660 deps='PYTALLOC python_dcerpc NDR_MISC NDR_KRB5PAC',
661 realname='samba/dcerpc/misc.so'
665 bld.SAMBA_PYTHON('python_initshutdown',
666 source='../../librpc/gen_ndr/py_initshutdown.c',
667 deps='RPC_NDR_INITSHUTDOWN PYTALLOC pyparam_util pycredentials python_dcerpc',
668 realname='samba/dcerpc/initshutdown.so'
672 bld.SAMBA_PYTHON('python_epmapper',
673 source='../../librpc/gen_ndr/py_epmapper.c',
674 deps='dcerpc PYTALLOC pyparam_util pycredentials python_dcerpc',
675 realname='samba/dcerpc/epmapper.so'
679 bld.SAMBA_PYTHON('python_mgmt',
680 source='../../librpc/gen_ndr/py_mgmt.c',
681 deps='PYTALLOC param pycredentials dcerpc python_dcerpc',
682 realname='samba/dcerpc/mgmt.so'
686 bld.SAMBA_PYTHON('python_atsvc',
687 source='../../librpc/gen_ndr/py_atsvc.c',
688 deps='dcerpc_atsvc PYTALLOC pyparam_util pycredentials python_dcerpc',
689 realname='samba/dcerpc/atsvc.so'
693 bld.SAMBA_PYTHON('python_dcerpc_nbt',
694 source='../../librpc/gen_ndr/py_nbt.c',
695 deps='NDR_NBT PYTALLOC pyparam_util pycredentials python_dcerpc',
696 realname='samba/dcerpc/nbt.so'
700 bld.SAMBA_PYTHON('python_samr',
701 source='../../librpc/gen_ndr/py_samr.c',
702 deps='dcerpc_samr PYTALLOC pycredentials pyparam_util python_dcerpc',
703 realname='samba/dcerpc/samr.so'
707 bld.SAMBA_PYTHON('python_svcctl',
708 source='../../librpc/gen_ndr/py_svcctl.c',
709 deps='RPC_NDR_SVCCTL PYTALLOC pyparam_util pycredentials python_dcerpc',
710 realname='samba/dcerpc/svcctl.so'
714 bld.SAMBA_PYTHON('python_lsa',
715 source='../../librpc/gen_ndr/py_lsa.c',
716 deps='RPC_NDR_LSA PYTALLOC pyparam_util pycredentials python_dcerpc',
717 realname='samba/dcerpc/lsa.so'
721 bld.SAMBA_PYTHON('python_wkssvc',
722 source='../../librpc/gen_ndr/py_wkssvc.c',
723 deps='RPC_NDR_WKSSVC PYTALLOC pyparam_util pycredentials python_dcerpc',
724 realname='samba/dcerpc/wkssvc.so'
728 bld.SAMBA_PYTHON('python_dfs',
729 source='../../librpc/gen_ndr/py_dfs.c',
730 deps='RPC_NDR_DFS PYTALLOC pyparam_util pycredentials python_dcerpc',
731 realname='samba/dcerpc/dfs.so'
735 bld.SAMBA_PYTHON('python_unixinfo',
736 source='../../librpc/gen_ndr/py_unixinfo.c',
737 deps='RPC_NDR_UNIXINFO PYTALLOC pyparam_util pycredentials python_dcerpc',
738 realname='samba/dcerpc/unixinfo.so'
742 bld.SAMBA_PYTHON('python_irpc',
743 source='gen_ndr/py_irpc.c',
744 deps='RPC_NDR_IRPC PYTALLOC pyparam_util pycredentials python_dcerpc',
745 realname='samba/dcerpc/irpc.so'
749 bld.SAMBA_PYTHON('python_drsuapi',
750 source='../../librpc/gen_ndr/py_drsuapi.c',
751 deps='RPC_NDR_DRSUAPI PYTALLOC pyparam_util pycredentials python_dcerpc',
752 realname='samba/dcerpc/drsuapi.so'
756 bld.SAMBA_PYTHON('python_drsblobs',
757 source='../../librpc/gen_ndr/py_drsblobs.c',
758 deps='RPC_NDR_DRSBLOBS PYTALLOC pyparam_util pycredentials python_dcerpc',
759 realname='samba/dcerpc/drsblobs.so'
763 bld.SAMBA_PYTHON('python_dcerpc_security',
764 source='../../librpc/gen_ndr/py_security.c',
765 deps='PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY',
766 realname='samba/dcerpc/security.so'
769 bld.SAMBA_PYTHON('python_dcerpc_drsblobs',
770 source='../../librpc/gen_ndr/py_drsblobs.c ../../librpc/gen_ndr/ndr_drsblobs_c.c',
771 deps='PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY',
772 realname='samba/dcerpc/drsblobs.so'
776 bld.SAMBA_PYTHON('python_dcerpc_xattr',
777 source='../../librpc/gen_ndr/py_xattr.c',
778 deps='PYTALLOC python_dcerpc_misc python_dcerpc python_dcerpc_security NDR_XATTR RPC_NDR_XATTR',
779 realname='samba/dcerpc/xattr.so'
782 bld.SAMBA_SCRIPT('python_dcerpc_init',
783 pattern='rpc/dcerpc.py',
784 installdir='python/samba/dcerpc',
785 installname='__init__.py')
787 bld.INSTALL_FILES('${PYTHONDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname='__init__.py')