2010-09-28 20:55:55 +04:00
#!/usr/bin/env python
2011-02-08 16:17:14 +03:00
RPC_LSARPC_SRC = '''lsa/srv_lsa_nt.c ../../librpc/gen_ndr/srv_lsa.c'''
RPC_NETLOGON_SRC = '''netlogon/srv_netlog_nt.c ../../librpc/gen_ndr/srv_netlogon.c'''
RPC_SAMR_SRC = '''samr/srv_samr_nt.c
samr/srv_samr_util.c
samr/srv_samr_chgpasswd.c
2010-12-20 16:29:34 +03:00
../../librpc/gen_ndr/srv_samr.c'''
2011-02-08 16:17:14 +03:00
RPC_INITSHUTDOWN_SRC = '''initshutdown/srv_initshutdown_nt.c ../../librpc/gen_ndr/srv_initshutdown.c'''
RPC_WINREG_SRC = '''winreg/srv_winreg_nt.c ../../librpc/gen_ndr/srv_winreg.c'''
RPC_DSSETUP_SRC = '''dssetup/srv_dssetup_nt.c ../../librpc/gen_ndr/srv_dssetup.c'''
RPC_SRVSVC_SRC = '''srvsvc/srv_srvsvc_nt.c ../../librpc/gen_ndr/srv_srvsvc.c'''
RPC_WKSSVC_SRC = '''wkssvc/srv_wkssvc_nt.c ../../librpc/gen_ndr/srv_wkssvc.c'''
RPC_SVCCTL_SRC = '''svcctl/srv_svcctl_nt.c svcctl/srv_svcctl_reg.c ../../librpc/gen_ndr/srv_svcctl.c'''
RPC_NTSVCS_SRC = '''ntsvcs/srv_ntsvcs_nt.c ../../librpc/gen_ndr/srv_ntsvcs.c'''
RPC_NETDFS_SRC = '''dfs/srv_dfs_nt.c ../../librpc/gen_ndr/srv_dfs.c'''
RPC_SPOOLSS_SRC = '''spoolss/srv_spoolss_nt.c ../../librpc/gen_ndr/srv_spoolss.c
spoolss/srv_spoolss_util.c'''
RPC_EVENTLOG_SRC = '''eventlog/srv_eventlog_nt.c eventlog/srv_eventlog_reg.c ../../librpc/gen_ndr/srv_eventlog.c'''
RPC_RPCECHO_SRC = '''echo/srv_echo_nt.c ../../librpc/gen_ndr/srv_echo.c'''
RPC_EPMAPPER_SRC = '''epmapper/srv_epmapper.c ../../librpc/gen_ndr/srv_epmapper.c'''
2010-09-28 20:55:55 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('rpc',
2010-12-15 02:33:21 +03:00
source='',
deps='RPC_PIPE_REGISTER',
2010-09-28 20:55:55 +04:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
2011-02-10 14:48:46 +03:00
source='rpc_ncacn_np.c rpc_handles.c',
2011-05-16 15:08:06 +04:00
deps='auth_sam_reply RPC_PIPE_REGISTER AUTH_COMMON npa_tstream')
2010-12-20 16:29:34 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
2010-12-20 16:29:34 +03:00
source='rpc_server.c')
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_CRYPTO',
2011-04-28 10:23:53 +04:00
source='dcesrv_ntlmssp.c dcesrv_gssapi.c dcesrv_spnego.c',
deps = 'KRB5_PAC')
2010-12-20 16:29:34 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_PIPE_REGISTER',
2010-12-20 16:29:34 +03:00
source='srv_pipe_register.c')
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
2011-02-17 14:24:41 +03:00
source='rpc_ep_setup.c ../librpc/rpc/dcerpc_ep.c')
2011-02-02 18:17:12 +03:00
2011-03-05 03:26:55 +03:00
bld.SAMBA3_SUBSYSTEM('EPMD',
source='epmd.c')
2011-03-25 16:12:59 +03:00
bld.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
source='srv_access_check.c')
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SAMR',
2010-12-01 01:04:23 +03:00
source=RPC_SAMR_SRC,
2011-03-25 16:12:59 +03:00
deps='PLAINTEXT_AUTH SRV_ACCESS_CHECK',
2010-12-01 01:04:23 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_LSARPC',
2010-12-01 01:06:53 +03:00
source=RPC_LSARPC_SRC,
2011-03-25 16:12:59 +03:00
deps='SRV_ACCESS_CHECK',
2010-12-01 01:06:53 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_WINREG',
2010-12-20 16:29:34 +03:00
source=RPC_WINREG_SRC,
deps='REGFIO REG_API_REGF NDR_PERFCOUNT',
vars=locals())
2010-12-15 02:33:21 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
2010-12-20 16:29:34 +03:00
source=RPC_INITSHUTDOWN_SRC,
vars=locals())
2010-12-15 02:33:21 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
2010-12-20 16:29:34 +03:00
source=RPC_DSSETUP_SRC,
vars=locals())
2010-12-15 02:33:21 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
2010-12-20 16:29:34 +03:00
source=RPC_WKSSVC_SRC,
deps='LIBNET',
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SVCCTL',
2010-12-20 16:29:34 +03:00
source=RPC_SVCCTL_SRC,
2011-02-03 14:25:24 +03:00
deps='SERVICES LIBCLI_WINREG',
2010-12-20 16:29:34 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
2010-12-20 16:29:34 +03:00
source=RPC_NTSVCS_SRC,
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
2010-12-20 16:29:34 +03:00
source=RPC_NETLOGON_SRC,
2011-05-16 15:08:06 +04:00
deps='RPC_NCACN_NP',
2010-12-20 16:29:34 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_NETDFS',
2010-12-20 16:29:34 +03:00
source=RPC_NETDFS_SRC,
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
2010-12-20 16:29:34 +03:00
source=RPC_SRVSVC_SRC,
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
2010-12-20 16:29:34 +03:00
source=RPC_SPOOLSS_SRC,
2011-05-16 15:08:06 +04:00
deps='cups PRINTING PRINTBACKEND LIBCLI_WINREG RPC_NCACN_NP',
2010-12-20 16:29:34 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_EVENTLOG',
2010-12-20 16:29:34 +03:00
source=RPC_EVENTLOG_SRC,
2011-02-03 14:25:24 +03:00
deps='LIBEVENTLOG LIBCLI_WINREG',
2010-12-20 16:29:34 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
2010-12-20 16:29:34 +03:00
source=RPC_RPCECHO_SRC,
vars=locals())
2010-12-15 02:33:21 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
2011-02-02 18:17:12 +03:00
source=RPC_EPMAPPER_SRC,
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVER',
2010-12-15 02:33:21 +03:00
source='srv_pipe_hnd.c srv_pipe.c',
2010-12-20 16:29:34 +03: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
2011-02-02 18:17:12 +03:00
RPC_EVENTLOG RPC_RPCECHO RPC_SERVER RPC_EPMAPPER
2011-02-10 14:48:46 +03:00
RPC_SERVER_REGISTER NDR_NAMED_PIPE_AUTH''')