3 RPC_LSARPC_SRC
= '''srv_lsa_nt.c ../../librpc/gen_ndr/srv_lsa.c'''
4 RPC_NETLOGON_SRC
= '''srv_netlog_nt.c ../../librpc/gen_ndr/srv_netlogon.c'''
5 RPC_SAMR_SRC
= '''srv_samr_nt.c ../../librpc/gen_ndr/srv_samr.c
7 srv_samr_chgpasswd.c'''
8 RPC_INITSHUTDOWN_SRC
= '''srv_initshutdown_nt.c ../../librpc/gen_ndr/srv_initshutdown.c'''
9 RPC_WINREG_SRC
= '''srv_winreg_nt.c ../../librpc/gen_ndr/srv_winreg.c'''
10 RPC_DSSETUP_SRC
= '''srv_dssetup_nt.c ../../librpc/gen_ndr/srv_dssetup.c'''
11 RPC_SRVSVC_SRC
= '''srv_srvsvc_nt.c ../../librpc/gen_ndr/srv_srvsvc.c'''
12 RPC_WKSSVC_SRC
= '''srv_wkssvc_nt.c ../../librpc/gen_ndr/srv_wkssvc.c'''
13 RPC_SVCCTL_SRC
= '''srv_svcctl_nt.c ../../librpc/gen_ndr/srv_svcctl.c'''
14 RPC_NTSVCS_SRC
= '''srv_ntsvcs_nt.c ../../librpc/gen_ndr/srv_ntsvcs.c'''
15 RPC_NETDFS_SRC
= '''srv_dfs_nt.c ../../librpc/gen_ndr/srv_dfs.c'''
16 RPC_SPOOLSS_SRC
= '''srv_spoolss_nt.c ../../librpc/gen_ndr/srv_spoolss.c
18 RPC_EVENTLOG_SRC
= '''srv_eventlog_nt.c ../../librpc/gen_ndr/srv_eventlog.c'''
19 RPC_RPCECHO_SRC
= '''srv_echo_nt.c ../../librpc/gen_ndr/srv_echo.c'''
21 bld
.SAMBA_SUBSYSTEM('rpc',
22 source
='srv_pipe_register.c',
25 bld
.SAMBA_MODULE('rpc_lsarpc',
27 source
=RPC_LSARPC_SRC
,
29 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_LSARPC'),
30 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_LSARPC'))
32 bld
.SAMBA_MODULE('rpc_samr',
36 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_SAMR'),
37 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_SAMR'))
39 bld
.SAMBA_MODULE('rpc_winreg',
41 source
=RPC_WINREG_SRC
,
42 deps
='REGFIO REG_API_REGF NDR_PERFCOUNT',
44 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_WINREG'),
45 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_WINREG'))
47 bld
.SAMBA_MODULE('rpc_initshutdown',
49 source
=RPC_INITSHUTDOWN_SRC
,
51 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_INITSHUTDOWN'),
52 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_INITSHUTDOWN'))
54 bld
.SAMBA_MODULE('rpc_dssetup',
56 source
=RPC_DSSETUP_SRC
,
58 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_DSSETUP'),
59 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_DSSETUP'))
61 bld
.SAMBA_MODULE('rpc_wkssvc',
63 source
=RPC_WKSSVC_SRC
,
66 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_WKSSVC'),
67 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_WKSSVC'))
69 bld
.SAMBA_MODULE('rpc_svcctl',
71 source
=RPC_SVCCTL_SRC
,
74 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_SVCCTL'),
75 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_SVCCTL'))
77 bld
.SAMBA_MODULE('rpc_ntsvcs',
79 source
=RPC_NTSVCS_SRC
,
81 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_NTSVCS'),
82 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_NTSVCS'))
84 bld
.SAMBA_MODULE('rpc_netlogon',
86 source
=RPC_NETLOGON_SRC
,
88 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_NETLOGON'),
89 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_NETLOGON'))
91 bld
.SAMBA_MODULE('rpc_netdfs',
93 source
=RPC_NETDFS_SRC
,
95 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_NETDFS'),
96 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_NETDFS'))
98 bld
.SAMBA_MODULE('rpc_srvsvc',
100 source
=RPC_SRVSVC_SRC
,
102 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_SRVSVC'),
103 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_SRVSVC'))
105 bld
.SAMBA_MODULE('rpc_spoolss',
107 source
=RPC_SPOOLSS_SRC
,
108 deps
='cups PRINTING PRINTBACKEND RPCCLI_WINREG',
110 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_SPOOLSS'),
111 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_SPOOLSS'))
113 bld
.SAMBA_MODULE('rpc_eventlog',
115 source
=RPC_EVENTLOG_SRC
,
118 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_EVENTLOG'),
119 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_EVENTLOG'))
121 bld
.SAMBA_MODULE('rpc_rpcecho',
123 source
=RPC_RPCECHO_SRC
,
125 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('RPC_RPCECHO'),
126 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('RPC_RPCECHO'))