ctdb-scripts: Drop all public IP addresses from 10.interface
[Samba.git] / source3 / rpc_server / wscript_build
blob25c923dd55552c40683a1b2019d732cd05f8f8b4
1 #!/usr/bin/env python
3 ### RPC_SERVER
4 bld.SAMBA3_SUBSYSTEM('rpc',
5 source='',
6 deps='RPC_PIPE_REGISTER')
8 bld.SAMBA3_SUBSYSTEM('RPC_CONFIG',
9 source='rpc_config.c',
10 deps='talloc')
12 bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
13 source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',
14 deps='RPC_CONFIG auth auth_sam_reply RPC_PIPE_REGISTER npa_tstream')
16 bld.SAMBA3_SUBSYSTEM('RPC_SERVER_LOOP',
17 source='rpc_server.c',
18 deps='samba-util')
20 bld.SAMBA3_SUBSYSTEM('RPC_CRYPTO',
21 source='dcesrv_auth_generic.c',
22 deps = 'KRB5_PAC')
24 bld.SAMBA3_SUBSYSTEM('RPC_PIPE_REGISTER',
25 source='srv_pipe_register.c',
26 deps='samba-util')
28 bld.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
29 source='srv_access_check.c',
30 deps='samba-util')
32 bld.SAMBA3_SUBSYSTEM('RPC_SERVER',
33 source='srv_pipe_hnd.c srv_pipe.c',
34 deps='''
35 RPC_CONFIG
36 RPC_NCACN_NP
37 RPC_SERVER_LOOP
38 RPC_CRYPTO
39 NDR_NAMED_PIPE_AUTH
40 ''')
42 ### RPC_SERVICES
43 bld.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
44 source='''dssetup/srv_dssetup_nt.c
45 ../../librpc/gen_ndr/srv_dssetup.c''',
46 deps='samba-util')
48 bld.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
49 source='''epmapper/srv_epmapper.c
50 ../../librpc/gen_ndr/srv_epmapper.c''',
51 deps='samba-util')
53 bld.SAMBA3_SUBSYSTEM('RPC_FSS_STATE',
54 source='''fss/srv_fss_state.c''',
55 deps='samba-util NDR_FSRVP_STATE')
57 bld.SAMBA3_SUBSYSTEM('RPC_FSS_AGENT',
58 source='''fss/srv_fss_agent.c
59 ../../librpc/gen_ndr/srv_fsrvp.c''',
60 deps='samba-util RPC_FSS_STATE')
62 bld.SAMBA3_SUBSYSTEM('RPC_EVENTLOG',
63 source='''eventlog/srv_eventlog_nt.c
64 eventlog/srv_eventlog_reg.c
65 ../../librpc/gen_ndr/srv_eventlog.c''',
66 deps='LIBEVENTLOG LIBCLI_WINREG_INTERNAL')
68 bld.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
69 source='''initshutdown/srv_initshutdown_nt.c
70 ../../librpc/gen_ndr/srv_initshutdown.c''',
71 deps='samba-util')
73 bld.SAMBA3_SUBSYSTEM('RPC_LSARPC',
74 source='''lsa/srv_lsa_nt.c
75 ../../librpc/gen_ndr/srv_lsa.c''',
76 deps='SRV_ACCESS_CHECK LIBLSA')
78 bld.SAMBA3_SUBSYSTEM('RPC_NETDFS',
79 source='''dfs/srv_dfs_nt.c
80 ../../librpc/gen_ndr/srv_dfs.c''',
81 deps='samba-util')
83 bld.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
84 source='''netlogon/srv_netlog_nt.c
85 ../../librpc/gen_ndr/srv_netlogon.c''')
87 bld.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
88 source='''ntsvcs/srv_ntsvcs_nt.c
89 ../../librpc/gen_ndr/srv_ntsvcs.c''',
90 deps='samba-util')
92 bld.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
93 source='''echo/srv_echo_nt.c
94 ../../librpc/gen_ndr/srv_echo.c''',
95 deps='samba-util')
97 bld.SAMBA3_SUBSYSTEM('RPC_SAMR',
98 source='''samr/srv_samr_nt.c
99 samr/srv_samr_util.c
100 samr/srv_samr_chgpasswd.c
101 ../../librpc/gen_ndr/srv_samr.c''',
102 deps='PLAINTEXT_AUTH SRV_ACCESS_CHECK')
104 bld.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
105 source='''spoolss/srv_spoolss_nt.c
106 ../../librpc/gen_ndr/srv_spoolss.c
107 spoolss/srv_spoolss_util.c''',
108 deps='PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL')
110 bld.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
111 source='''srvsvc/srv_srvsvc_nt.c
112 ../../librpc/gen_ndr/srv_srvsvc.c''',
113 deps='samba-util tdb')
115 bld.SAMBA3_SUBSYSTEM('RPC_SVCCTL',
116 source='''svcctl/srv_svcctl_nt.c
117 svcctl/srv_svcctl_reg.c
118 ../../librpc/gen_ndr/srv_svcctl.c''',
119 deps='SERVICES LIBCLI_WINREG_INTERNAL')
121 bld.SAMBA3_SUBSYSTEM('RPC_WINREG',
122 source='''winreg/srv_winreg_nt.c
123 ../../librpc/gen_ndr/srv_winreg.c''',
124 deps='REG_FULL REGFIO REG_API_REGF NDR_PERFCOUNT')
126 bld.SAMBA3_SUBSYSTEM('RPC_WKSSVC',
127 source='''wkssvc/srv_wkssvc_nt.c
128 ../../librpc/gen_ndr/srv_wkssvc.c''',
129 deps='LIBNET')
131 # RPC_SERVICE
132 bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
133 source='rpc_ep_register.c ../librpc/rpc/dcerpc_ep.c',
134 deps='samba-util')
136 bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
137 source='rpc_service_setup.c',
138 deps='''
139 RPC_SERVER
140 RPC_SERVER_REGISTER
141 RPC_SAMR
142 RPC_LSARPC
143 RPC_WINREG
144 RPC_INITSHUTDOWN
145 RPC_DSSETUP
146 RPC_WKSSVC
147 RPC_SVCCTL
148 RPC_NTSVCS
149 RPC_NETLOGON
150 RPC_NETDFS
151 RPC_SRVSVC
152 RPC_SPOOLSS
153 RPC_EVENTLOG
154 RPC_RPCECHO
155 RPC_SERVER
156 RPC_EPMAPPER
157 RPC_FSS_AGENT
158 ''')
160 # RPC_DAEMONS
161 bld.SAMBA3_SUBSYSTEM('RPC_SOCK_HELPER',
162 source='rpc_sock_helper.c',
163 deps='RPC_SERVER_REGISTER')
165 bld.SAMBA3_SUBSYSTEM('EPMD',
166 source='epmd.c',
167 deps='samba-util')
169 bld.SAMBA3_SUBSYSTEM('LSASD',
170 source='lsasd.c',
171 deps='RPC_SOCK_HELPER samba-util')
173 bld.SAMBA3_SUBSYSTEM('FSSD',
174 source='fssd.c',
175 deps='samba-util')