dsdb-descriptor: Avoid segfault copying an SD without an owner or group
[Samba.git] / librpc / wscript_build
blob8a4c169d5af3f07ad12abe2f3c495120770547b0
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_NTPRINTING',
221 source='gen_ndr/ndr_ntprinting.c ndr/ndr_ntprinting.c',
222 public_deps='ndr'
225 bld.SAMBA_SUBSYSTEM('NDR_SAMR',
226 source='gen_ndr/ndr_samr.c',
227 public_deps='ndr NDR_SECURITY NDR_LSA'
230 bld.SAMBA_SUBSYSTEM('NDR_LSA',
231 source='gen_ndr/ndr_lsa.c',
232 public_deps='ndr NDR_SECURITY'
235 bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
236 source='gen_ndr/ndr_security.c ndr/ndr_sec_helper.c',
237 deps='ndr samba-security',
238 public_headers='gen_ndr/security.h',
239 header_path='gen_ndr'
242 bld.SAMBA_SUBSYSTEM('NDR_SMB_ACL',
243 source='gen_ndr/ndr_smb_acl.c',
244 deps='ndr',
247 bld.SAMBA_SUBSYSTEM('NDR_SVCCTL',
248 source='gen_ndr/ndr_svcctl.c ndr/ndr_svcctl.c',
249 public_deps='ndr NDR_SECURITY'
252 bld.SAMBA_SUBSYSTEM('NDR_SRVSVC',
253 source='gen_ndr/ndr_srvsvc.c',
254 public_deps='ndr NDR_SECURITY NDR_SVCCTL'
257 bld.SAMBA_SUBSYSTEM('NDR_NETLOGON',
258 source='gen_ndr/ndr_netlogon.c ndr/ndr_netlogon.c',
259 public_deps='ndr NDR_SECURITY NDR_LSA NDR_SAMR ndr_nbt'
262 bld.SAMBA_SUBSYSTEM('NDR_EVENTLOG',
263 source='gen_ndr/ndr_eventlog.c',
264 public_deps='ndr NDR_SECURITY NDR_LSA'
267 bld.SAMBA_SUBSYSTEM('NDR_NTSVCS',
268 source='gen_ndr/ndr_ntsvcs.c',
269 public_deps='ndr'
272 bld.SAMBA_SUBSYSTEM('NDR_WKSSVC',
273 source='gen_ndr/ndr_wkssvc.c',
274 public_deps='ndr NDR_SECURITY'
277 bld.SAMBA_SUBSYSTEM('NDR_ECHO',
278 source='gen_ndr/ndr_echo.c',
279 public_deps='ndr'
282 bld.SAMBA_SUBSYSTEM('NDR_INITSHUTDOWN',
283 source='gen_ndr/ndr_initshutdown.c',
284 public_deps='ndr NDR_LSA'
287 bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
288 source='ndr/ndr_compression.c',
289 public_deps='errors ndr',
290 deps='z LZXPRESS'
293 bld.SAMBA_SUBSYSTEM('NDR_FSRVP',
294 source='gen_ndr/ndr_fsrvp.c',
295 public_deps='ndr'
298 bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
299 source='gen_ndr/ndr_dcerpc.c',
300 public_deps='ndr',
301 public_headers='gen_ndr/ndr_dcerpc.h gen_ndr/dcerpc.h',
302 header_path= [ ('*gen_ndr*', 'gen_ndr') ],
305 bld.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
306 source='ndr/ndr_drsuapi.c gen_ndr/ndr_drsuapi.c',
307 public_deps='ndr NDR_COMPRESSION NDR_SECURITY ndr-standard asn1util',
308 public_headers='gen_ndr/ndr_drsuapi.h gen_ndr/drsuapi.h ndr/ndr_drsuapi.h',
309 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
312 bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
313 source='ndr/ndr_drsblobs.c gen_ndr/ndr_drsblobs.c',
314 public_deps='ndr NDR_DRSUAPI',
315 public_headers='gen_ndr/ndr_drsblobs.h gen_ndr/drsblobs.h ndr/ndr_drsblobs.h',
316 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
319 bld.SAMBA_LIBRARY('ndr-krb5pac',
320 source='ndr/ndr_krb5pac.c gen_ndr/ndr_krb5pac.c',
321 public_deps='ndr ndr-standard NDR_SECURITY',
322 public_headers='gen_ndr/krb5pac.h gen_ndr/ndr_krb5pac.h',
323 header_path='gen_ndr',
324 pc_files='ndr_krb5pac.pc',
325 vnum='0.0.1'
328 bld.SAMBA_LIBRARY('ndr-standard',
329 source='gen_ndr/ndr_eventlog6.c',
330 vnum='0.0.1',
331 pc_files='ndr_standard.pc',
332 deps='''NDR_SECURITY NDR_LSA NDR_SAMR NDR_NETLOGON NDR_EVENTLOG NDR_DFS
333 NDR_NTSVCS NDR_SVCCTL NDR_INITSHUTDOWN NDR_WKSSVC NDR_SRVSVC NDR_WINREG
334 NDR_ECHO security NDR_DNS NDR_ATSVC NDR_SPOOLSS NDR_DSSETUP
335 NDR_SERVER_ID NDR_NOTIFY''',
336 public_deps='ndr',
337 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',
338 header_path='gen_ndr'
341 bld.SAMBA_SUBSYSTEM('NDR_XATTR',
342 source='ndr/ndr_xattr.c gen_ndr/ndr_xattr.c',
343 public_deps='ndr NDR_SECURITY'
346 bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
347 source='ndr/ndr_schannel.c gen_ndr/ndr_schannel.c',
348 public_deps='ndr ndr_nbt'
351 bld.SAMBA_LIBRARY('ndr_nbt',
352 source='gen_ndr/ndr_nbt.c ndr/ndr_nbt.c',
353 public_deps='ndr NDR_NBT_BUF NDR_SECURITY',
354 public_headers='gen_ndr/nbt.h gen_ndr/ndr_nbt.h ndr/ndr_nbt.h',
355 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')],
356 pc_files='ndr_nbt.pc',
357 vnum='0.0.1'
360 bld.SAMBA_SUBSYSTEM('NDR_BACKUPKEY',
361 source='ndr/ndr_backupkey.c gen_ndr/ndr_backupkey.c',
362 public_deps='ndr'
365 bld.SAMBA_SUBSYSTEM('NDR_PREG',
366 source='gen_ndr/ndr_preg.c ndr/ndr_preg.c',
367 public_deps='ndr'
370 bld.SAMBA_SUBSYSTEM('NDR_FILE_ID',
371 source='gen_ndr/ndr_file_id.c',
372 public_deps='ndr'
375 bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
376 source='gen_ndr/ndr_xattr_c.c',
377 public_deps='NDR_XATTR dcerpc-binding'
380 bld.SAMBA_SUBSYSTEM('RPC_NDR_IDMAP',
381 source='gen_ndr/ndr_idmap_c.c',
382 public_deps='NDR_IDMAP dcerpc-binding'
385 bld.SAMBA_SUBSYSTEM('RPC_NDR_SMB_ACL',
386 source='gen_ndr/ndr_smb_acl_c.c',
387 public_deps='NDR_SMB_ACL dcerpc-binding'
390 bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
391 source='gen_ndr/ndr_rot_c.c',
392 public_deps='NDR_ROT dcerpc-binding'
395 bld.SAMBA_SUBSYSTEM('RPC_NDR_ATSVC',
396 source='gen_ndr/ndr_atsvc_c.c',
397 public_deps='dcerpc-binding NDR_ATSVC'
400 bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
401 source='gen_ndr/ndr_audiosrv_c.c',
402 public_deps='NDR_AUDIOSRV dcerpc-binding'
405 bld.SAMBA_SUBSYSTEM('RPC_NDR_DNS',
406 source='gen_ndr/ndr_dns_c.c',
407 public_deps='dcerpc-binding NDR_DNS'
410 bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
411 source='gen_ndr/ndr_echo_c.c',
412 public_deps='dcerpc-binding NDR_ECHO'
415 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
416 source='gen_ndr/ndr_dsbackup_c.c',
417 public_deps='dcerpc-binding NDR_DSBACKUP'
420 bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
421 source='gen_ndr/ndr_efs_c.c',
422 public_deps='dcerpc-binding NDR_EFS'
425 bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
426 source='gen_ndr/ndr_lsa_c.c',
427 public_deps='dcerpc-binding ndr-standard'
430 bld.SAMBA_SUBSYSTEM('RPC_NDR_SAMR',
431 source='gen_ndr/ndr_samr_c.c',
432 public_deps='dcerpc-binding NDR_SAMR'
435 bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
436 source='gen_ndr/ndr_dfs_c.c',
437 public_deps='dcerpc-binding ndr-standard'
440 bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
441 source='gen_ndr/ndr_frsapi_c.c',
442 public_deps='dcerpc-binding NDR_FRSAPI'
445 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
446 source='gen_ndr/ndr_drsuapi_c.c',
447 public_deps='dcerpc-binding NDR_DRSUAPI'
450 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
451 source='gen_ndr/ndr_drsblobs_c.c',
452 public_deps='dcerpc-binding NDR_DRSBLOBS'
455 bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
456 source='gen_ndr/ndr_policyagent_c.c',
457 public_deps='dcerpc-binding NDR_POLICYAGENT'
460 bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
461 source='gen_ndr/ndr_unixinfo_c.c',
462 public_deps='dcerpc-binding NDR_UNIXINFO'
465 bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
466 source='gen_ndr/ndr_browser_c.c',
467 public_deps='dcerpc-binding NDR_BROWSER'
470 bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
471 source='gen_ndr/ndr_spoolss_c.c',
472 public_deps='dcerpc-binding NDR_SPOOLSS'
475 bld.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
476 source='gen_ndr/ndr_nbt_c.c',
477 public_deps='dcerpc-binding ndr_nbt'
480 bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
481 source='gen_ndr/ndr_wkssvc_c.c',
482 public_deps='dcerpc-binding ndr-standard'
485 bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
486 source='gen_ndr/ndr_srvsvc_c.c',
487 public_deps='dcerpc-binding NDR_SRVSVC'
490 bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
491 source='gen_ndr/ndr_svcctl_c.c',
492 public_deps='dcerpc-binding ndr-standard',
493 public_headers='gen_ndr/ndr_svcctl_c.h ndr/ndr_svcctl.h',
494 header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
497 bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
498 source='gen_ndr/ndr_eventlog_c.c',
499 public_deps='dcerpc-binding ndr-standard'
502 bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
503 source='gen_ndr/ndr_epmapper_c.c',
504 public_deps='tevent NDR_EPMAPPER'
507 bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
508 source='gen_ndr/ndr_dbgidl_c.c',
509 public_deps='dcerpc-binding NDR_DBGIDL'
512 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
513 source='gen_ndr/ndr_dssetup_c.c',
514 public_deps='dcerpc-binding NDR_DSSETUP'
517 bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
518 source='gen_ndr/ndr_msgsvc_c.c',
519 public_deps='dcerpc-binding NDR_MSGSVC'
522 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
523 source='gen_ndr/ndr_winreg_c.c',
524 public_deps='dcerpc-binding ndr-standard'
527 bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
528 source='gen_ndr/ndr_initshutdown_c.c',
529 public_deps='dcerpc-binding ndr-standard'
532 bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
533 source='gen_ndr/ndr_mgmt_c.c',
534 deps='tevent NDR_MGMT'
537 bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
538 source='gen_ndr/ndr_oxidresolver_c.c',
539 public_deps='dcerpc-binding NDR_OXIDRESOLVER'
542 bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
543 source='gen_ndr/ndr_remact_c.c',
544 public_deps='dcerpc-binding NDR_REMACT'
547 bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
548 source='gen_ndr/ndr_wzcsvc_c.c',
549 public_deps='dcerpc-binding NDR_WZCSVC'
552 bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
553 source='gen_ndr/ndr_w32time_c.c',
554 public_deps='dcerpc-binding NDR_W32TIME'
557 bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
558 source='gen_ndr/ndr_scerpc_c.c',
559 public_deps='dcerpc-binding NDR_SCERPC'
562 bld.SAMBA_SUBSYSTEM('RPC_NDR_SERVER_ID',
563 source='gen_ndr/ndr_server_id_c.c',
564 public_deps='dcerpc-binding NDR_SERVER_ID'
567 bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
568 source='gen_ndr/ndr_ntsvcs_c.c',
569 public_deps='dcerpc-binding ndr-standard'
572 bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
573 source='gen_ndr/ndr_netlogon_c.c',
574 public_deps='ndr-standard tevent'
577 bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
578 source='gen_ndr/ndr_trkwks_c.c',
579 public_deps='dcerpc-binding NDR_TRKWKS'
582 bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
583 source='gen_ndr/ndr_keysvc_c.c',
584 public_deps='dcerpc-binding NDR_KEYSVC'
587 bld.SAMBA_SUBSYSTEM('RPC_NDR_BACKUPKEY',
588 source='gen_ndr/ndr_backupkey_c.c',
589 public_deps='dcerpc-binding NDR_BACKUPKEY'
592 bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSP',
593 source='gen_ndr/ndr_dnsp_c.c',
594 public_deps='dcerpc-binding NDR_DNSP'
597 bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSSERVER',
598 source='gen_ndr/ndr_dnsserver_c.c',
599 public_deps='dcerpc-binding ndr-standard'
602 bld.SAMBA_SUBSYSTEM('NDR_IOCTL',
603 source='gen_ndr/ndr_ioctl.c',
604 public_deps='ndr'
607 bld.SAMBA_SUBSYSTEM('RPC_NDR_FSRVP',
608 source='gen_ndr/ndr_fsrvp_c.c',
609 public_deps='dcerpc-binding NDR_FSRVP'
612 # a grouping library for NDR subsystems that may be used by more than one target
613 bld.SAMBA_LIBRARY('ndr-samba',
614 source=[],
615 deps='''NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_SCHANNEL NDR_MGMT
616 NDR_DNSP NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM
617 NDR_NTPRINTING NDR_FSRVP NDR_OPEN_FILES NDR_SMBXSRV''',
618 private_library=True,
619 grouping_library=True
622 # a grouping library for RPC_NDR subsystems that may be used by more than one target
623 bld.SAMBA_LIBRARY('dcerpc-samba',
624 source='',
625 deps='''RPC_NDR_LSA RPC_NDR_SAMR RPC_NDR_NETLOGON RPC_NDR_EVENTLOG
626 RPC_NDR_DFS RPC_NDR_NTSVCS RPC_NDR_SVCCTL RPC_NDR_INITSHUTDOWN
627 RPC_NDR_WKSSVC RPC_NDR_SRVSVC RPC_NDR_WINREG RPC_NDR_ECHO RPC_NDR_EPMAPPER
628 RPC_NDR_ATSVC RPC_NDR_SPOOLSS RPC_NDR_DNS''',
629 public_deps='ndr-standard',
630 private_library=True,
631 grouping_library=True
634 bld.SAMBA_LIBRARY('ndr',
635 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',
636 pc_files='ndr.pc',
637 public_deps='errors talloc samba-util',
638 public_headers='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
639 header_path= [('*gen_ndr*', 'gen_ndr')],
640 vnum='0.0.1',
641 abi_directory='ABI',
642 abi_match='ndr_* GUID_*',
645 bld.SAMBA_LIBRARY('dcerpc-binding',
646 source='rpc/dcerpc_error.c rpc/binding.c rpc/dcerpc_util.c rpc/binding_handle.c',
647 deps='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util',
648 pc_files=[],
649 public_headers='rpc/rpc_common.h',
650 vnum='0.0.1')