s3-mdssvc: lexer and parser for Spotlight queries
[Samba.git] / source3 / rpc_server / wscript_build
blob99e2b0626954db41f2f4abc622801fb0d3dd4feb
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 bld.SAMBA3_SUBSYSTEM('RPC_MDSSVC',
132 source='''mdssvc/mdssvc.c
133 mdssvc/dalloc.c
134 mdssvc/marshalling.c
135 mdssvc/sparql_mapping.c
136 mdssvc/sparql_parser.c
137 mdssvc/sparql_lexer.c
138 mdssvc/srv_mdssvc_nt.c
139 ../../librpc/gen_ndr/srv_mdssvc.c''',
140 deps='samba-util ' + bld.env['libtracker'],
141 enabled=bld.env.with_spotlight)
143 # RPC_SERVICE
144 bld.SAMBA3_SUBSYSTEM('RPC_SERVER_REGISTER',
145 source='rpc_ep_register.c ../librpc/rpc/dcerpc_ep.c',
146 deps='samba-util')
148 bld.SAMBA3_SUBSYSTEM('RPC_SERVICE',
149 source='rpc_service_setup.c',
150 deps='''
151 RPC_SERVER
152 RPC_SERVER_REGISTER
153 RPC_SAMR
154 RPC_LSARPC
155 RPC_WINREG
156 RPC_INITSHUTDOWN
157 RPC_DSSETUP
158 RPC_WKSSVC
159 RPC_SVCCTL
160 RPC_NTSVCS
161 RPC_NETLOGON
162 RPC_NETDFS
163 RPC_SRVSVC
164 RPC_SPOOLSS
165 RPC_EVENTLOG
166 RPC_RPCECHO
167 RPC_SERVER
168 RPC_EPMAPPER
169 RPC_FSS_AGENT
170 RPC_MDSSVC
171 ''')
173 # RPC_DAEMONS
174 bld.SAMBA3_SUBSYSTEM('RPC_SOCK_HELPER',
175 source='rpc_sock_helper.c',
176 deps='RPC_SERVER_REGISTER')
178 bld.SAMBA3_SUBSYSTEM('EPMD',
179 source='epmd.c',
180 deps='samba-util')
182 bld.SAMBA3_SUBSYSTEM('LSASD',
183 source='lsasd.c',
184 deps='RPC_SOCK_HELPER samba-util')
186 bld.SAMBA3_SUBSYSTEM('FSSD',
187 source='fssd.c',
188 deps='samba-util')