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-08-11 00:33:22 +04:00
bld.SAMBA3_SUBSYSTEM('RPC_CONFIG',
source='rpc_config.c')
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
2011-05-31 12:28:39 +04:00
source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',
2011-08-11 00:33:22 +04:00
deps='RPC_CONFIG auth auth_sam_reply RPC_PIPE_REGISTER npa_tstream')
2010-12-20 16:29:34 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
2011-05-20 12:12:08 +04:00
source='rpc_server.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2010-12-20 16:29:34 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_CRYPTO',
2012-01-02 13:30:41 +04:00
source='dcesrv_auth_generic.c dcesrv_spnego.c',
2011-04-28 10:23:53 +04:00
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',
2011-05-20 12:12:08 +04:00
source='srv_pipe_register.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2010-12-20 16:29:34 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
2011-06-06 13:10:02 +04:00
source='rpc_ep_register.c ../librpc/rpc/dcerpc_ep.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2011-02-02 18:17:12 +03:00
2011-03-05 03:26:55 +03:00
bld.SAMBA3_SUBSYSTEM('EPMD',
2011-05-20 12:12:08 +04:00
source='epmd.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2011-03-05 03:26:55 +03:00
2011-08-15 15:25:37 +04:00
bld.SAMBA3_SUBSYSTEM('LSASD',
source='lsasd.c',
deps='samba-util')
2011-03-25 16:12:59 +03:00
bld.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
2011-05-20 12:12:08 +04:00
source='srv_access_check.c',
2011-06-20 14:36:46 +04:00
deps='samba-util')
2011-03-25 16:12:59 +03:00
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,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-12-20 16:29:34 +03:00
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,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-12-20 16:29:34 +03:00
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-07-08 19:17:17 +04:00
deps='SERVICES LIBCLI_WINREG_INTERNAL',
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,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-12-20 16:29:34 +03:00
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,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-12-20 16:29:34 +03:00
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,
2011-06-28 18:39:36 +04:00
deps='samba-util tdb',
2010-12-20 16:29:34 +03:00
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-07-08 19:17:17 +04:00
deps='cups PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL 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-07-08 19:17:17 +04:00
deps='LIBEVENTLOG LIBCLI_WINREG_INTERNAL',
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,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-12-20 16:29:34 +03:00
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,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2011-02-02 18:17:12 +03:00
vars=locals())
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVER',
2011-07-01 20:40:38 +04:00
source='srv_pipe_hnd.c srv_pipe.c rpc_sock_helper.c rpc_service_setup.c',
2011-08-11 00:33:22 +04:00
deps='''RPC_CONFIG RPC_NCACN_NP RPC_SERVICE RPC_CRYPTO
2010-12-20 16:29:34 +03:00
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''')