2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-04-04 07:08:05 +04:00
bld.RECURSE('idl')
2011-02-08 16:00:02 +03:00
bld.RECURSE('../lib/compression')
2010-03-27 05:56:05 +03:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_audiosrv.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
2011-02-09 06:22:16 +03:00
bld.SAMBA_SUBSYSTEM('NDR_AUTH',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_auth.c ndr/ndr_auth.c',
public_headers='gen_ndr/auth.h',
header_path='gen_ndr',
public_deps='ndr NDR_SECURITY ndr-krb5pac'
)
2011-02-09 06:22:16 +03:00
2011-02-22 11:37:07 +03:00
bld.SAMBA_SUBSYSTEM('NDR_ATSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_atsvc.c',
public_deps='ndr'
)
2011-02-22 11:37:07 +03:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_named_pipe_auth.c',
public_deps='ndr NDR_AUTH'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dnsserver.c ndr/ndr_dnsserver.c',
2015-08-07 12:36:47 +03:00
public_deps='ndr NDR_DNSP'
2012-03-18 05:21:24 +04:00
)
2010-09-21 11:41:58 +04:00
2010-10-22 11:08:20 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DNS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dns.c ndr/ndr_dns.c',
2015-08-07 12:36:47 +03:00
public_deps='ndr NDR_DNSP'
2012-03-18 05:21:24 +04:00
)
2010-10-22 11:08:20 +04:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dsbackup.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DFS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dfs.c',
public_deps='ndr'
)
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('NDR_WINREG',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_winreg.c',
public_deps='ndr NDR_SECURITY NDR_LSA'
)
2010-09-27 05:55:40 +04:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_EFS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_efs.c',
public_deps='ndr NDR_SECURITY'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_ROT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_rot.c',
public_deps='ndr NDR_ORPC'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_FRSRPC',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_frsrpc.c gen_ndr/ndr_frsrpc.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
2012-07-18 20:02:06 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSRPC',
source='gen_ndr/ndr_frsrpc_c.c',
public_deps='NDR_FRSRPC'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_FRSAPI',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_frsapi.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_frstrans.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dfsblobs.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
2012-07-18 19:55:26 +04:00
bld.SAMBA_SUBSYSTEM('NDR_BKUPBLOBS',
2012-07-18 20:02:06 +04:00
source='ndr/ndr_bkupblobs.c gen_ndr/ndr_bkupblobs.c',
2012-07-18 19:55:26 +04:00
public_deps='ndr'
)
bld.SAMBA_SUBSYSTEM('NDR_FSCC',
source='gen_ndr/ndr_fscc.c',
public_deps='ndr'
)
2012-07-18 20:02:06 +04:00
bld.SAMBA_SUBSYSTEM('NDR_FRSBLOBS',
source='gen_ndr/ndr_frsblobs.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_policyagent.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_unixinfo.c',
public_deps='ndr NDR_SECURITY'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_spoolss.c',
public_deps='ndr NDR_SPOOLSS_BUF NDR_SECURITY'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_spoolss_buf.c',
deps='talloc'
)
2010-09-21 11:41:58 +04:00
2013-01-15 18:20:32 +04:00
bld.SAMBA_SUBSYSTEM('NDR_WINSPOOL',
source='gen_ndr/ndr_winspool.c',
public_deps='ndr NDR_SPOOLSS'
)
2011-03-07 17:32:02 +03:00
bld.SAMBA_SUBSYSTEM('NDR_PRINTCAP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_printcap.c',
public_deps='ndr'
)
2011-03-07 17:32:02 +03:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_epmapper.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DBGIDL',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dbgidl.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DSSETUP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dssetup.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_MSGSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_msgsvc.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_MGMT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_mgmt.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_ORPC',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_orpc.c gen_ndr/ndr_orpc.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_oxidresolver.c',
public_deps='ndr NDR_ORPC'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_REMACT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_remact.c',
public_deps='ndr NDR_ORPC'
)
2010-09-21 11:41:58 +04:00
2010-09-23 16:54:12 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DCOM',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dcom.c',
public_deps='ndr NDR_SECURITY NDR_ORPC'
)
2010-09-23 16:54:12 +04:00
bld.SAMBA_SUBSYSTEM('NDR_WMI',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_wmi.c gen_ndr/ndr_wmi.c',
public_deps='ndr NDR_SECURITY NDR_DCOM'
)
2010-09-23 16:54:12 +04:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_WZCSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_wzcsvc.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_BROWSER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_browser.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_W32TIME',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_w32time.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_scerpc.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
2011-05-02 04:55:20 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SERVER_ID',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_server_id.c',
deps='ndr',
public_headers='gen_ndr/server_id.h',
header_path='gen_ndr'
)
2011-05-02 04:55:20 +04:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_trkwks.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_KEYSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_keysvc.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_RAP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_rap.c ndr/ndr_rap.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_IDMAP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_idmap.c',
public_deps='ndr ndr-standard'
)
2010-09-21 11:41:58 +04:00
2011-05-02 05:10:12 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_notify.c',
public_deps='ndr ndr-standard NDR_SERVER_ID NDR_FILE_ID'
)
2011-05-02 05:10:12 +04:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_ntlmssp.c gen_ndr/ndr_ntlmssp.c',
public_deps='ndr ndr-standard'
)
2010-09-21 11:41:58 +04:00
2015-12-07 11:30:47 +03:00
bld.SAMBA_SUBSYSTEM('NDR_NEGOEX',
source='ndr/ndr_negoex.c gen_ndr/ndr_negoex.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DNSP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dnsp.c ndr/ndr_dnsp.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
2013-04-12 14:24:44 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
source='gen_ndr/ndr_nfs4acl.c',
public_deps='ndr NDR_SECURITY'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NTPRINTING',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_ntprinting.c ndr/ndr_ntprinting.c',
public_deps='ndr'
)
2010-09-21 11:41:58 +04:00
2010-09-23 18:56:38 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SAMR',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_samr.c',
public_deps='ndr NDR_SECURITY NDR_LSA'
)
2010-09-23 18:56:38 +04:00
2010-09-25 04:18:03 +04:00
bld.SAMBA_SUBSYSTEM('NDR_LSA',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_lsa.c',
public_deps='ndr NDR_SECURITY'
)
2010-09-23 18:56:38 +04:00
2011-02-17 08:19:45 +03:00
bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_security.c ndr/ndr_sec_helper.c',
2012-08-10 13:37:28 +04:00
deps='ndr samba-security',
2012-03-18 05:21:24 +04:00
public_headers='gen_ndr/security.h',
header_path='gen_ndr'
)
2011-02-17 08:19:45 +03:00
2012-08-12 16:02:23 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SMB_ACL',
source='gen_ndr/ndr_smb_acl.c',
deps='ndr',
)
2010-09-27 09:07:24 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SVCCTL',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_svcctl.c ndr/ndr_svcctl.c',
public_deps='ndr NDR_SECURITY'
)
2010-09-27 09:07:24 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SRVSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_srvsvc.c',
public_deps='ndr NDR_SECURITY NDR_SVCCTL'
)
2010-09-27 09:07:24 +04:00
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NETLOGON',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_netlogon.c ndr/ndr_netlogon.c',
public_deps='ndr NDR_SECURITY NDR_LSA NDR_SAMR ndr_nbt'
)
2010-09-27 05:55:40 +04:00
2010-09-25 04:05:44 +04:00
bld.SAMBA_SUBSYSTEM('NDR_EVENTLOG',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_eventlog.c',
public_deps='ndr NDR_SECURITY NDR_LSA'
)
2010-09-25 04:05:44 +04:00
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NTSVCS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_ntsvcs.c',
public_deps='ndr'
)
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('NDR_WKSSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_wkssvc.c',
public_deps='ndr NDR_SECURITY'
)
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('NDR_ECHO',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_echo.c',
public_deps='ndr'
)
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('NDR_INITSHUTDOWN',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_initshutdown.c',
public_deps='ndr NDR_LSA'
)
2010-09-27 05:55:40 +04:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_compression.c',
2016-01-04 04:01:53 +03:00
public_deps='samba-errors ndr',
2012-03-18 05:21:24 +04:00
deps='z LZXPRESS'
)
2010-09-21 11:41:58 +04:00
2012-02-21 17:04:42 +04:00
bld.SAMBA_SUBSYSTEM('NDR_FSRVP',
source='gen_ndr/ndr_fsrvp.c',
public_deps='ndr'
)
2012-11-02 19:27:46 +04:00
bld.SAMBA_SUBSYSTEM('NDR_WITNESS',
2015-06-25 17:24:06 +03:00
source='gen_ndr/ndr_witness.c ndr/ndr_witness.c',
2012-11-02 19:27:46 +04:00
public_deps='ndr'
)
2015-02-25 12:15:25 +03:00
bld.SAMBA_SUBSYSTEM('NDR_CLUSAPI',
source='gen_ndr/ndr_clusapi.c',
public_deps='ndr'
)
2014-07-23 11:58:45 +04:00
bld.SAMBA_SUBSYSTEM('NDR_MDSSVC',
source='gen_ndr/ndr_mdssvc.c',
public_deps='ndr'
)
2011-02-17 08:19:45 +03:00
bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
2014-01-02 14:18:38 +04:00
source='gen_ndr/ndr_dcerpc.c ndr/ndr_dcerpc.c',
2012-03-18 05:21:24 +04:00
public_deps='ndr',
2014-01-02 18:30:52 +04:00
public_headers='gen_ndr/ndr_dcerpc.h gen_ndr/dcerpc.h ndr/ndr_dcerpc.h',
header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
2012-03-18 05:21:24 +04:00
)
2011-02-17 08:19:45 +03:00
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_drsuapi.c gen_ndr/ndr_drsuapi.c',
public_deps='ndr NDR_COMPRESSION NDR_SECURITY ndr-standard asn1util',
public_headers='gen_ndr/ndr_drsuapi.h gen_ndr/drsuapi.h ndr/ndr_drsuapi.h',
header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_drsblobs.c gen_ndr/ndr_drsblobs.c',
public_deps='ndr NDR_DRSUAPI',
public_headers='gen_ndr/ndr_drsblobs.h gen_ndr/drsblobs.h ndr/ndr_drsblobs.h',
header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
)
2010-09-21 11:41:58 +04:00
2011-02-14 13:21:21 +03:00
bld.SAMBA_LIBRARY('ndr-krb5pac',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_krb5pac.c gen_ndr/ndr_krb5pac.c',
public_deps='ndr ndr-standard NDR_SECURITY',
krb5pac: no need for a noprint PAC_BUFFER.
Guenther
@@ -1,6 +1,7 @@
_PUBLIC_ void ndr_print_PAC_BUFFER(struct ndr_print *ndr, const char *name, const struct PAC_BUFFER *r)
{
ndr_print_struct(ndr, name, "PAC_BUFFER");
+ if (r == NULL) { ndr_print_null(ndr); return; }
ndr->depth++;
ndr_print_PAC_TYPE(ndr, "type", r->type);
ndr_print_uint32(ndr, "_ndr_size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?_ndr_size_PAC_INFO(r->info,r->type,0):r->_ndr_size);
@@ -11,7 +12,7 @@
ndr_print_PAC_INFO(ndr, "info", r->info);
}
ndr->depth--;
- ndr_print_uint32(ndr, "_pad", r->_pad);
+ ndr_print_uint32(ndr, "_pad", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->_pad);
ndr->depth--;
}
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-03-18 19:25:06 +04:00
public_headers='gen_ndr/krb5pac.h gen_ndr/ndr_krb5pac.h ndr/ndr_krb5pac.h',
header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')],
2012-03-18 05:21:24 +04:00
pc_files='ndr_krb5pac.pc',
vnum='0.0.1'
)
2010-09-21 11:41:58 +04:00
2011-02-17 08:29:28 +03:00
bld.SAMBA_LIBRARY('ndr-standard',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_eventlog6.c',
vnum='0.0.1',
pc_files='ndr_standard.pc',
deps='''NDR_SECURITY NDR_LSA NDR_SAMR NDR_NETLOGON NDR_EVENTLOG NDR_DFS
NDR_NTSVCS NDR_SVCCTL NDR_INITSHUTDOWN NDR_WKSSVC NDR_SRVSVC NDR_WINREG
2015-08-07 12:36:47 +03:00
NDR_ECHO security NDR_DNS NDR_DNSP NDR_ATSVC NDR_SPOOLSS NDR_DSSETUP
2012-03-18 05:21:24 +04:00
NDR_SERVER_ID NDR_NOTIFY''',
public_deps='ndr',
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',
header_path='gen_ndr'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_XATTR',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_xattr.c gen_ndr/ndr_xattr.c',
public_deps='ndr NDR_SECURITY'
)
2010-09-21 11:41:58 +04:00
2014-06-05 14:57:36 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SMB2_LEASE_STRUCT',
source='gen_ndr/ndr_smb2_lease_struct.c',
public_deps='ndr',
public_headers='gen_ndr/smb2_lease_struct.h'
)
2010-09-21 11:41:58 +04:00
bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_schannel.c gen_ndr/ndr_schannel.c',
public_deps='ndr ndr_nbt'
)
2010-09-21 11:41:58 +04:00
2011-11-02 21:05:59 +04:00
bld.SAMBA_LIBRARY('ndr_nbt',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_nbt.c ndr/ndr_nbt.c',
public_deps='ndr NDR_NBT_BUF NDR_SECURITY',
public_headers='gen_ndr/nbt.h gen_ndr/ndr_nbt.h ndr/ndr_nbt.h',
header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')],
pc_files='ndr_nbt.pc',
vnum='0.0.1'
)
2010-09-24 00:55:18 +04:00
2010-11-20 18:19:06 +03:00
bld.SAMBA_SUBSYSTEM('NDR_BACKUPKEY',
2012-03-18 05:21:24 +04:00
source='ndr/ndr_backupkey.c gen_ndr/ndr_backupkey.c',
public_deps='ndr'
)
2010-11-20 18:19:06 +03:00
2011-02-10 14:54:27 +03:00
bld.SAMBA_SUBSYSTEM('NDR_PREG',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_preg.c ndr/ndr_preg.c',
public_deps='ndr'
)
2011-02-10 14:54:27 +03:00
2011-01-25 04:42:59 +03:00
bld.SAMBA_SUBSYSTEM('NDR_FILE_ID',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_file_id.c',
public_deps='ndr'
)
2011-01-25 04:42:59 +03:00
2015-02-16 02:25:44 +03:00
bld.SAMBA_SUBSYSTEM('NDR_MESSAGING',
source='gen_ndr/ndr_messaging.c',
public_deps='ndr NDR_SERVER_ID'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_xattr_c.c',
public_deps='NDR_XATTR dcerpc-binding'
)
2010-09-24 00:55:18 +04:00
2012-08-21 17:21:41 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_IDMAP',
source='gen_ndr/ndr_idmap_c.c',
public_deps='NDR_IDMAP dcerpc-binding'
)
2012-08-21 16:40:12 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_SMB_ACL',
source='gen_ndr/ndr_smb_acl_c.c',
public_deps='NDR_SMB_ACL dcerpc-binding'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_rot_c.c',
public_deps='NDR_ROT dcerpc-binding'
)
2010-09-24 00:55:18 +04:00
2011-02-22 11:37:07 +03:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_ATSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_atsvc_c.c',
public_deps='dcerpc-binding NDR_ATSVC'
)
2011-02-22 11:37:07 +03:00
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_audiosrv_c.c',
public_deps='NDR_AUDIOSRV dcerpc-binding'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_echo_c.c',
public_deps='dcerpc-binding NDR_ECHO'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dsbackup_c.c',
public_deps='dcerpc-binding NDR_DSBACKUP'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_efs_c.c',
public_deps='dcerpc-binding NDR_EFS'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_lsa_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2010-09-24 00:55:18 +04:00
2010-09-27 05:55:40 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_SAMR',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_samr_c.c',
public_deps='dcerpc-binding NDR_SAMR'
)
2010-09-27 05:55:40 +04:00
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dfs_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_frsapi_c.c',
public_deps='dcerpc-binding NDR_FRSAPI'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_drsuapi_c.c',
public_deps='dcerpc-binding NDR_DRSUAPI'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_drsblobs_c.c',
public_deps='dcerpc-binding NDR_DRSBLOBS'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_policyagent_c.c',
public_deps='dcerpc-binding NDR_POLICYAGENT'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_unixinfo_c.c',
public_deps='dcerpc-binding NDR_UNIXINFO'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_browser_c.c',
public_deps='dcerpc-binding NDR_BROWSER'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_spoolss_c.c',
public_deps='dcerpc-binding NDR_SPOOLSS'
)
2010-09-24 00:55:18 +04:00
2013-01-15 18:20:32 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINSPOOL',
source='gen_ndr/ndr_winspool_c.c',
public_deps='dcerpc-binding NDR_WINSPOOL'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_nbt_c.c',
public_deps='dcerpc-binding ndr_nbt'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_wkssvc_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_srvsvc_c.c',
public_deps='dcerpc-binding NDR_SRVSVC'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_svcctl_c.c',
public_deps='dcerpc-binding ndr-standard',
public_headers='gen_ndr/ndr_svcctl_c.h ndr/ndr_svcctl.h',
header_path=[ ('gen_ndr*', 'gen_ndr'), ('ndr*', 'ndr')]
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_eventlog_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_epmapper_c.c',
public_deps='tevent NDR_EPMAPPER'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dbgidl_c.c',
public_deps='dcerpc-binding NDR_DBGIDL'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dssetup_c.c',
public_deps='dcerpc-binding NDR_DSSETUP'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_msgsvc_c.c',
public_deps='dcerpc-binding NDR_MSGSVC'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_winreg_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_initshutdown_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_mgmt_c.c',
deps='tevent NDR_MGMT'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_oxidresolver_c.c',
public_deps='dcerpc-binding NDR_OXIDRESOLVER'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_remact_c.c',
public_deps='dcerpc-binding NDR_REMACT'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_wzcsvc_c.c',
public_deps='dcerpc-binding NDR_WZCSVC'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_w32time_c.c',
public_deps='dcerpc-binding NDR_W32TIME'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_scerpc_c.c',
public_deps='dcerpc-binding NDR_SCERPC'
)
2010-09-24 00:55:18 +04:00
2012-10-29 08:33:59 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_SERVER_ID',
source='gen_ndr/ndr_server_id_c.c',
public_deps='dcerpc-binding NDR_SERVER_ID'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_ntsvcs_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_netlogon_c.c',
public_deps='ndr-standard tevent'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_trkwks_c.c',
public_deps='dcerpc-binding NDR_TRKWKS'
)
2010-09-24 00:55:18 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_keysvc_c.c',
public_deps='dcerpc-binding NDR_KEYSVC'
)
2010-10-21 04:28:27 +04:00
2010-11-20 18:19:06 +03:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_BACKUPKEY',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_backupkey_c.c',
public_deps='dcerpc-binding NDR_BACKUPKEY'
)
2010-11-20 18:19:06 +03:00
2011-09-26 03:50:11 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSSERVER',
2012-03-18 05:21:24 +04:00
source='gen_ndr/ndr_dnsserver_c.c',
public_deps='dcerpc-binding ndr-standard'
)
2011-09-26 03:50:11 +04:00
2011-09-27 18:40:20 +04:00
bld.SAMBA_SUBSYSTEM('NDR_IOCTL',
2014-06-16 14:00:18 +04:00
source='gen_ndr/ndr_ioctl.c ndr/ndr_ioctl.c',
2012-03-18 05:21:24 +04:00
public_deps='ndr'
)
2011-09-27 18:40:20 +04:00
2012-02-21 17:04:42 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_FSRVP',
source='gen_ndr/ndr_fsrvp_c.c',
public_deps='dcerpc-binding NDR_FSRVP'
)
2012-11-02 19:27:46 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_WITNESS',
source='gen_ndr/ndr_witness_c.c',
public_deps='dcerpc-binding NDR_WITNESS'
)
2015-02-25 12:15:25 +03:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_CLUSAPI',
source='gen_ndr/ndr_clusapi_c.c',
public_deps='dcerpc-binding NDR_CLUSAPI'
)
2014-07-23 11:58:45 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_MDSSVC',
source='gen_ndr/ndr_mdssvc_c.c',
public_deps='dcerpc-binding NDR_MDSSVC'
)
2010-10-21 04:28:27 +04:00
# a grouping library for NDR subsystems that may be used by more than one target
2010-10-24 22:26:09 +04:00
bld.SAMBA_LIBRARY('ndr-samba',
2012-03-18 05:21:24 +04:00
source=[],
2015-12-07 11:30:47 +03:00
deps='''NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_NEGOEX NDR_SCHANNEL NDR_MGMT
2015-08-07 12:36:47 +03:00
NDR_DNSSERVER NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM
2014-07-23 11:58:45 +04:00
NDR_NTPRINTING NDR_FSRVP NDR_WITNESS NDR_MDSSVC NDR_OPEN_FILES NDR_SMBXSRV''',
2012-03-18 05:21:24 +04:00
private_library=True,
grouping_library=True
)
2010-10-21 08:26:20 +04:00
# a grouping library for RPC_NDR subsystems that may be used by more than one target
2010-10-24 22:26:09 +04:00
bld.SAMBA_LIBRARY('dcerpc-samba',
2012-03-18 05:21:24 +04:00
source='',
deps='''RPC_NDR_LSA RPC_NDR_SAMR RPC_NDR_NETLOGON RPC_NDR_EVENTLOG
RPC_NDR_DFS RPC_NDR_NTSVCS RPC_NDR_SVCCTL RPC_NDR_INITSHUTDOWN
RPC_NDR_WKSSVC RPC_NDR_SRVSVC RPC_NDR_WINREG RPC_NDR_ECHO RPC_NDR_EPMAPPER
2015-08-07 12:36:47 +03:00
RPC_NDR_ATSVC RPC_NDR_SPOOLSS RPC_NDR_DNSSERVER''',
2012-03-18 05:21:24 +04:00
public_deps='ndr-standard',
private_library=True,
grouping_library=True
)
2011-01-25 04:01:56 +03:00
bld.SAMBA_LIBRARY('ndr',
2012-03-18 05:21:24 +04:00
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',
pc_files='ndr.pc',
2016-01-04 04:01:53 +03:00
public_deps='samba-errors talloc samba-util',
2012-03-18 05:21:24 +04:00
public_headers='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
2012-03-24 18:42:22 +04:00
header_path= [('*gen_ndr*', 'gen_ndr')],
2016-06-17 04:29:51 +03:00
vnum='0.0.8',
2012-03-24 18:42:22 +04:00
abi_directory='ABI',
abi_match='ndr_* GUID_*',
2012-03-18 05:21:24 +04:00
)
2011-02-24 03:55:45 +03:00
2011-07-29 11:03:45 +04:00
bld.SAMBA_LIBRARY('dcerpc-binding',
2012-03-18 05:21:24 +04:00
source='rpc/dcerpc_error.c rpc/binding.c rpc/dcerpc_util.c rpc/binding_handle.c',
deps='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util',
pc_files=[],
public_headers='rpc/rpc_common.h',
vnum='0.0.1')
2014-05-08 04:17:32 +04:00
bld.SAMBA_SUBSYSTEM('NDR_WINBIND',
source='gen_ndr/ndr_winbind.c',
2014-09-23 21:02:57 +04:00
public_deps='ndr NDR_LSA'
2014-05-08 04:17:32 +04:00
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINBIND',
source='gen_ndr/ndr_winbind_c.c',
public_deps='dcerpc NDR_WINBIND'
)
bld.SAMBA3_SUBSYSTEM('SRV_NDR_WINBIND',
source='gen_ndr/srv_winbind.c',
public_deps='NDR_WINBIND'
)
2015-03-25 14:35:27 +03:00
bld.SAMBA_SUBSYSTEM('NDR_FSRVP_STATE',
source='gen_ndr/ndr_fsrvp_state.c',
public_deps='ndr'
)