3 RPC_LSARPC_SRC
= '''srv_lsa_nt.c'''
4 RPC_NETLOGON_SRC
= '''srv_netlog_nt.c ../../librpc/gen_ndr/srv_netlogon.c'''
5 RPC_SAMR_SRC
= '''srv_samr_nt.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_SUBSYSTEM('RPC_SAMR',
29 bld
.SAMBA_SUBSYSTEM('RPC_LSARPC',
30 source
=RPC_LSARPC_SRC
,
33 bld
.SAMBA_MODULE('rpc_lsarpc',
35 source
='../../librpc/gen_ndr/srv_lsa.c',
38 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_lsarpc'),
39 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_lsarpc'))
41 bld
.SAMBA_MODULE('rpc_samr',
43 source
='../../librpc/gen_ndr/srv_samr.c',
46 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_samr'),
47 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_samr'))
49 bld
.SAMBA_MODULE('rpc_winreg',
51 source
=RPC_WINREG_SRC
,
52 deps
='REGFIO REG_API_REGF NDR_PERFCOUNT',
54 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_winreg'),
55 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_winreg'))
57 bld
.SAMBA_MODULE('rpc_initshutdown',
59 source
=RPC_INITSHUTDOWN_SRC
,
61 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_initshutdown'),
62 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_initshutdown'))
64 bld
.SAMBA_MODULE('rpc_dssetup',
66 source
=RPC_DSSETUP_SRC
,
68 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_dssetup'),
69 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_dssetup'))
71 bld
.SAMBA_MODULE('rpc_wkssvc',
73 source
=RPC_WKSSVC_SRC
,
76 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_wkssvc'),
77 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_wkssvc'))
79 bld
.SAMBA_MODULE('rpc_svcctl',
81 source
=RPC_SVCCTL_SRC
,
84 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_svcctl'),
85 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_svcctl'))
87 bld
.SAMBA_MODULE('rpc_ntsvcs',
89 source
=RPC_NTSVCS_SRC
,
91 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_ntsvcs'),
92 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_ntsvcs'))
94 bld
.SAMBA_MODULE('rpc_netlogon',
96 source
=RPC_NETLOGON_SRC
,
98 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_netlogon'),
99 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_netlogon'))
101 bld
.SAMBA_MODULE('rpc_netdfs',
103 source
=RPC_NETDFS_SRC
,
105 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_netdfs'),
106 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_netdfs'))
108 bld
.SAMBA_MODULE('rpc_srvsvc',
110 source
=RPC_SRVSVC_SRC
,
112 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_srvsvc'),
113 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_srvsvc'))
115 bld
.SAMBA_MODULE('rpc_spoolss',
117 source
=RPC_SPOOLSS_SRC
,
118 deps
='cups PRINTING PRINTBACKEND RPCCLI_WINREG',
120 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_spoolss'),
121 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_spoolss'))
123 bld
.SAMBA_MODULE('rpc_eventlog',
125 source
=RPC_EVENTLOG_SRC
,
128 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_eventlog'),
129 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_eventlog'))
131 bld
.SAMBA_MODULE('rpc_rpcecho',
133 source
=RPC_RPCECHO_SRC
,
135 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('rpc_rpcecho'),
136 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('rpc_rpcecho'))