5 bld
.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
6 source
='../librpc/gen_ndr/ndr_audiosrv.c',
10 bld
.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
11 source
='../librpc/gen_ndr/ndr_named_pipe_auth.c',
15 bld
.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
16 source
='../librpc/gen_ndr/ndr_dnsserver.c',
20 bld
.SAMBA_SUBSYSTEM('NDR_DNS',
21 source
='../librpc/gen_ndr/ndr_dns.c ../librpc/ndr/ndr_dns.c',
25 bld
.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
26 source
='../librpc/gen_ndr/ndr_dsbackup.c',
30 bld
.SAMBA_SUBSYSTEM('NDR_DFS',
31 source
='../librpc/gen_ndr/ndr_dfs.c',
35 bld
.SAMBA_SUBSYSTEM('NDR_WINREG',
36 source
='../librpc/gen_ndr/ndr_winreg.c',
37 public_deps
='ndr NDR_SECURITY NDR_LSA'
40 bld
.SAMBA_SUBSYSTEM('NDR_EFS',
41 source
='../librpc/gen_ndr/ndr_efs.c',
42 public_deps
='ndr NDR_SECURITY'
45 bld
.SAMBA_SUBSYSTEM('NDR_ROT',
46 source
='../librpc/gen_ndr/ndr_rot.c',
47 public_deps
='ndr NDR_ORPC'
50 bld
.SAMBA_SUBSYSTEM('NDR_FRSRPC',
51 source
='../librpc/ndr/ndr_frsrpc.c ../librpc/gen_ndr/ndr_frsrpc.c',
55 bld
.SAMBA_SUBSYSTEM('NDR_FRSAPI',
56 source
='../librpc/gen_ndr/ndr_frsapi.c',
60 bld
.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
61 source
='../librpc/gen_ndr/ndr_frstrans.c',
65 bld
.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
66 source
='../librpc/gen_ndr/ndr_dfsblobs.c',
70 bld
.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
71 source
='../librpc/gen_ndr/ndr_policyagent.c',
75 bld
.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
76 source
='../librpc/gen_ndr/ndr_unixinfo.c',
77 public_deps
='ndr NDR_SECURITY'
80 bld
.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
81 source
='../librpc/gen_ndr/ndr_spoolss.c',
82 public_deps
='ndr NDR_SPOOLSS_BUF NDR_SECURITY'
85 bld
.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
86 source
='../librpc/ndr/ndr_spoolss_buf.c',
90 bld
.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
91 source
='../librpc/gen_ndr/ndr_epmapper.c',
95 bld
.SAMBA_SUBSYSTEM('NDR_DBGIDL',
96 source
='../librpc/gen_ndr/ndr_dbgidl.c',
100 bld
.SAMBA_SUBSYSTEM('NDR_DSSETUP',
101 source
='../librpc/gen_ndr/ndr_dssetup.c',
105 bld
.SAMBA_SUBSYSTEM('NDR_MSGSVC',
106 source
='../librpc/gen_ndr/ndr_msgsvc.c',
110 bld
.SAMBA_SUBSYSTEM('NDR_MGMT',
111 source
='../librpc/gen_ndr/ndr_mgmt.c',
115 bld
.SAMBA_SUBSYSTEM('NDR_PROTECTED_STORAGE',
116 source
='../librpc/gen_ndr/ndr_protected_storage.c',
120 bld
.SAMBA_SUBSYSTEM('NDR_ORPC',
121 source
='../librpc/ndr/ndr_orpc.c ../librpc/gen_ndr/ndr_orpc.c',
125 bld
.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
126 source
='../librpc/gen_ndr/ndr_oxidresolver.c',
127 public_deps
='ndr NDR_ORPC'
130 bld
.SAMBA_SUBSYSTEM('NDR_REMACT',
131 source
='../librpc/gen_ndr/ndr_remact.c',
132 public_deps
='ndr NDR_ORPC'
135 bld
.SAMBA_SUBSYSTEM('NDR_DCOM',
136 source
='../librpc/gen_ndr/ndr_dcom.c',
137 public_deps
='ndr NDR_SECURITY NDR_ORPC'
140 bld
.SAMBA_SUBSYSTEM('NDR_WMI',
141 source
='../librpc/ndr/ndr_wmi.c ../librpc/gen_ndr/ndr_wmi.c',
142 public_deps
='ndr NDR_SECURITY NDR_DCOM'
145 bld
.SAMBA_SUBSYSTEM('NDR_WZCSVC',
146 source
='../librpc/gen_ndr/ndr_wzcsvc.c',
150 bld
.SAMBA_SUBSYSTEM('NDR_BROWSER',
151 source
='../librpc/gen_ndr/ndr_browser.c',
155 bld
.SAMBA_SUBSYSTEM('NDR_W32TIME',
156 source
='../librpc/gen_ndr/ndr_w32time.c',
160 bld
.SAMBA_SUBSYSTEM('NDR_SCERPC',
161 source
='../librpc/gen_ndr/ndr_scerpc.c',
165 bld
.SAMBA_SUBSYSTEM('NDR_TRKWKS',
166 source
='../librpc/gen_ndr/ndr_trkwks.c',
170 bld
.SAMBA_SUBSYSTEM('NDR_KEYSVC',
171 source
='../librpc/gen_ndr/ndr_keysvc.c',
175 bld
.SAMBA_SUBSYSTEM('NDR_RAP',
176 source
='../librpc/gen_ndr/ndr_rap.c ../librpc/ndr/ndr_rap.c',
180 bld
.SAMBA_SUBSYSTEM('NDR_IDMAP',
181 source
='../librpc/gen_ndr/ndr_idmap.c',
182 public_deps
='ndr ndr-standard'
185 bld
.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
186 source
='../librpc/ndr/ndr_ntlmssp.c ../librpc/gen_ndr/ndr_ntlmssp.c',
187 public_deps
='ndr ndr-standard'
190 bld
.SAMBA_SUBSYSTEM('NDR_DNSP',
191 source
='../librpc/gen_ndr/ndr_dnsp.c ../librpc/ndr/ndr_dnsp.c',
195 bld
.SAMBA_SUBSYSTEM('NDR_NTPRINTING',
196 source
='../librpc/gen_ndr/ndr_ntprinting.c ../librpc/ndr/ndr_ntprinting.c',
200 bld
.SAMBA_SUBSYSTEM('NDR_SAMR',
201 source
='../librpc/gen_ndr/ndr_samr.c',
202 public_deps
='ndr NDR_SECURITY NDR_LSA'
205 bld
.SAMBA_SUBSYSTEM('NDR_LSA',
206 source
='../librpc/gen_ndr/ndr_lsa.c',
207 public_deps
='ndr NDR_SECURITY'
210 bld
.SAMBA_SUBSYSTEM('NDR_SVCCTL',
211 source
='../librpc/gen_ndr/ndr_svcctl.c ../librpc/ndr/ndr_svcctl.c',
212 public_deps
='ndr NDR_SECURITY'
215 bld
.SAMBA_SUBSYSTEM('NDR_SRVSVC',
216 source
='../librpc/gen_ndr/ndr_srvsvc.c',
217 public_deps
='ndr NDR_SECURITY NDR_SVCCTL'
220 bld
.SAMBA_SUBSYSTEM('NDR_NETLOGON',
221 source
='../librpc/gen_ndr/ndr_netlogon.c ../librpc/ndr/ndr_netlogon.c',
222 public_deps
='ndr NDR_SECURITY NDR_LSA NDR_SAMR NDR_NBT'
225 bld
.SAMBA_SUBSYSTEM('NDR_EVENTLOG',
226 source
='../librpc/gen_ndr/ndr_eventlog.c',
227 public_deps
='ndr NDR_SECURITY NDR_LSA'
230 bld
.SAMBA_SUBSYSTEM('NDR_NTSVCS',
231 source
='../librpc/gen_ndr/ndr_ntsvcs.c',
235 bld
.SAMBA_SUBSYSTEM('NDR_WKSSVC',
236 source
='../librpc/gen_ndr/ndr_wkssvc.c',
237 public_deps
='ndr NDR_SECURITY'
240 bld
.SAMBA_SUBSYSTEM('NDR_ECHO',
241 source
='../librpc/gen_ndr/ndr_echo.c',
245 bld
.SAMBA_SUBSYSTEM('NDR_INITSHUTDOWN',
246 source
='../librpc/gen_ndr/ndr_initshutdown.c',
247 public_deps
='ndr NDR_LSA'
250 bld
.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
251 source
='../librpc/ndr/ndr_compression.c',
252 public_deps
='errors ndr',
256 bld
.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
257 source
='../librpc/ndr/ndr_drsuapi.c ../librpc/gen_ndr/ndr_drsuapi.c',
258 public_deps
='ndr NDR_COMPRESSION NDR_SECURITY ndr-standard ASN1_UTIL'
261 bld
.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
262 source
='../librpc/ndr/ndr_drsblobs.c ../librpc/gen_ndr/ndr_drsblobs.c',
263 public_deps
='ndr NDR_DRSUAPI'
266 bld
.SAMBA_SUBSYSTEM('NDR_KRB5PAC',
267 source
='../librpc/ndr/ndr_krb5pac.c ../librpc/gen_ndr/ndr_krb5pac.c',
268 public_deps
='ndr ndr-standard NDR_SECURITY'
272 bld
.SAMBA_SUBSYSTEM('NDR_XATTR',
273 source
='../librpc/ndr/ndr_xattr.c ../librpc/gen_ndr/ndr_xattr.c',
274 public_deps
='ndr NDR_SECURITY'
277 bld
.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
278 source
='../librpc/ndr/ndr_schannel.c ../librpc/gen_ndr/ndr_schannel.c',
279 public_deps
='ndr NDR_NBT'
282 bld
.SAMBA_SUBSYSTEM('NDR_NBT',
283 source
='../librpc/gen_ndr/ndr_nbt.c',
284 public_deps
='ndr NDR_NBT_BUF NDR_SECURITY ndr-standard LIBCLI_NDR_NETLOGON',
285 public_headers
='../librpc/gen_ndr/nbt.h',
286 header_path
='gen_ndr'
289 bld
.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
290 source
='../librpc/gen_ndr/ndr_xattr_c.c',
291 public_deps
='NDR_XATTR dcerpc'
294 bld
.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
295 source
='../librpc/gen_ndr/ndr_rot_c.c',
296 public_deps
='NDR_ROT dcerpc'
299 bld
.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
300 source
='../librpc/gen_ndr/ndr_audiosrv_c.c',
301 public_deps
='NDR_AUDIOSRV dcerpc'
304 bld
.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
305 source
='../librpc/gen_ndr/ndr_echo_c.c',
306 public_deps
='dcerpc NDR_ECHO'
309 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
310 source
='../librpc/gen_ndr/ndr_dsbackup_c.c',
311 public_deps
='dcerpc NDR_DSBACKUP'
314 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
315 source
='../librpc/gen_ndr/ndr_efs_c.c',
316 public_deps
='dcerpc NDR_EFS'
319 bld
.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
320 source
='../librpc/gen_ndr/ndr_lsa_c.c',
321 public_deps
='dcerpc ndr-standard'
324 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SAMR',
325 source
='../librpc/gen_ndr/ndr_samr_c.c',
326 public_deps
='dcerpc NDR_SAMR'
329 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
330 source
='../librpc/gen_ndr/ndr_dfs_c.c',
331 public_deps
='dcerpc ndr-standard'
334 bld
.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
335 source
='../librpc/gen_ndr/ndr_frsapi_c.c',
336 public_deps
='dcerpc NDR_FRSAPI'
339 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
340 source
='../librpc/gen_ndr/ndr_drsuapi_c.c',
341 public_deps
='dcerpc NDR_DRSUAPI'
344 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
345 source
='../librpc/gen_ndr/ndr_drsblobs_c.c',
346 public_deps
='dcerpc NDR_DRSBLOBS'
349 bld
.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
350 source
='../librpc/gen_ndr/ndr_policyagent_c.c',
351 public_deps
='dcerpc NDR_POLICYAGENT'
354 bld
.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
355 source
='../librpc/gen_ndr/ndr_unixinfo_c.c',
356 public_deps
='dcerpc NDR_UNIXINFO'
359 bld
.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
360 source
='../librpc/gen_ndr/ndr_browser_c.c',
361 public_deps
='dcerpc NDR_BROWSER'
364 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
365 source
='../librpc/gen_ndr/ndr_spoolss_c.c',
366 public_deps
='dcerpc NDR_SPOOLSS'
369 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
370 source
='../librpc/gen_ndr/ndr_nbt_c.c',
371 public_deps
='dcerpc NDR_NBT'
374 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
375 source
='../librpc/gen_ndr/ndr_wkssvc_c.c',
376 public_deps
='dcerpc ndr-standard'
379 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
380 source
='../librpc/gen_ndr/ndr_srvsvc_c.c',
381 public_deps
='dcerpc NDR_SRVSVC'
384 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
385 source
='../librpc/gen_ndr/ndr_svcctl_c.c',
386 public_deps
='dcerpc ndr-standard',
387 public_headers
='../librpc/gen_ndr/ndr_svcctl_c.h',
388 header_path
='gen_ndr'
391 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
392 source
='../librpc/gen_ndr/ndr_eventlog_c.c',
393 public_deps
='dcerpc ndr-standard'
396 bld
.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
397 source
='../librpc/gen_ndr/ndr_epmapper_c.c',
398 public_deps
='tevent NDR_EPMAPPER'
401 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
402 source
='../librpc/gen_ndr/ndr_dbgidl_c.c',
403 public_deps
='dcerpc NDR_DBGIDL'
406 bld
.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
407 source
='../librpc/gen_ndr/ndr_dssetup_c.c',
408 public_deps
='dcerpc NDR_DSSETUP'
411 bld
.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
412 source
='../librpc/gen_ndr/ndr_msgsvc_c.c',
413 public_deps
='dcerpc NDR_MSGSVC'
416 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
417 source
='../librpc/gen_ndr/ndr_winreg_c.c',
418 public_deps
='dcerpc ndr-standard'
421 bld
.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
422 source
='../librpc/gen_ndr/ndr_initshutdown_c.c',
423 public_deps
='dcerpc ndr-standard'
426 bld
.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
427 source
='../librpc/gen_ndr/ndr_mgmt_c.c',
428 deps
='tevent NDR_MGMT'
431 bld
.SAMBA_SUBSYSTEM('RPC_NDR_PROTECTED_STORAGE',
432 source
='../librpc/gen_ndr/ndr_protected_storage_c.c',
433 public_deps
='dcerpc NDR_PROTECTED_STORAGE'
436 bld
.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
437 source
='../librpc/gen_ndr/ndr_oxidresolver_c.c',
438 public_deps
='dcerpc NDR_OXIDRESOLVER'
441 bld
.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
442 source
='../librpc/gen_ndr/ndr_remact_c.c',
443 public_deps
='dcerpc NDR_REMACT'
446 bld
.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
447 source
='../librpc/gen_ndr/ndr_wzcsvc_c.c',
448 public_deps
='dcerpc NDR_WZCSVC'
451 bld
.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
452 source
='../librpc/gen_ndr/ndr_w32time_c.c',
453 public_deps
='dcerpc NDR_W32TIME'
456 bld
.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
457 source
='../librpc/gen_ndr/ndr_scerpc_c.c',
458 public_deps
='dcerpc NDR_SCERPC'
461 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
462 source
='../librpc/gen_ndr/ndr_ntsvcs_c.c',
463 public_deps
='dcerpc ndr-standard'
466 bld
.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
467 source
='../librpc/gen_ndr/ndr_netlogon_c.c',
468 public_deps
='ndr-standard tevent'
471 bld
.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
472 source
='../librpc/gen_ndr/ndr_trkwks_c.c',
473 public_deps
='dcerpc NDR_TRKWKS'
476 bld
.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
477 source
='../librpc/gen_ndr/ndr_keysvc_c.c',
478 public_deps
='dcerpc NDR_KEYSVC'
481 # a grouping library for NDR subsystems that may be used by more than one target
482 bld
.SAMBA_LIBRARY('ndr-samba',
484 deps
='NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_SCHANNEL NDR_MGMT NDR_KRB5PAC NDR_DNSP NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM',
485 private_library
=True,
486 grouping_library
=True
489 # a grouping library for RPC_NDR subsystems that may be used by more than one target
490 bld
.SAMBA_LIBRARY('dcerpc-samba',
492 deps
='RPC_NDR_DRSUAPI RPC_NDR_LSA RPC_NDR_WINREG',
493 private_library
=True,
494 grouping_library
=True