2010-09-28 18:55:55 +02:00
#!/usr/bin/env python
2013-10-23 10:14:01 +02:00
### RPC_SERVER
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('rpc',
2010-12-15 00:33:21 +01:00
source='',
2013-09-24 20:02:54 +02:00
deps='RPC_PIPE_REGISTER')
2010-09-28 18:55:55 +02:00
2011-08-10 16:33:22 -04:00
bld.SAMBA3_SUBSYSTEM('RPC_CONFIG',
2012-02-07 10:46:43 -08:00
source='rpc_config.c',
2013-09-24 20:02:54 +02:00
deps='talloc')
2011-08-10 16:33:22 -04:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
2011-05-31 10:28:39 +02:00
source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',
2017-02-23 13:50:14 +13:00
deps='RPC_CONFIG auth common_auth RPC_PIPE_REGISTER npa_tstream')
2010-12-20 14:29:34 +01:00
2013-10-23 10:24:13 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVER_LOOP',
2011-05-20 08:12:08 +00:00
source='rpc_server.c',
2011-06-20 20:36:46 +10:00
deps='samba-util')
2010-12-20 14:29:34 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('RPC_CRYPTO',
2012-02-06 12:40:38 +11:00
source='dcesrv_auth_generic.c',
2011-04-28 16:23:53 +10:00
deps = 'KRB5_PAC')
2010-12-20 14:29:34 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('RPC_PIPE_REGISTER',
2011-05-20 08:12:08 +00:00
source='srv_pipe_register.c',
2011-06-20 20:36:46 +10:00
deps='samba-util')
2010-12-20 14:29:34 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
source='srv_access_check.c',
2011-06-20 20:36:46 +10:00
deps='samba-util')
2011-02-02 16:17:12 +01:00
2013-10-23 10:24:13 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVER',
2013-10-23 10:36:57 +02:00
source='srv_pipe_hnd.c srv_pipe.c',
2013-10-23 10:24:13 +02:00
deps='''
RPC_CONFIG
RPC_NCACN_NP
RPC_SERVER_LOOP
RPC_CRYPTO
NDR_NAMED_PIPE_AUTH
''')
2017-01-16 12:24:54 +01:00
bld.SAMBA3_SUBSYSTEM('RPC_MODULES',
source='rpc_modules.c',
deps='samba-util')
2013-10-23 10:14:01 +02:00
### RPC_SERVICES
bld.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
source='''dssetup/srv_dssetup_nt.c
../../librpc/gen_ndr/srv_dssetup.c''',
2011-06-20 20:36:46 +10:00
deps='samba-util')
2011-03-05 01:26:55 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
source='''epmapper/srv_epmapper.c
../../librpc/gen_ndr/srv_epmapper.c''',
2011-08-15 13:25:37 +02:00
deps='samba-util')
2014-01-03 16:21:22 +01:00
bld.SAMBA3_SUBSYSTEM('RPC_FSS_STATE',
source='''fss/srv_fss_state.c''',
deps='samba-util NDR_FSRVP_STATE')
2012-04-10 14:32:41 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_FSS_AGENT',
source='''fss/srv_fss_agent.c
../../librpc/gen_ndr/srv_fsrvp.c''',
deps='samba-util RPC_FSS_STATE')
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_EVENTLOG',
source='''eventlog/srv_eventlog_nt.c
eventlog/srv_eventlog_reg.c
../../librpc/gen_ndr/srv_eventlog.c''',
deps='LIBEVENTLOG LIBCLI_WINREG_INTERNAL')
2011-03-25 14:12:59 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
source='''initshutdown/srv_initshutdown_nt.c
../../librpc/gen_ndr/srv_initshutdown.c''',
deps='samba-util')
2010-11-30 23:04:23 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('RPC_LSARPC',
2013-09-24 20:02:54 +02:00
source='''lsa/srv_lsa_nt.c
../../librpc/gen_ndr/srv_lsa.c''',
2014-09-11 16:11:06 -07:00
deps='SRV_ACCESS_CHECK LIBLSA')
2010-11-30 23:06:53 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_NETDFS',
source='''dfs/srv_dfs_nt.c
../../librpc/gen_ndr/srv_dfs.c''',
2013-09-24 20:02:54 +02:00
deps='samba-util')
2010-12-15 00:33:21 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
source='''netlogon/srv_netlog_nt.c
2013-09-25 11:35:41 +02:00
../../librpc/gen_ndr/srv_netlogon.c''')
2010-12-20 14:29:34 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
2013-09-24 20:02:54 +02:00
source='''ntsvcs/srv_ntsvcs_nt.c
../../librpc/gen_ndr/srv_ntsvcs.c''',
deps='samba-util')
2010-12-20 14:29:34 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
source='''echo/srv_echo_nt.c
../../librpc/gen_ndr/srv_echo.c''',
2013-09-24 20:02:54 +02:00
deps='samba-util')
2010-12-20 14:29:34 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_SAMR',
source='''samr/srv_samr_nt.c
samr/srv_samr_util.c
samr/srv_samr_chgpasswd.c
../../librpc/gen_ndr/srv_samr.c''',
deps='PLAINTEXT_AUTH SRV_ACCESS_CHECK')
2010-12-20 14:29:34 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
2013-09-24 20:02:54 +02:00
source='''spoolss/srv_spoolss_nt.c
spoolss/srv_spoolss_util.c''',
2013-09-25 11:35:41 +02:00
deps='PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL')
2010-12-20 14:29:34 +01:00
2016-09-20 20:21:50 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_IREMOTEWINSPOOL',
source='''
spoolss/srv_iremotewinspool_nt.c
2016-09-20 18:43:57 +02:00
spoolss/srv_iremotewinspool.c
2016-09-20 20:21:50 +02:00
''',
deps='RPC_SPOOLSS')
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
source='''srvsvc/srv_srvsvc_nt.c
../../librpc/gen_ndr/srv_srvsvc.c''',
deps='samba-util tdb')
2010-12-20 14:29:34 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_SVCCTL',
source='''svcctl/srv_svcctl_nt.c
svcctl/srv_svcctl_reg.c
../../librpc/gen_ndr/srv_svcctl.c''',
deps='SERVICES LIBCLI_WINREG_INTERNAL')
2010-12-15 00:33:21 +01:00
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_WINREG',
source='''winreg/srv_winreg_nt.c
../../librpc/gen_ndr/srv_winreg.c''',
deps='REG_FULL REGFIO REG_API_REGF NDR_PERFCOUNT')
bld.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
source='''wkssvc/srv_wkssvc_nt.c
../../librpc/gen_ndr/srv_wkssvc.c''',
deps='LIBNET')
2015-10-06 13:45:33 +02:00
bld.SAMBA3_MODULE('rpc_mdssvc_module',
subsystem='rpc',
allow_undefined_symbols=True,
source='''mdssvc/mdssvc.c
mdssvc/dalloc.c
mdssvc/marshalling.c
mdssvc/sparql_mapping.c
2017-01-17 16:02:27 +00:00
mdssvc/sparql_parser.y
mdssvc/sparql_lexer.l
2015-10-06 13:45:33 +02:00
mdssvc/srv_mdssvc_nt.c
../../librpc/gen_ndr/srv_mdssvc.c''',
init_function='',
deps='samba-util ' + bld.env['libtracker'],
internal_module=bld.SAMBA3_IS_STATIC_MODULE('rpc_mdssvc_module'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('rpc_mdssvc_module'))
2014-07-23 09:58:45 +02:00
2013-10-23 10:14:01 +02:00
# RPC_SERVICE
bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
source='rpc_ep_register.c ../librpc/rpc/dcerpc_ep.c',
2013-09-24 20:02:54 +02:00
deps='samba-util')
2011-02-02 16:17:12 +01:00
2013-10-23 10:24:13 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
2017-01-16 12:24:54 +01:00
source='rpc_service_setup.c',
2013-10-23 10:24:13 +02:00
deps='''
2015-10-24 10:50:43 +02:00
rpc
2013-10-23 10:24:13 +02:00
RPC_SERVER
RPC_SERVER_REGISTER
2017-01-16 12:24:54 +01:00
RPC_MODULES
2013-10-23 10:24:13 +02: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
2016-09-20 20:21:50 +02:00
RPC_IREMOTEWINSPOOL
2013-10-23 10:24:13 +02:00
RPC_EVENTLOG
RPC_RPCECHO
RPC_SERVER
RPC_EPMAPPER
2012-04-10 14:32:41 +02:00
RPC_FSS_AGENT
2013-10-23 10:24:13 +02:00
''')
2013-10-23 10:14:01 +02:00
# RPC_DAEMONS
2013-10-23 10:36:57 +02:00
bld.SAMBA3_SUBSYSTEM('RPC_SOCK_HELPER',
source='rpc_sock_helper.c',
deps='RPC_SERVER_REGISTER')
2013-10-23 10:14:01 +02:00
bld.SAMBA3_SUBSYSTEM('EPMD',
source='epmd.c',
deps='samba-util')
bld.SAMBA3_SUBSYSTEM('LSASD',
source='lsasd.c',
2013-10-23 10:36:57 +02:00
deps='RPC_SOCK_HELPER samba-util')
2012-04-10 14:32:41 +02:00
bld.SAMBA3_SUBSYSTEM('FSSD',
source='fssd.c',
deps='samba-util')
2014-08-11 22:29:09 +02:00
bld.SAMBA3_SUBSYSTEM('MDSSD',
2017-01-16 12:24:54 +01:00
source='mdssd.c',
deps='RPC_SOCK_HELPER RPC_MODULES samba-util',
2014-08-11 22:29:09 +02:00
enabled=bld.env.with_spotlight)