summaryrefslogtreecommitdiff
path: root/source3/rpc_server/wscript_build
blob: 278e0bd924a3ac290131e6cae71f1b1589d7fdf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
#!/usr/bin/env python

### RPC_SERVER
bld.SAMBA3_SUBSYSTEM('rpc',
                    source='',
                    deps='RPC_PIPE_REGISTER')

bld.SAMBA3_SUBSYSTEM('RPC_CONFIG',
                    source='rpc_config.c',
                    deps='talloc')

bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
                    source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',
                    deps='RPC_CONFIG auth auth_sam_reply RPC_PIPE_REGISTER npa_tstream')

bld.SAMBA3_SUBSYSTEM('RPC_SERVER_LOOP',
                    source='rpc_server.c',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_CRYPTO',
                     source='dcesrv_auth_generic.c',
                     deps = 'KRB5_PAC')

bld.SAMBA3_SUBSYSTEM('RPC_PIPE_REGISTER',
                    source='srv_pipe_register.c',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('SRV_ACCESS_CHECK',
                    source='srv_access_check.c',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_SERVER',
                    source='srv_pipe_hnd.c srv_pipe.c',
                    deps='''
                    RPC_CONFIG
                    RPC_NCACN_NP
                    RPC_SERVER_LOOP
                    RPC_CRYPTO
                    NDR_NAMED_PIPE_AUTH
                    ''')

### RPC_SERVICES
bld.SAMBA3_SUBSYSTEM('RPC_DSSETUP',
                    source='''dssetup/srv_dssetup_nt.c
                    ../../librpc/gen_ndr/srv_dssetup.c''',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_EPMAPPER',
                    source='''epmapper/srv_epmapper.c
                    ../../librpc/gen_ndr/srv_epmapper.c''',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_FSS_STATE',
                    source='''fss/srv_fss_state.c''',
                    deps='samba-util NDR_FSRVP_STATE')

bld.SAMBA3_SUBSYSTEM('RPC_FSS_AGENT',
                    source='''fss/srv_fss_agent.c
                    ../../librpc/gen_ndr/srv_fsrvp.c''',
                    deps='samba-util RPC_FSS_STATE')

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')

bld.SAMBA3_SUBSYSTEM('RPC_INITSHUTDOWN',
                    source='''initshutdown/srv_initshutdown_nt.c
                    ../../librpc/gen_ndr/srv_initshutdown.c''',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_LSARPC',
                    source='''lsa/srv_lsa_nt.c
                    ../../librpc/gen_ndr/srv_lsa.c''',
                    deps='SRV_ACCESS_CHECK LIBLSA')

bld.SAMBA3_SUBSYSTEM('RPC_NETDFS',
                    source='''dfs/srv_dfs_nt.c
                    ../../librpc/gen_ndr/srv_dfs.c''',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_NETLOGON',
                     source='''netlogon/srv_netlog_nt.c
                     ../../librpc/gen_ndr/srv_netlogon.c''')

bld.SAMBA3_SUBSYSTEM('RPC_NTSVCS',
                    source='''ntsvcs/srv_ntsvcs_nt.c
                    ../../librpc/gen_ndr/srv_ntsvcs.c''',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_RPCECHO',
                    source='''echo/srv_echo_nt.c
                    ../../librpc/gen_ndr/srv_echo.c''',
                    deps='samba-util')

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')

bld.SAMBA3_SUBSYSTEM('RPC_SPOOLSS',
                    source='''spoolss/srv_spoolss_nt.c
                    ../../librpc/gen_ndr/srv_spoolss.c
                    spoolss/srv_spoolss_util.c''',
                    deps='PRINTING PRINTBACKEND LIBCLI_WINREG_INTERNAL')

bld.SAMBA3_SUBSYSTEM('RPC_SRVSVC',
                    source='''srvsvc/srv_srvsvc_nt.c
                    ../../librpc/gen_ndr/srv_srvsvc.c''',
                    deps='samba-util tdb')

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')

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')

bld.SAMBA3_SUBSYSTEM('RPC_MDSSVC',
                    source='''mdssvc/mdssvc.c
                    mdssvc/dalloc.c
                    mdssvc/marshalling.c
                    mdssvc/sparql_mapping.c
                    mdssvc/sparql_parser.c
                    mdssvc/sparql_lexer.c
                    mdssvc/srv_mdssvc_nt.c
                    ../../librpc/gen_ndr/srv_mdssvc.c''',
                    deps='samba-util ' + bld.env['libtracker'],
                    enabled=bld.env.with_spotlight)

# RPC_SERVICE
bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
                    source='rpc_ep_register.c ../librpc/rpc/dcerpc_ep.c',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
                    source='rpc_service_setup.c',
                    deps='''
                    RPC_SERVER
                    RPC_SERVER_REGISTER
                    RPC_SAMR
                    RPC_LSARPC
                    RPC_WINREG
                    RPC_INITSHUTDOWN
                    RPC_DSSETUP
                    RPC_WKSSVC
                    RPC_SVCCTL
                    RPC_NTSVCS
                    RPC_NETLOGON
                    RPC_NETDFS
                    RPC_SRVSVC
                    RPC_SPOOLSS
                    RPC_EVENTLOG
                    RPC_RPCECHO
                    RPC_SERVER
                    RPC_EPMAPPER
		    RPC_FSS_AGENT
                    RPC_MDSSVC
                    ''')

# RPC_DAEMONS
bld.SAMBA3_SUBSYSTEM('RPC_SOCK_HELPER',
                    source='rpc_sock_helper.c',
                    deps='RPC_SERVER_REGISTER')

bld.SAMBA3_SUBSYSTEM('EPMD',
                    source='epmd.c',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('LSASD',
                    source='lsasd.c',
                    deps='RPC_SOCK_HELPER samba-util')

bld.SAMBA3_SUBSYSTEM('FSSD',
                    source='fssd.c',
                    deps='samba-util')

bld.SAMBA3_SUBSYSTEM('MDSSD',
                    source='mdssd.c',
                    deps='RPC_SOCK_HELPER samba-util',
                    enabled=bld.env.with_spotlight)