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