2010-09-28 18:55:55 +02:00
#!/usr/bin/env python
2010-12-20 14:29:34 +01:00
RPC_LSARPC_SRC = '''srv_lsa_nt.c ../../librpc/gen_ndr/srv_lsa.c'''
2010-10-25 10:27:14 +11:00
RPC_NETLOGON_SRC = '''srv_netlog_nt.c ../../librpc/gen_ndr/srv_netlogon.c'''
2010-11-30 23:04:23 +01:00
RPC_SAMR_SRC = '''srv_samr_nt.c
2010-09-28 18:55:55 +02:00
srv_samr_util.c
2010-12-20 14:29:34 +01:00
srv_samr_chgpasswd.c
../../librpc/gen_ndr/srv_samr.c'''
2010-10-25 10:27:14 +11:00
RPC_INITSHUTDOWN_SRC = '''srv_initshutdown_nt.c ../../librpc/gen_ndr/srv_initshutdown.c'''
RPC_WINREG_SRC = '''srv_winreg_nt.c ../../librpc/gen_ndr/srv_winreg.c'''
RPC_DSSETUP_SRC = '''srv_dssetup_nt.c ../../librpc/gen_ndr/srv_dssetup.c'''
RPC_SRVSVC_SRC = '''srv_srvsvc_nt.c ../../librpc/gen_ndr/srv_srvsvc.c'''
RPC_WKSSVC_SRC = '''srv_wkssvc_nt.c ../../librpc/gen_ndr/srv_wkssvc.c'''
RPC_SVCCTL_SRC = '''srv_svcctl_nt.c ../../librpc/gen_ndr/srv_svcctl.c'''
RPC_NTSVCS_SRC = '''srv_ntsvcs_nt.c ../../librpc/gen_ndr/srv_ntsvcs.c'''
RPC_NETDFS_SRC = '''srv_dfs_nt.c ../../librpc/gen_ndr/srv_dfs.c'''
RPC_SPOOLSS_SRC = '''srv_spoolss_nt.c ../../librpc/gen_ndr/srv_spoolss.c
2010-09-28 18:55:55 +02:00
srv_spoolss_util.c'''
2010-10-25 10:27:14 +11:00
RPC_EVENTLOG_SRC = '''srv_eventlog_nt.c ../../librpc/gen_ndr/srv_eventlog.c'''
RPC_RPCECHO_SRC = '''srv_echo_nt.c ../../librpc/gen_ndr/srv_echo.c'''
2010-09-28 18:55:55 +02:00
bld.SAMBA_SUBSYSTEM('rpc',
2010-12-15 00:33:21 +01:00
source='',
deps='RPC_PIPE_REGISTER',
2010-09-28 18:55:55 +02:00
vars=locals())
2010-12-20 14:29:34 +01:00
bld.SAMBA_SUBSYSTEM('RPC_NCACN_NP',
source='rpc_ncacn_np.c rpc_handles.c')
bld.SAMBA_SUBSYSTEM('RPC_SERVICE',
source='rpc_server.c')
bld.SAMBA_SUBSYSTEM('RPC_CRYPTO',
source='dcesrv_ntlmssp.c dcesrv_gssapi.c dcesrv_spnego.c')
bld.SAMBA_SUBSYSTEM('RPC_PIPE_REGISTER',
source='srv_pipe_register.c')
2010-11-30 23:04:23 +01:00
bld.SAMBA_SUBSYSTEM('RPC_SAMR',
source=RPC_SAMR_SRC,
2010-12-07 11:49:57 +01:00
deps='PLAINTEXT_AUTH',
2010-11-30 23:04:23 +01:00
vars=locals())
2010-11-30 23:06:53 +01:00
bld.SAMBA_SUBSYSTEM('RPC_LSARPC',
source=RPC_LSARPC_SRC,
vars=locals())
2010-12-20 14:29:34 +01:00
bld.SAMBA_SUBSYSTEM('RPC_WINREG',
source=RPC_WINREG_SRC,
deps='REGFIO REG_API_REGF NDR_PERFCOUNT',
vars=locals())
2010-12-15 00:33:21 +01:00
2010-12-20 14:29:34 +01:00
bld.SAMBA_SUBSYSTEM('RPC_INITSHUTDOWN',
source=RPC_INITSHUTDOWN_SRC,
vars=locals())
2010-12-15 00:33:21 +01:00
2010-12-20 14:29:34 +01:00
bld.SAMBA_SUBSYSTEM('RPC_DSSETUP',
source=RPC_DSSETUP_SRC,
vars=locals())
2010-12-15 00:33:21 +01:00
2010-12-20 14:29:34 +01:00
bld.SAMBA_SUBSYSTEM('RPC_WKSSVC',
source=RPC_WKSSVC_SRC,
deps='LIBNET',
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_SVCCTL',
source=RPC_SVCCTL_SRC,
deps='SERVICES',
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_NTSVCS',
source=RPC_NTSVCS_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_NETLOGON',
source=RPC_NETLOGON_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_NETDFS',
source=RPC_NETDFS_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_SRVSVC',
source=RPC_SRVSVC_SRC,
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_SPOOLSS',
source=RPC_SPOOLSS_SRC,
2011-01-14 10:53:17 +01:00
deps='cups PRINTING PRINTBACKEND RPC_NDR_WINREG',
2010-12-20 14:29:34 +01:00
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_EVENTLOG',
source=RPC_EVENTLOG_SRC,
deps='LIBEVENTLOG',
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_RPCECHO',
source=RPC_RPCECHO_SRC,
vars=locals())
2010-12-15 00:33:21 +01:00
bld.SAMBA_SUBSYSTEM('RPC_SERVER',
source='srv_pipe_hnd.c srv_pipe.c',
2010-12-20 14:29:34 +01:00
deps='''RPC_NCACN_NP RPC_SERVICE RPC_CRYPTO
RPC_SAMR RPC_LSARPC RPC_WINREG RPC_INITSHUTDOWN
RPC_DSSETUP RPC_WKSSVC RPC_SVCCTL RPC_NTSVCS
RPC_NETLOGON RPC_NETDFS RPC_SRVSVC RPC_SPOOLSS
RPC_EVENTLOG RPC_RPCECHO RPC_SERVER''')