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