1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/librpc/wscript_build

804 lines
20 KiB
Plaintext
Raw Normal View History

#!/usr/bin/env python
bld.RECURSE('../../librpc/idl')
bld.RECURSE('idl')
2010-03-17 13:46:38 +03:00
2010-02-26 14:49:26 +03:00
bld.SAMBA_LIBRARY('LIBNDR',
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',
pc_files='../../librpc/ndr.pc',
2010-02-26 14:49:26 +03:00
public_deps='LIBSAMBA-ERRORS talloc LIBSAMBA-UTIL CHARSET LIBSAMBA-HOSTCONFIG',
public_headers='../../librpc/gen_ndr/misc.h ../../librpc/gen_ndr/ndr_misc.h ../../librpc/ndr/libndr.h:ndr.h',
header_path= [ ( '*gen_ndr*', 'gen_ndr' ) ],
2010-03-17 13:46:38 +03:00
depends_on='PIDL_MISC',
2010-02-26 14:49:26 +03:00
vnum='0.0.1'
)
bld.SAMBA_BINARY('ndrdump',
2010-03-17 13:46:38 +03:00
source='../../librpc/tools/ndrdump.c',
2010-02-26 14:49:26 +03:00
manpages='../../librpc/tools/ndrdump.1',
deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt POPT_SAMBA NDR_TABLE LIBSAMBA-ERRORS'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_compression.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBSAMBA-ERRORS LIBNDR',
deps='ZLIB LZXPRESS'
)
bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_security.c ../../librpc/ndr/ndr_sec_helper.c gen_ndr/ndr_server_id.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR LIBSECURITY',
2010-06-13 21:55:53 +04:00
public_headers='../../librpc/gen_ndr/security.h gen_ndr/server_id.h',
header_path='gen_ndr'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_audiosrv.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_named_pipe_auth.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dnsserver.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_WINSTATION',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_winstation.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_IRPC',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_irpc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SECURITY NDR_NBT'
)
bld.SAMBA_SUBSYSTEM('NDR_DCOM',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dcom.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SECURITY NDR_ORPC'
)
bld.SAMBA_SUBSYSTEM('NDR_WMI',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_wmi.c ../../librpc/gen_ndr/ndr_wmi.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SECURITY NDR_DCOM'
)
bld.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dsbackup.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_EFS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_efs.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SECURITY'
)
bld.SAMBA_SUBSYSTEM('NDR_ROT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_rot.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_ORPC'
)
bld.SAMBA_SUBSYSTEM('NDR_FRSRPC',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_frsrpc.c ../../librpc/gen_ndr/ndr_frsrpc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_FRSAPI',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_frsapi.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_frstrans.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_drsuapi.c ../../librpc/gen_ndr/ndr_drsuapi.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_COMPRESSION NDR_SECURITY NDR_STANDARD ASN1_UTIL'
)
bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_drsblobs.c ../../librpc/gen_ndr/ndr_drsblobs.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_DRSUAPI'
)
bld.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dfsblobs.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_SASL_HELPERS',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_sasl_helpers.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_policyagent.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_unixinfo.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SECURITY'
)
bld.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_nfs4acl.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SECURITY'
)
bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_spoolss.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY'
)
bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
source='../../librpc/ndr/ndr_spoolss_buf.c',
deps='talloc'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_epmapper.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_DBGIDL',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dbgidl.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_DSSETUP',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dssetup.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_MSGSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_msgsvc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_WINSIF',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_winsif.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_MGMT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_mgmt.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_PROTECTED_STORAGE',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_protected_storage.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_ORPC',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_orpc.c ../../librpc/gen_ndr/ndr_orpc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_oxidresolver.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_ORPC'
)
bld.SAMBA_SUBSYSTEM('NDR_REMACT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_remact.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_ORPC'
)
bld.SAMBA_SUBSYSTEM('NDR_WZCSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_wzcsvc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_BROWSER',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_browser.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_W32TIME',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_w32time.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_scerpc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_trkwks.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_KEYSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_keysvc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_RAP',
source='../../librpc/gen_ndr/ndr_rap.c ../../librpc/ndr/ndr_rap.c',
public_deps='LIBNDR'
)
2010-02-26 14:49:26 +03:00
bld.SAMBA_SUBSYSTEM('NDR_KRB5PAC',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_krb5pac.c ../../librpc/gen_ndr/ndr_krb5pac.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_STANDARD NDR_SECURITY'
)
bld.SAMBA_SUBSYSTEM('NDR_XATTR',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_xattr.c ../../librpc/gen_ndr/ndr_xattr.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_SECURITY'
)
bld.SAMBA_SUBSYSTEM('NDR_OPENDB',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_opendb.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
source='gen_ndr/ndr_s4_notify.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_schannel.c ../../librpc/gen_ndr/ndr_schannel.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_NBT'
)
bld.SAMBA_SUBSYSTEM('NDR_NBT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_nbt.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_NBT_BUF NDR_SECURITY NDR_STANDARD LIBCLI_NDR_NETLOGON',
public_headers='../../librpc/gen_ndr/nbt.h',
header_path='gen_ndr'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('NDR_NTP_SIGND',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_ntp_signd.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_WINSREPL',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_winsrepl.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_NBT'
)
bld.SAMBA_SUBSYSTEM('NDR_IDMAP',
source='../../librpc/gen_ndr/ndr_idmap.c',
public_deps='LIBNDR NDR_STANDARD'
)
2010-02-26 14:49:26 +03:00
bld.SAMBA_SUBSYSTEM('NDR_WINBIND',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_winbind.c',
public_deps='NDR_IDMAP LIBNDR NDR_STANDARD'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_ntlmssp.c ../../librpc/gen_ndr/ndr_ntlmssp.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR NDR_STANDARD'
)
2010-08-05 09:20:13 +04:00
bld.SAMBA_SUBSYSTEM('NDR_DNSP',
source='../../librpc/gen_ndr/ndr_dnsp.c ../../librpc/ndr/ndr_dnsp.c',
2010-08-05 09:20:13 +04:00
public_deps='LIBNDR'
)
2010-08-17 02:43:28 +04:00
bld.SAMBA_SUBSYSTEM('NDR_NTPRINTING',
source='../../librpc/gen_ndr/ndr_ntprinting.c ../../librpc/ndr/ndr_ntprinting.c',
public_deps='LIBNDR'
)
2010-02-26 14:49:26 +03:00
bld.SAMBA_LIBRARY('NDR_STANDARD',
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',
2010-02-26 14:49:26 +03:00
vnum='0.0.1',
pc_files='../../librpc/ndr_standard.pc',
2010-02-26 14:49:26 +03:00
deps='NDR_SECURITY',
public_deps='LIBNDR',
2010-06-13 21:55:53 +04:00
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',
header_path='gen_ndr'
2010-02-26 14:49:26 +03:00
)
2010-03-17 13:46:38 +03:00
bld.SAMBA_PIDL_TABLES('GEN_NDR_TABLES', 'gen_ndr/tables.c')
2010-02-26 14:49:26 +03:00
bld.SAMBA_SUBSYSTEM('NDR_TABLE',
2010-03-17 13:46:38 +03:00
source='../../librpc/ndr/ndr_table.c gen_ndr/tables.c',
2010-08-17 02:43:28 +04:00
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 NDR_NTPRINTING',
2010-03-17 13:46:38 +03:00
depends_on='GEN_NDR_TABLES'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_xattr_c.c',
2010-02-26 14:49:26 +03:00
public_deps='NDR_XATTR dcerpc'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_rot_c.c',
2010-02-26 14:49:26 +03:00
public_deps='NDR_ROT dcerpc'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_audiosrv_c.c',
2010-02-26 14:49:26 +03:00
public_deps='NDR_AUDIOSRV dcerpc'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_echo_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dsbackup_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_DSBACKUP'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_efs_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_EFS'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_lsa_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dfs_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_frsapi_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_FRSAPI'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_drsuapi_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_DRSUAPI'
)
2010-04-08 11:51:36 +04:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
source='../../librpc/gen_ndr/ndr_drsblobs_c.c',
public_deps='dcerpc NDR_DRSBLOBS'
)
2010-02-26 14:49:26 +03:00
bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_policyagent_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_POLICYAGENT'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_unixinfo_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_UNIXINFO'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_browser_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_BROWSER'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_IRPC',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_irpc_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_IRPC'
)
bld.SAMBA_LIBRARY('dcerpc_samr',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_samr_c.c',
pc_files='dcerpc_samr.pc',
2010-02-26 14:49:26 +03:00
vnum='0.0.1',
public_deps='dcerpc NDR_STANDARD',
public_headers='../../librpc/gen_ndr/ndr_samr_c.h',
header_path='gen_ndr'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_spoolss_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_SPOOLSS'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_wkssvc_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_srvsvc_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_SRVSVC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_svcctl_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD',
public_headers='../../librpc/gen_ndr/ndr_svcctl_c.h',
header_path='gen_ndr'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_LIBRARY('dcerpc_atsvc',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_atsvc_c.c',
2010-03-27 10:25:40 +03:00
pc_files='dcerpc_atsvc.pc',
2010-02-26 14:49:26 +03:00
vnum='0.0.1',
public_deps='dcerpc NDR_STANDARD',
public_headers='../../librpc/gen_ndr/ndr_atsvc_c.h',
header_path='gen_ndr'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_eventlog_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_epmapper_c.c',
public_deps='tevent NDR_EPMAPPER'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dbgidl_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_DBGIDL'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dssetup_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_DSSETUP'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_msgsvc_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_MSGSVC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINSIF',
2010-03-17 13:46:38 +03:00
source='gen_ndr/ndr_winsif_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_WINSIF'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_winreg_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_initshutdown_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_mgmt_c.c',
deps='tevent NDR_MGMT'
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_PROTECTED_STORAGE',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_protected_storage_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_PROTECTED_STORAGE'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_oxidresolver_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_OXIDRESOLVER'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_remact_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_REMACT'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_wzcsvc_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_WZCSVC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_w32time_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_W32TIME'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_scerpc_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_SCERPC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_ntsvcs_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_netlogon_c.c',
2010-02-26 14:49:26 +03:00
public_deps='NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_trkwks_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_TRKWKS'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_keysvc_c.c',
2010-02-26 14:49:26 +03:00
public_deps='dcerpc NDR_KEYSVC'
)
bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/ndr_dcerpc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBNDR',
public_headers='rpc/dcerpc.h ../../librpc/gen_ndr/ndr_dcerpc.h ../../librpc/gen_ndr/dcerpc.h',
header_path= [ ('*gen_ndr*', 'gen_ndr') ],
2010-02-26 14:49:26 +03:00
)
bld.SAMBA_LIBRARY('dcerpc',
source='''rpc/dcerpc.c rpc/dcerpc_auth.c rpc/dcerpc_schannel.c
rpc/dcerpc_util.c rpc/dcerpc_smb.c rpc/dcerpc_smb2.c rpc/dcerpc_sock.c
rpc/dcerpc_connect.c rpc/dcerpc_secondary.c ../../librpc/rpc/binding.c
../../librpc/rpc/dcerpc_error.c ../../librpc/rpc/dcerpc_util.c
../../librpc/rpc/binding_handle.c''',
pc_files='dcerpc.pc',
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',
2010-02-26 14:49:26 +03:00
autoproto='rpc/dcerpc_proto.h',
public_deps='CREDENTIALS tevent talloc',
2010-02-26 14:49:26 +03:00
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',
header_path='gen_ndr',
2010-02-26 14:49:26 +03:00
vnum='0.0.1'
)
bld.SAMBA_SUBSYSTEM('pyrpc_util',
source='rpc/pyrpc_util.c',
public_deps='PYTALLOC',
needs_python=True,
)
2010-02-26 14:49:26 +03:00
bld.SAMBA_PYTHON('python_dcerpc',
2010-03-17 13:46:38 +03:00
source='rpc/pyrpc.c',
2010-02-26 14:49:26 +03:00
public_deps='LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pycredentials pyparam_util',
realname='samba/dcerpc/base.so'
)
bld.SAMBA_PYTHON('python_echo',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_echo.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_ECHO PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/echo.so'
)
bld.SAMBA_PYTHON('python_winreg',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_winreg.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_WINREG PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/winreg.so'
)
bld.SAMBA_PYTHON('python_dcerpc_misc',
source='../../librpc/gen_ndr/py_misc.c',
2010-02-26 14:49:26 +03:00
deps='PYTALLOC python_dcerpc NDR_MISC NDR_KRB5PAC',
realname='samba/dcerpc/misc.so'
)
bld.SAMBA_PYTHON('python_initshutdown',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_initshutdown.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_INITSHUTDOWN PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/initshutdown.so'
)
bld.SAMBA_PYTHON('python_epmapper',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_epmapper.c',
2010-02-26 14:49:26 +03:00
deps='dcerpc PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/epmapper.so'
)
bld.SAMBA_PYTHON('python_mgmt',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_mgmt.c',
2010-02-26 14:49:26 +03:00
deps='PYTALLOC param pycredentials dcerpc python_dcerpc',
realname='samba/dcerpc/mgmt.so'
)
bld.SAMBA_PYTHON('python_atsvc',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_atsvc.c',
2010-02-26 14:49:26 +03:00
deps='dcerpc_atsvc PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/atsvc.so'
)
bld.SAMBA_PYTHON('python_dcerpc_nbt',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_nbt.c',
2010-02-26 14:49:26 +03:00
deps='NDR_NBT PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/nbt.so'
)
bld.SAMBA_PYTHON('python_samr',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_samr.c',
2010-02-26 14:49:26 +03:00
deps='dcerpc_samr PYTALLOC pycredentials pyparam_util python_dcerpc',
realname='samba/dcerpc/samr.so'
)
bld.SAMBA_PYTHON('python_svcctl',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_svcctl.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_SVCCTL PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/svcctl.so'
)
bld.SAMBA_PYTHON('python_lsa',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_lsa.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_LSA PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/lsa.so'
)
bld.SAMBA_PYTHON('python_wkssvc',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_wkssvc.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_WKSSVC PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/wkssvc.so'
)
bld.SAMBA_PYTHON('python_dfs',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_dfs.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_DFS PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/dfs.so'
)
bld.SAMBA_PYTHON('python_unixinfo',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_unixinfo.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_UNIXINFO PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/unixinfo.so'
)
bld.SAMBA_PYTHON('python_irpc',
2010-03-17 13:46:38 +03:00
source='gen_ndr/py_irpc.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_IRPC PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/irpc.so'
)
bld.SAMBA_PYTHON('python_drsuapi',
2010-03-17 13:46:38 +03:00
source='../../librpc/gen_ndr/py_drsuapi.c',
2010-02-26 14:49:26 +03:00
deps='RPC_NDR_DRSUAPI PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/drsuapi.so'
)
2010-04-08 11:51:36 +04:00
bld.SAMBA_PYTHON('python_drsblobs',
source='../../librpc/gen_ndr/py_drsblobs.c',
deps='RPC_NDR_DRSBLOBS PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/drsblobs.so'
)
2010-02-26 14:49:26 +03:00
bld.SAMBA_PYTHON('python_dcerpc_security',
source='../../librpc/gen_ndr/py_security.c',
2010-02-26 14:49:26 +03:00
deps='PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY',
realname='samba/dcerpc/security.so'
)
bld.SAMBA_PYTHON('python_dcerpc_drsblobs',
source='../../librpc/gen_ndr/py_drsblobs.c ../../librpc/gen_ndr/ndr_drsblobs_c.c',
deps='PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY',
realname='samba/dcerpc/drsblobs.so'
)
2010-02-26 14:49:26 +03:00
bld.SAMBA_PYTHON('python_dcerpc_xattr',
source='../../librpc/gen_ndr/py_xattr.c',
2010-02-26 14:49:26 +03:00
deps='PYTALLOC python_dcerpc_misc python_dcerpc python_dcerpc_security NDR_XATTR RPC_NDR_XATTR',
realname='samba/dcerpc/xattr.so'
)
bld.SAMBA_PYTHON('python_netlogon',
source='../../librpc/gen_ndr/py_netlogon.c',
deps='RPC_NDR_NETLOGON PYTALLOC pyparam_util pycredentials python_dcerpc',
realname='samba/dcerpc/netlogon.so'
)
bld.SAMBA_SCRIPT('python_dcerpc_init',
pattern='rpc/dcerpc.py',
installdir='python/samba/dcerpc',
installname='__init__.py')
bld.INSTALL_FILES('${PYTHONDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname='__init__.py')