build: updates for current master build
[nivanova/samba-autobuild/.git] / source4 / librpc / wscript_build
1 bld.BUILD_SUBDIR('../../librpc/idl')
2 bld.BUILD_SUBDIR('idl')
3
4 bld.SAMBA_LIBRARY('LIBNDR',
5         source='ndr/ndr_string.c ../../librpc/ndr/ndr_basic.c ../../librpc/ndr/uuid.c ../../librpc/ndr/ndr.c ../../librpc/ndr/ndr_misc.c ../../librpc/gen_ndr/ndr_misc.c',
6         # PC_FILES='../librpc/ndr.pc',
7         public_deps='LIBSAMBA-ERRORS talloc LIBSAMBA-UTIL CHARSET LIBSAMBA-HOSTCONFIG',
8         public_headers='../../librpc/ndr/libndr.h PIDL_COMMON/misc.h PIDL_COMMON/ndr_misc.h',
9         depends_on='PIDL_MISC',
10         vnum='0.0.1'
11         )
12
13
14 bld.SAMBA_BINARY('ndrdump',
15         source='../../librpc/tools/ndrdump.c',
16         manpages='../../librpc/tools/ndrdump.1',
17         installdir='BINDIR',
18         deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT POPT_SAMBA NDR_TABLE LIBSAMBA-ERRORS'
19         )
20
21
22 bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
23         source='../../librpc/ndr/ndr_compression.c',
24         public_deps='LIBSAMBA-ERRORS LIBNDR',
25         deps='ZLIB LZXPRESS'
26         )
27
28
29 bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
30         source='../../librpc/gen_ndr/ndr_security.c ../../librpc/ndr/ndr_sec_helper.c gen_ndr/ndr_server_id.c',
31         public_deps='LIBNDR LIBSECURITY',
32         public_headers='../libcli/security/security.h gen_ndr/server_id.h'
33         )
34
35
36 bld.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
37         source='../../librpc/gen_ndr/ndr_audiosrv.c',
38         public_deps='LIBNDR'
39         )
40
41
42 bld.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
43         source='../../librpc/gen_ndr/ndr_named_pipe_auth.c',
44         public_deps='LIBNDR'
45         )
46
47
48 bld.SAMBA_SUBSYSTEM('NDR_DNSSERVER',
49         source='../../librpc/gen_ndr/ndr_dnsserver.c',
50         public_deps='LIBNDR'
51         )
52
53
54 bld.SAMBA_SUBSYSTEM('NDR_WINSTATION',
55         source='gen_ndr/ndr_winstation.c',
56         public_deps='LIBNDR'
57         )
58
59
60 bld.SAMBA_SUBSYSTEM('NDR_IRPC',
61         source='gen_ndr/ndr_irpc.c',
62         public_deps='LIBNDR NDR_SECURITY NDR_NBT'
63         )
64
65
66 bld.SAMBA_SUBSYSTEM('NDR_DCOM',
67         source='../../librpc/gen_ndr/ndr_dcom.c',
68         public_deps='LIBNDR NDR_SECURITY NDR_ORPC'
69         )
70
71
72 bld.SAMBA_SUBSYSTEM('NDR_WMI',
73         source='../../librpc/ndr/ndr_wmi.c ../../librpc/gen_ndr/ndr_wmi.c',
74         public_deps='LIBNDR NDR_SECURITY NDR_DCOM'
75         )
76
77
78 bld.SAMBA_SUBSYSTEM('NDR_DSBACKUP',
79         source='../../librpc/gen_ndr/ndr_dsbackup.c',
80         public_deps='LIBNDR'
81         )
82
83
84 bld.SAMBA_SUBSYSTEM('NDR_EFS',
85         source='../../librpc/gen_ndr/ndr_efs.c',
86         public_deps='LIBNDR NDR_SECURITY'
87         )
88
89
90 bld.SAMBA_SUBSYSTEM('NDR_ROT',
91         source='../../librpc/gen_ndr/ndr_rot.c',
92         public_deps='LIBNDR NDR_ORPC'
93         )
94
95
96 bld.SAMBA_SUBSYSTEM('NDR_FRSRPC',
97         source='../../librpc/ndr/ndr_frsrpc.c ../../librpc/gen_ndr/ndr_frsrpc.c',
98         public_deps='LIBNDR'
99         )
100
101
102 bld.SAMBA_SUBSYSTEM('NDR_FRSAPI',
103         source='../../librpc/gen_ndr/ndr_frsapi.c',
104         public_deps='LIBNDR'
105         )
106
107
108 bld.SAMBA_SUBSYSTEM('NDR_FRSTRANS',
109         source='../../librpc/gen_ndr/ndr_frstrans.c',
110         public_deps='LIBNDR'
111         )
112
113
114 bld.SAMBA_SUBSYSTEM('NDR_DRSUAPI',
115         source='../../librpc/ndr/ndr_drsuapi.c ../../librpc/gen_ndr/ndr_drsuapi.c',
116         public_deps='LIBNDR NDR_COMPRESSION NDR_SECURITY NDR_STANDARD ASN1_UTIL'
117         )
118
119
120 bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
121         source='../../librpc/ndr/ndr_drsblobs.c ../../librpc/gen_ndr/ndr_drsblobs.c',
122         public_deps='LIBNDR NDR_DRSUAPI'
123         )
124
125
126 bld.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
127         source='../../librpc/gen_ndr/ndr_dfsblobs.c',
128         public_deps='LIBNDR'
129         )
130
131
132 bld.SAMBA_SUBSYSTEM('NDR_SASL_HELPERS',
133         source='gen_ndr/ndr_sasl_helpers.c',
134         public_deps='LIBNDR'
135         )
136
137
138 bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
139         source='../../librpc/gen_ndr/ndr_policyagent.c',
140         public_deps='LIBNDR'
141         )
142
143
144 bld.SAMBA_SUBSYSTEM('NDR_UNIXINFO',
145         source='../../librpc/gen_ndr/ndr_unixinfo.c',
146         public_deps='LIBNDR NDR_SECURITY'
147         )
148
149
150 bld.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
151         source='gen_ndr/ndr_nfs4acl.c',
152         public_deps='LIBNDR NDR_SECURITY'
153         )
154
155
156 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS',
157         source='../../librpc/gen_ndr/ndr_spoolss.c',
158         public_deps='LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY'
159         )
160
161
162 bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
163         source='../../librpc/ndr/ndr_spoolss_buf.c'
164         )
165
166
167 bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
168         source='../../librpc/gen_ndr/ndr_epmapper.c',
169         public_deps='LIBNDR'
170         )
171
172
173 bld.SAMBA_SUBSYSTEM('NDR_DBGIDL',
174         source='../../librpc/gen_ndr/ndr_dbgidl.c',
175         public_deps='LIBNDR'
176         )
177
178
179 bld.SAMBA_SUBSYSTEM('NDR_DSSETUP',
180         source='../../librpc/gen_ndr/ndr_dssetup.c',
181         public_deps='LIBNDR'
182         )
183
184
185 bld.SAMBA_SUBSYSTEM('NDR_MSGSVC',
186         source='../../librpc/gen_ndr/ndr_msgsvc.c',
187         public_deps='LIBNDR'
188         )
189
190
191 bld.SAMBA_SUBSYSTEM('NDR_WINSIF',
192         source='gen_ndr/ndr_winsif.c',
193         public_deps='LIBNDR'
194         )
195
196
197 bld.SAMBA_SUBSYSTEM('NDR_MGMT',
198         source='../../librpc/gen_ndr/ndr_mgmt.c',
199         public_deps='LIBNDR'
200         )
201
202
203 bld.SAMBA_SUBSYSTEM('NDR_PROTECTED_STORAGE',
204         source='../../librpc/gen_ndr/ndr_protected_storage.c',
205         public_deps='LIBNDR'
206         )
207
208
209 bld.SAMBA_SUBSYSTEM('NDR_ORPC',
210         source='../../librpc/ndr/ndr_orpc.c ../../librpc/gen_ndr/ndr_orpc.c',
211         public_deps='LIBNDR'
212         )
213
214
215 bld.SAMBA_SUBSYSTEM('NDR_OXIDRESOLVER',
216         source='../../librpc/gen_ndr/ndr_oxidresolver.c',
217         public_deps='LIBNDR NDR_ORPC'
218         )
219
220
221 bld.SAMBA_SUBSYSTEM('NDR_REMACT',
222         source='../../librpc/gen_ndr/ndr_remact.c',
223         public_deps='LIBNDR NDR_ORPC'
224         )
225
226
227 bld.SAMBA_SUBSYSTEM('NDR_WZCSVC',
228         source='../../librpc/gen_ndr/ndr_wzcsvc.c',
229         public_deps='LIBNDR'
230         )
231
232
233 bld.SAMBA_SUBSYSTEM('NDR_BROWSER',
234         source='../../librpc/gen_ndr/ndr_browser.c',
235         public_deps='LIBNDR'
236         )
237
238
239 bld.SAMBA_SUBSYSTEM('NDR_W32TIME',
240         source='../../librpc/gen_ndr/ndr_w32time.c',
241         public_deps='LIBNDR'
242         )
243
244
245 bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
246         source='../../librpc/gen_ndr/ndr_scerpc.c',
247         public_deps='LIBNDR'
248         )
249
250
251 bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
252         source='../../librpc/gen_ndr/ndr_trkwks.c',
253         public_deps='LIBNDR'
254         )
255
256
257 bld.SAMBA_SUBSYSTEM('NDR_KEYSVC',
258         source='../../librpc/gen_ndr/ndr_keysvc.c',
259         public_deps='LIBNDR'
260         )
261
262
263 bld.SAMBA_SUBSYSTEM('NDR_KRB5PAC',
264         source='../../librpc/ndr/ndr_krb5pac.c ../../librpc/gen_ndr/ndr_krb5pac.c',
265         public_deps='LIBNDR NDR_STANDARD NDR_SECURITY'
266         )
267
268
269 bld.SAMBA_SUBSYSTEM('NDR_XATTR',
270         source='../../librpc/ndr/ndr_xattr.c ../../librpc/gen_ndr/ndr_xattr.c',
271         public_deps='LIBNDR NDR_SECURITY'
272         )
273
274
275 bld.SAMBA_SUBSYSTEM('NDR_OPENDB',
276         source='gen_ndr/ndr_opendb.c',
277         public_deps='LIBNDR'
278         )
279
280
281 bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
282         source='gen_ndr/ndr_notify.c',
283         public_deps='LIBNDR'
284         )
285
286
287 bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
288         source='../../librpc/ndr/ndr_schannel.c ../../librpc/gen_ndr/ndr_schannel.c',
289         public_deps='LIBNDR NDR_NBT'
290         )
291
292
293 bld.SAMBA_SUBSYSTEM('NDR_NBT',
294         source='../../librpc/gen_ndr/ndr_nbt.c',
295         public_deps='LIBNDR NDR_NBT_BUF NDR_SECURITY NDR_STANDARD LIBCLI_NDR_NETLOGON',
296         public_headers='../../librpc/gen_ndr/nbt.h'
297         )
298
299
300 bld.SAMBA_SUBSYSTEM('NDR_NTP_SIGND',
301         source='gen_ndr/ndr_ntp_signd.c',
302         public_deps='LIBNDR'
303         )
304
305
306 bld.SAMBA_SUBSYSTEM('NDR_WINSREPL',
307         source='gen_ndr/ndr_winsrepl.c',
308         public_deps='LIBNDR NDR_NBT'
309         )
310
311
312 bld.SAMBA_SUBSYSTEM('NDR_WINBIND',
313         source='gen_ndr/ndr_winbind.c',
314         public_deps='LIBNDR NDR_STANDARD'
315         )
316
317
318 bld.SAMBA_SUBSYSTEM('NDR_NTLMSSP',
319         source='../../librpc/ndr/ndr_ntlmssp.c ../../librpc/gen_ndr/ndr_ntlmssp.c',
320         public_deps='LIBNDR NDR_STANDARD'
321         )
322
323
324 bld.SAMBA_LIBRARY('NDR_STANDARD',
325         source='../../librpc/gen_ndr/ndr_echo.c ../../librpc/gen_ndr/ndr_lsa.c ../../librpc/gen_ndr/ndr_samr.c ../../librpc/ndr/ndr_netlogon.c ../../librpc/gen_ndr/ndr_netlogon.c ../../libcli/ndr_netlogon.c ../../librpc/gen_ndr/ndr_dfs.c ../../librpc/gen_ndr/ndr_atsvc.c ../../librpc/gen_ndr/ndr_wkssvc.c ../../librpc/gen_ndr/ndr_srvsvc.c ../../librpc/ndr/ndr_svcctl.c ../../librpc/gen_ndr/ndr_svcctl.c ../../librpc/gen_ndr/ndr_winreg.c ../../librpc/gen_ndr/ndr_initshutdown.c ../../librpc/gen_ndr/ndr_eventlog.c ../../librpc/gen_ndr/ndr_ntsvcs.c',
326         vnum='0.0.1',
327         # PC_FILES='../librpc/ndr_standard.pc',
328         deps='NDR_SECURITY',
329         public_deps='LIBNDR',
330         public_headers='../../librpc/gen_ndr/samr.h ../../librpc/gen_ndr/ndr_samr.h ../rpc_server/lsa/lsa.h ../torture/rpc/netlogon.h ../../librpc/gen_ndr/atsvc.h ../../librpc/gen_ndr/ndr_atsvc.h ../../librpc/ndr/ndr_svcctl.h ../../librpc/gen_ndr/ndr_svcctl.h ../../librpc/gen_ndr/svcctl.h'
331         )
332
333
334 bld.SAMBA_PIDL_TABLES('GEN_NDR_TABLES', 'gen_ndr/tables.c')
335
336 bld.SAMBA_SUBSYSTEM('NDR_TABLE',
337         source='../../librpc/ndr/ndr_table.c gen_ndr/tables.c',
338         public_deps='NDR_STANDARD NDR_AUDIOSRV NDR_DSBACKUP NDR_EFS NDR_DRSUAPI NDR_POLICYAGENT NDR_UNIXINFO NDR_SPOOLSS NDR_EPMAPPER NDR_DBGIDL NDR_DSSETUP NDR_MSGSVC NDR_WINSIF NDR_MGMT NDR_PROTECTED_STORAGE NDR_OXIDRESOLVER NDR_REMACT NDR_WZCSVC NDR_BROWSER NDR_W32TIME NDR_SCERPC NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL NDR_ROT NDR_DRSBLOBS NDR_NBT NDR_WINSREPL NDR_SECURITY NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI NDR_FRSTRANS NDR_NFS4ACL NDR_NTP_SIGND NDR_DCOM NDR_WMI NDR_NAMED_PIPE_AUTH NDR_NTLMSSP NDR_DFSBLOBS',
339         depends_on='GEN_NDR_TABLES'
340         )
341
342
343 bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
344         source='../../librpc/gen_ndr/ndr_xattr_c.c',
345         public_deps='NDR_XATTR dcerpc'
346         )
347
348
349 bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
350         source='../../librpc/gen_ndr/ndr_rot_c.c',
351         public_deps='NDR_ROT dcerpc'
352         )
353
354
355 bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
356         source='../../librpc/gen_ndr/ndr_audiosrv_c.c',
357         public_deps='NDR_AUDIOSRV dcerpc'
358         )
359
360
361 bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
362         source='../../librpc/gen_ndr/ndr_echo_c.c',
363         public_deps='dcerpc NDR_STANDARD'
364         )
365
366
367 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
368         source='../../librpc/gen_ndr/ndr_dsbackup_c.c',
369         public_deps='dcerpc NDR_DSBACKUP'
370         )
371
372
373 bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
374         source='../../librpc/gen_ndr/ndr_efs_c.c',
375         public_deps='dcerpc NDR_EFS'
376         )
377
378
379 bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
380         source='../../librpc/gen_ndr/ndr_lsa_c.c',
381         public_deps='dcerpc NDR_STANDARD'
382         )
383
384
385 bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
386         source='../../librpc/gen_ndr/ndr_dfs_c.c',
387         public_deps='dcerpc NDR_STANDARD'
388         )
389
390
391 bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
392         source='../../librpc/gen_ndr/ndr_frsapi_c.c',
393         public_deps='dcerpc NDR_FRSAPI'
394         )
395
396
397 bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
398         source='../../librpc/gen_ndr/ndr_drsuapi_c.c',
399         public_deps='dcerpc NDR_DRSUAPI'
400         )
401
402
403 bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
404         source='../../librpc/gen_ndr/ndr_policyagent_c.c',
405         public_deps='dcerpc NDR_POLICYAGENT'
406         )
407
408
409 bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
410         source='../../librpc/gen_ndr/ndr_unixinfo_c.c',
411         public_deps='dcerpc NDR_UNIXINFO'
412         )
413
414
415 bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
416         source='../../librpc/gen_ndr/ndr_browser_c.c',
417         public_deps='dcerpc NDR_BROWSER'
418         )
419
420
421 bld.SAMBA_SUBSYSTEM('RPC_NDR_IRPC',
422         source='gen_ndr/ndr_irpc_c.c',
423         public_deps='dcerpc NDR_IRPC'
424         )
425
426
427 bld.SAMBA_LIBRARY('dcerpc_samr',
428         source='../../librpc/gen_ndr/ndr_samr_c.c',
429         # PC_FILES='dcerpc_samr.pc',
430         vnum='0.0.1',
431         public_deps='dcerpc NDR_STANDARD',
432         public_headers='../../librpc/gen_ndr/ndr_samr_c.h'
433         )
434
435
436 bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
437         source='../../librpc/gen_ndr/ndr_spoolss_c.c',
438         public_deps='dcerpc NDR_SPOOLSS'
439         )
440
441
442 bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
443         source='../../librpc/gen_ndr/ndr_wkssvc_c.c',
444         public_deps='dcerpc NDR_STANDARD'
445         )
446
447
448 bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
449         source='../../librpc/gen_ndr/ndr_srvsvc_c.c',
450         public_deps='dcerpc NDR_SRVSVC'
451         )
452
453
454 bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
455         source='../../librpc/gen_ndr/ndr_svcctl_c.c',
456         public_deps='dcerpc NDR_STANDARD',
457         public_headers='../../librpc/gen_ndr/ndr_svcctl_c.h'
458         )
459
460
461 bld.SAMBA_LIBRARY('dcerpc_atsvc',
462         source='../../librpc/gen_ndr/ndr_atsvc_c.c',
463         # PC_FILES='dcerpc_atsvc.pc',
464         vnum='0.0.1',
465         public_deps='dcerpc NDR_STANDARD',
466         public_headers='../../librpc/gen_ndr/ndr_atsvc_c.h'
467         )
468
469
470 bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
471         source='../../librpc/gen_ndr/ndr_eventlog_c.c',
472         public_deps='dcerpc NDR_STANDARD'
473         )
474
475
476 bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
477         source='../../librpc/gen_ndr/ndr_epmapper_c.c',
478         public_deps='tevent NDR_EPMAPPER'
479         )
480
481
482 bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
483         source='../../librpc/gen_ndr/ndr_dbgidl_c.c',
484         public_deps='dcerpc NDR_DBGIDL'
485         )
486
487
488 bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
489         source='../../librpc/gen_ndr/ndr_dssetup_c.c',
490         public_deps='dcerpc NDR_DSSETUP'
491         )
492
493
494 bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
495         source='../../librpc/gen_ndr/ndr_msgsvc_c.c',
496         public_deps='dcerpc NDR_MSGSVC'
497         )
498
499
500 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINSIF',
501         source='gen_ndr/ndr_winsif_c.c',
502         public_deps='dcerpc NDR_WINSIF'
503         )
504
505
506 bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
507         source='../../librpc/gen_ndr/ndr_winreg_c.c',
508         public_deps='dcerpc NDR_STANDARD'
509         )
510
511
512 bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
513         source='../../librpc/gen_ndr/ndr_initshutdown_c.c',
514         public_deps='dcerpc NDR_STANDARD'
515         )
516
517
518 bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
519         source='../../librpc/gen_ndr/ndr_mgmt_c.c',
520         deps='tevent NDR_MGMT'
521         )
522
523
524 bld.SAMBA_SUBSYSTEM('RPC_NDR_PROTECTED_STORAGE',
525         source='../../librpc/gen_ndr/ndr_protected_storage_c.c',
526         public_deps='dcerpc NDR_PROTECTED_STORAGE'
527         )
528
529
530 bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
531         source='../../librpc/gen_ndr/ndr_oxidresolver_c.c',
532         public_deps='dcerpc NDR_OXIDRESOLVER'
533         )
534
535
536 bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
537         source='../../librpc/gen_ndr/ndr_remact_c.c',
538         public_deps='dcerpc NDR_REMACT'
539         )
540
541
542 bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
543         source='../../librpc/gen_ndr/ndr_wzcsvc_c.c',
544         public_deps='dcerpc NDR_WZCSVC'
545         )
546
547
548 bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
549         source='../../librpc/gen_ndr/ndr_w32time_c.c',
550         public_deps='dcerpc NDR_W32TIME'
551         )
552
553
554 bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
555         source='../../librpc/gen_ndr/ndr_scerpc_c.c',
556         public_deps='dcerpc NDR_SCERPC'
557         )
558
559
560 bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
561         source='../../librpc/gen_ndr/ndr_ntsvcs_c.c',
562         public_deps='dcerpc NDR_STANDARD'
563         )
564
565
566 bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
567         source='../../librpc/gen_ndr/ndr_netlogon_c.c',
568         public_deps='NDR_STANDARD'
569         )
570
571
572 bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
573         source='../../librpc/gen_ndr/ndr_trkwks_c.c',
574         public_deps='dcerpc NDR_TRKWKS'
575         )
576
577
578 bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
579         source='../../librpc/gen_ndr/ndr_keysvc_c.c',
580         public_deps='dcerpc NDR_KEYSVC'
581         )
582
583
584 bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
585         source='../../librpc/gen_ndr/ndr_dcerpc.c',
586         public_deps='LIBNDR',
587         public_headers='rpc/dcerpc.h ../../librpc/gen_ndr/ndr_dcerpc.h'
588         )
589
590
591 bld.SAMBA_LIBRARY('dcerpc',
592         source='rpc/dcerpc.c rpc/dcerpc_auth.c rpc/dcerpc_schannel.c rpc/dcerpc_util.c rpc/dcerpc_smb.c rpc/dcerpc_smb2.c rpc/dcerpc_sock.c rpc/dcerpc_connect.c rpc/dcerpc_secondary.c ../../librpc/rpc/binding.c ../../librpc/rpc/dcerpc_error.c',
593         # PC_FILES='dcerpc.pc',
594         deps='samba_socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER NDR_SCHANNEL RPC_NDR_NETLOGON RPC_NDR_MGMT gensec LIBCLI_AUTH LIBCLI_RAW LP_RESOLVE UTIL_TEVENT',
595         autoproto='rpc/dcerpc_proto.h',
596         public_deps='CREDENTIALS tevent talloc',
597         public_headers='../../librpc/gen_ndr/mgmt.h ../../librpc/gen_ndr/ndr_mgmt.h ../../librpc/gen_ndr/ndr_mgmt_c.h ../../librpc/gen_ndr/epmapper.h ../../librpc/gen_ndr/ndr_epmapper.h ../../librpc/gen_ndr/ndr_epmapper_c.h',
598         vnum='0.0.1'
599         )
600
601
602 bld.SAMBA_PYTHON('python_dcerpc',
603         source='rpc/pyrpc.c',
604         public_deps='LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pycredentials pyparam_util',
605         realname='samba/dcerpc/base.so'
606         )
607
608
609 bld.SAMBA_PYTHON('python_echo',
610         source='../../librpc/gen_ndr/py_echo.c',
611         deps='RPC_NDR_ECHO PYTALLOC pyparam_util pycredentials python_dcerpc',
612         realname='samba/dcerpc/echo.so'
613         )
614
615
616 bld.SAMBA_PYTHON('python_winreg',
617         source='../../librpc/gen_ndr/py_winreg.c',
618         deps='RPC_NDR_WINREG PYTALLOC pyparam_util pycredentials python_dcerpc',
619         realname='samba/dcerpc/winreg.so'
620         )
621
622
623 bld.SAMBA_PYTHON('python_dcerpc_misc',
624         source='../../librpc/gen_ndr/py_misc.c',
625         deps='PYTALLOC python_dcerpc NDR_MISC NDR_KRB5PAC',
626         realname='samba/dcerpc/misc.so'
627         )
628
629
630 bld.SAMBA_PYTHON('python_initshutdown',
631         source='../../librpc/gen_ndr/py_initshutdown.c',
632         deps='RPC_NDR_INITSHUTDOWN PYTALLOC pyparam_util pycredentials python_dcerpc',
633         realname='samba/dcerpc/initshutdown.so'
634         )
635
636
637 bld.SAMBA_PYTHON('python_epmapper',
638         source='../../librpc/gen_ndr/py_epmapper.c',
639         deps='dcerpc PYTALLOC pyparam_util pycredentials python_dcerpc',
640         realname='samba/dcerpc/epmapper.so'
641         )
642
643
644 bld.SAMBA_PYTHON('python_mgmt',
645         source='../../librpc/gen_ndr/py_mgmt.c',
646         deps='PYTALLOC param pycredentials dcerpc python_dcerpc',
647         realname='samba/dcerpc/mgmt.so'
648         )
649
650
651 bld.SAMBA_PYTHON('python_atsvc',
652         source='../../librpc/gen_ndr/py_atsvc.c',
653         deps='dcerpc_atsvc PYTALLOC pyparam_util pycredentials python_dcerpc',
654         realname='samba/dcerpc/atsvc.so'
655         )
656
657
658 bld.SAMBA_PYTHON('python_dcerpc_nbt',
659         source='../../librpc/gen_ndr/py_nbt.c',
660         deps='NDR_NBT PYTALLOC pyparam_util pycredentials python_dcerpc',
661         realname='samba/dcerpc/nbt.so'
662         )
663
664
665 bld.SAMBA_PYTHON('python_samr',
666         source='../../librpc/gen_ndr/py_samr.c',
667         deps='dcerpc_samr PYTALLOC pycredentials pyparam_util python_dcerpc',
668         realname='samba/dcerpc/samr.so'
669         )
670
671
672 bld.SAMBA_PYTHON('python_svcctl',
673         source='../../librpc/gen_ndr/py_svcctl.c',
674         deps='RPC_NDR_SVCCTL PYTALLOC pyparam_util pycredentials python_dcerpc',
675         realname='samba/dcerpc/svcctl.so'
676         )
677
678
679 bld.SAMBA_PYTHON('python_lsa',
680         source='../../librpc/gen_ndr/py_lsa.c',
681         deps='RPC_NDR_LSA PYTALLOC pyparam_util pycredentials python_dcerpc',
682         realname='samba/dcerpc/lsa.so'
683         )
684
685
686 bld.SAMBA_PYTHON('python_wkssvc',
687         source='../../librpc/gen_ndr/py_wkssvc.c',
688         deps='RPC_NDR_WKSSVC PYTALLOC pyparam_util pycredentials python_dcerpc',
689         realname='samba/dcerpc/wkssvc.so'
690         )
691
692
693 bld.SAMBA_PYTHON('python_dfs',
694         source='../../librpc/gen_ndr/py_dfs.c',
695         deps='RPC_NDR_DFS PYTALLOC pyparam_util pycredentials python_dcerpc',
696         realname='samba/dcerpc/dfs.so'
697         )
698
699
700 bld.SAMBA_PYTHON('python_unixinfo',
701         source='../../librpc/gen_ndr/py_unixinfo.c',
702         deps='RPC_NDR_UNIXINFO PYTALLOC pyparam_util pycredentials python_dcerpc',
703         realname='samba/dcerpc/unixinfo.so'
704         )
705
706
707 bld.SAMBA_PYTHON('python_irpc',
708         source='gen_ndr/py_irpc.c',
709         deps='RPC_NDR_IRPC PYTALLOC pyparam_util pycredentials python_dcerpc',
710         realname='samba/dcerpc/irpc.so'
711         )
712
713
714 bld.SAMBA_PYTHON('python_drsuapi',
715         source='../../librpc/gen_ndr/py_drsuapi.c',
716         deps='RPC_NDR_DRSUAPI PYTALLOC pyparam_util pycredentials python_dcerpc',
717         realname='samba/dcerpc/drsuapi.so'
718         )
719
720
721 bld.SAMBA_PYTHON('python_dcerpc_security',
722         source='../../librpc/gen_ndr/py_security.c',
723         deps='PYTALLOC python_dcerpc_misc python_dcerpc NDR_SECURITY',
724         realname='samba/dcerpc/security.so'
725         )
726
727
728 bld.SAMBA_PYTHON('python_dcerpc_xattr',
729         source='../../librpc/gen_ndr/py_xattr.c',
730         deps='PYTALLOC python_dcerpc_misc python_dcerpc python_dcerpc_security NDR_XATTR RPC_NDR_XATTR',
731         realname='samba/dcerpc/xattr.so'
732         )
733
734 bld.SAMBA_SCRIPT('python_dcerpc_init',
735                  pattern='rpc/dcerpc.py',
736                  installdir='python/samba/dcerpc',
737                  installname='__init__.py')