1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
|
#!/usr/bin/env python
bld.RECURSE('../../librpc/idl')
bld.RECURSE('idl')
bld.SAMBA_LIBRARY('LIBNDR',
source='../../librpc/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',
pc_files='../../librpc/ndr.pc',
public_deps='LIBSAMBA-ERRORS talloc LIBSAMBA-UTIL CHARSET LIBSAMBA-HOSTCONFIG',
public_headers='../../librpc/gen_ndr/misc.h ../../librpc/gen_ndr/ndr_misc.h ../../librpc/ndr/libndr.h:ndr.h',
header_path= [ ( '*gen_ndr*', 'gen_ndr' ) ],
depends_on='PIDL_MISC',
vnum='0.0.1'
)
bld.SAMBA_BINARY('ndrdump',
source='../../librpc/tools/ndrdump.c',
manpages='../../librpc/tools/ndrdump.1',
deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL popt POPT_SAMBA NDR_TABLE LIBSAMBA-ERRORS'
)
bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
source='../../librpc/gen_ndr/ndr_security.c ../../librpc/ndr/ndr_sec_helper.c gen_ndr/ndr_server_id.c',
public_deps='LIBNDR LIBSECURITY',
public_headers='../../librpc/gen_ndr/security.h gen_ndr/server_id.h',
header_path='gen_ndr'
)
bld.SAMBA_SUBSYSTEM('NDR_WINSTATION',
source='gen_ndr/ndr_winstation.c',
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_IRPC',
source='gen_ndr/ndr_irpc.c',
public_deps='LIBNDR NDR_SECURITY NDR_NBT'
)
bld.SAMBA_SUBSYSTEM('NDR_DCOM',
source='../../librpc/gen_ndr/ndr_dcom.c',
public_deps='LIBNDR NDR_SECURITY NDR_ORPC'
)
bld.SAMBA_SUBSYSTEM('NDR_WMI',
source='../../librpc/ndr/ndr_wmi.c ../../librpc/gen_ndr/ndr_wmi.c',
public_deps='LIBNDR NDR_SECURITY NDR_DCOM'
)
bld.SAMBA_SUBSYSTEM('NDR_SASL_HELPERS',
source='gen_ndr/ndr_sasl_helpers.c',
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_NFS4ACL',
source='gen_ndr/ndr_nfs4acl.c',
public_deps='LIBNDR NDR_SECURITY'
)
bld.SAMBA_SUBSYSTEM('NDR_WINSIF',
source='gen_ndr/ndr_winsif.c',
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_OPENDB',
source='gen_ndr/ndr_opendb.c',
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
source='gen_ndr/ndr_s4_notify.c',
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_NTP_SIGND',
source='gen_ndr/ndr_ntp_signd.c',
public_deps='LIBNDR'
)
bld.SAMBA_SUBSYSTEM('NDR_WINSREPL',
source='gen_ndr/ndr_winsrepl.c',
public_deps='LIBNDR NDR_NBT'
)
bld.SAMBA_SUBSYSTEM('NDR_WINBIND',
source='gen_ndr/ndr_winbind.c',
public_deps='NDR_IDMAP LIBNDR NDR_STANDARD'
)
bld.SAMBA_LIBRARY('NDR_STANDARD',
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',
vnum='0.0.1',
pc_files='../../librpc/ndr_standard.pc',
deps='NDR_SECURITY',
public_deps='LIBNDR',
public_headers='../../librpc/gen_ndr/samr.h ../../librpc/gen_ndr/ndr_samr.h ../../librpc/gen_ndr/lsa.h ../../librpc/gen_ndr/netlogon.h ../../librpc/gen_ndr/atsvc.h ../../librpc/gen_ndr/ndr_atsvc.h ../../librpc/gen_ndr/ndr_svcctl.h ../../librpc/gen_ndr/svcctl.h',
header_path='gen_ndr'
)
bld.SAMBA_PIDL_TABLES('GEN_NDR_TABLES', 'gen_ndr/tables.c')
bld.SAMBA_SUBSYSTEM('NDR_TABLE',
source='../../librpc/ndr/ndr_table.c gen_ndr/tables.c',
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 NDR_DNSP NDR_NTPRINTING',
depends_on='GEN_NDR_TABLES'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_XATTR',
source='../../librpc/gen_ndr/ndr_xattr_c.c',
public_deps='NDR_XATTR dcerpc'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_ROT',
source='../../librpc/gen_ndr/ndr_rot_c.c',
public_deps='NDR_ROT dcerpc'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
source='../../librpc/gen_ndr/ndr_audiosrv_c.c',
public_deps='NDR_AUDIOSRV dcerpc'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
source='../../librpc/gen_ndr/ndr_echo_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DSBACKUP',
source='../../librpc/gen_ndr/ndr_dsbackup_c.c',
public_deps='dcerpc NDR_DSBACKUP'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_EFS',
source='../../librpc/gen_ndr/ndr_efs_c.c',
public_deps='dcerpc NDR_EFS'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_LSA',
source='../../librpc/gen_ndr/ndr_lsa_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DFS',
source='../../librpc/gen_ndr/ndr_dfs_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSAPI',
source='../../librpc/gen_ndr/ndr_frsapi_c.c',
public_deps='dcerpc NDR_FRSAPI'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSUAPI',
source='../../librpc/gen_ndr/ndr_drsuapi_c.c',
public_deps='dcerpc NDR_DRSUAPI'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DRSBLOBS',
source='../../librpc/gen_ndr/ndr_drsblobs_c.c',
public_deps='dcerpc NDR_DRSBLOBS'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_POLICYAGENT',
source='../../librpc/gen_ndr/ndr_policyagent_c.c',
public_deps='dcerpc NDR_POLICYAGENT'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_UNIXINFO',
source='../../librpc/gen_ndr/ndr_unixinfo_c.c',
public_deps='dcerpc NDR_UNIXINFO'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_BROWSER',
source='../../librpc/gen_ndr/ndr_browser_c.c',
public_deps='dcerpc NDR_BROWSER'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_IRPC',
source='gen_ndr/ndr_irpc_c.c',
public_deps='dcerpc NDR_IRPC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINBIND',
source='gen_ndr/ndr_winbind_c.c',
public_deps='dcerpc NDR_WINBIND'
)
bld.SAMBA_LIBRARY('dcerpc_samr',
source='../../librpc/gen_ndr/ndr_samr_c.c',
pc_files='dcerpc_samr.pc',
vnum='0.0.1',
public_deps='dcerpc NDR_STANDARD',
public_headers='../../librpc/gen_ndr/ndr_samr_c.h',
header_path='gen_ndr'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SPOOLSS',
source='../../librpc/gen_ndr/ndr_spoolss_c.c',
public_deps='dcerpc NDR_SPOOLSS'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_NBT',
source='../../librpc/gen_ndr/ndr_nbt_c.c',
public_deps='dcerpc NDR_NBT'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WKSSVC',
source='../../librpc/gen_ndr/ndr_wkssvc_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
source='../../librpc/gen_ndr/ndr_srvsvc_c.c',
public_deps='dcerpc NDR_SRVSVC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
source='../../librpc/gen_ndr/ndr_svcctl_c.c',
public_deps='dcerpc NDR_STANDARD',
public_headers='../../librpc/gen_ndr/ndr_svcctl_c.h',
header_path='gen_ndr'
)
bld.SAMBA_LIBRARY('dcerpc_atsvc',
source='../../librpc/gen_ndr/ndr_atsvc_c.c',
pc_files='dcerpc_atsvc.pc',
vnum='0.0.1',
public_deps='dcerpc NDR_STANDARD',
public_headers='../../librpc/gen_ndr/ndr_atsvc_c.h',
header_path='gen_ndr'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_EVENTLOG',
source='../../librpc/gen_ndr/ndr_eventlog_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_EPMAPPER',
source='../../librpc/gen_ndr/ndr_epmapper_c.c',
public_deps='tevent NDR_EPMAPPER'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DBGIDL',
source='../../librpc/gen_ndr/ndr_dbgidl_c.c',
public_deps='dcerpc NDR_DBGIDL'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_DSSETUP',
source='../../librpc/gen_ndr/ndr_dssetup_c.c',
public_deps='dcerpc NDR_DSSETUP'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_MSGSVC',
source='../../librpc/gen_ndr/ndr_msgsvc_c.c',
public_deps='dcerpc NDR_MSGSVC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINSIF',
source='gen_ndr/ndr_winsif_c.c',
public_deps='dcerpc NDR_WINSIF'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WINREG',
source='../../librpc/gen_ndr/ndr_winreg_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_INITSHUTDOWN',
source='../../librpc/gen_ndr/ndr_initshutdown_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_MGMT',
source='../../librpc/gen_ndr/ndr_mgmt_c.c',
deps='tevent NDR_MGMT'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_PROTECTED_STORAGE',
source='../../librpc/gen_ndr/ndr_protected_storage_c.c',
public_deps='dcerpc NDR_PROTECTED_STORAGE'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_OXIDRESOLVER',
source='../../librpc/gen_ndr/ndr_oxidresolver_c.c',
public_deps='dcerpc NDR_OXIDRESOLVER'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_REMACT',
source='../../librpc/gen_ndr/ndr_remact_c.c',
public_deps='dcerpc NDR_REMACT'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_WZCSVC',
source='../../librpc/gen_ndr/ndr_wzcsvc_c.c',
public_deps='dcerpc NDR_WZCSVC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_W32TIME',
source='../../librpc/gen_ndr/ndr_w32time_c.c',
public_deps='dcerpc NDR_W32TIME'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_SCERPC',
source='../../librpc/gen_ndr/ndr_scerpc_c.c',
public_deps='dcerpc NDR_SCERPC'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_NTSVCS',
source='../../librpc/gen_ndr/ndr_ntsvcs_c.c',
public_deps='dcerpc NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_NETLOGON',
source='../../librpc/gen_ndr/ndr_netlogon_c.c',
public_deps='NDR_STANDARD'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_TRKWKS',
source='../../librpc/gen_ndr/ndr_trkwks_c.c',
public_deps='dcerpc NDR_TRKWKS'
)
bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
source='../../librpc/gen_ndr/ndr_keysvc_c.c',
public_deps='dcerpc NDR_KEYSVC'
)
bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
source='../../librpc/gen_ndr/ndr_dcerpc.c',
public_deps='LIBNDR',
public_headers='rpc/dcerpc.h ../../librpc/gen_ndr/ndr_dcerpc.h ../../librpc/gen_ndr/dcerpc.h',
header_path= [ ('*gen_ndr*', 'gen_ndr') ],
)
bld.SAMBA_LIBRARY('dcerpc',
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 ../../librpc/rpc/dcerpc_util.c
../../librpc/rpc/binding_handle.c''',
pc_files='dcerpc.pc',
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',
autoproto='rpc/dcerpc_proto.h',
public_deps='CREDENTIALS tevent talloc',
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',
header_path='gen_ndr',
vnum='0.0.1'
)
bld.SAMBA_SUBSYSTEM('pyrpc_util',
source='rpc/pyrpc_util.c',
public_deps='PYTALLOC pyparam_util pycredentials dcerpc',
needs_python=True,
)
bld.SAMBA_PYTHON('python_dcerpc',
source='rpc/pyrpc.c',
public_deps='LIBCLI_SMB LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG pyrpc_util',
realname='samba/dcerpc/base.so'
)
bld.SAMBA_PYTHON('python_echo',
source='../../librpc/gen_ndr/py_echo.c',
deps='RPC_NDR_ECHO PYTALLOC pyrpc_util',
realname='samba/dcerpc/echo.so'
)
bld.SAMBA_PYTHON('python_winreg',
source='../../librpc/gen_ndr/py_winreg.c',
deps='RPC_NDR_WINREG PYTALLOC pyrpc_util',
realname='samba/dcerpc/winreg.so'
)
bld.SAMBA_PYTHON('python_dcerpc_misc',
source='../../librpc/gen_ndr/py_misc.c',
deps='PYTALLOC pyrpc_util NDR_MISC NDR_KRB5PAC',
realname='samba/dcerpc/misc.so'
)
bld.SAMBA_PYTHON('python_initshutdown',
source='../../librpc/gen_ndr/py_initshutdown.c',
deps='RPC_NDR_INITSHUTDOWN PYTALLOC pyrpc_util',
realname='samba/dcerpc/initshutdown.so'
)
bld.SAMBA_PYTHON('python_epmapper',
source='../../librpc/gen_ndr/py_epmapper.c',
deps='dcerpc PYTALLOC pyrpc_util',
realname='samba/dcerpc/epmapper.so'
)
bld.SAMBA_PYTHON('python_mgmt',
source='../../librpc/gen_ndr/py_mgmt.c',
deps='PYTALLOC dcerpc pyrpc_util',
realname='samba/dcerpc/mgmt.so'
)
bld.SAMBA_PYTHON('python_atsvc',
source='../../librpc/gen_ndr/py_atsvc.c',
deps='dcerpc_atsvc PYTALLOC pyrpc_util',
realname='samba/dcerpc/atsvc.so'
)
bld.SAMBA_PYTHON('python_dcerpc_nbt',
source='../../librpc/gen_ndr/py_nbt.c',
deps='NDR_NBT RPC_NDR_NBT PYTALLOC pyrpc_util',
realname='samba/dcerpc/nbt.so'
)
bld.SAMBA_PYTHON('python_samr',
source='../../librpc/gen_ndr/py_samr.c',
deps='dcerpc_samr PYTALLOC pyrpc_util',
realname='samba/dcerpc/samr.so'
)
bld.SAMBA_PYTHON('python_svcctl',
source='../../librpc/gen_ndr/py_svcctl.c',
deps='RPC_NDR_SVCCTL PYTALLOC pyrpc_util',
realname='samba/dcerpc/svcctl.so'
)
bld.SAMBA_PYTHON('python_lsa',
source='../../librpc/gen_ndr/py_lsa.c',
deps='RPC_NDR_LSA PYTALLOC pyrpc_util',
realname='samba/dcerpc/lsa.so'
)
bld.SAMBA_PYTHON('python_wkssvc',
source='../../librpc/gen_ndr/py_wkssvc.c',
deps='RPC_NDR_WKSSVC PYTALLOC pyrpc_util',
realname='samba/dcerpc/wkssvc.so'
)
bld.SAMBA_PYTHON('python_dfs',
source='../../librpc/gen_ndr/py_dfs.c',
deps='RPC_NDR_DFS PYTALLOC pyrpc_util',
realname='samba/dcerpc/dfs.so'
)
bld.SAMBA_PYTHON('python_unixinfo',
source='../../librpc/gen_ndr/py_unixinfo.c',
deps='RPC_NDR_UNIXINFO PYTALLOC pyrpc_util',
realname='samba/dcerpc/unixinfo.so'
)
bld.SAMBA_PYTHON('python_irpc',
source='gen_ndr/py_irpc.c',
deps='RPC_NDR_IRPC PYTALLOC pyrpc_util',
realname='samba/dcerpc/irpc.so'
)
bld.SAMBA_PYTHON('python_winbind',
source='gen_ndr/py_winbind.c',
deps='RPC_NDR_WINBIND PYTALLOC pyrpc_util python_netlogon',
realname='samba/dcerpc/winbind.so'
)
bld.SAMBA_PYTHON('python_idmap',
source='../../librpc/gen_ndr/py_idmap.c',
deps='NDR_IDMAP PYTALLOC pyrpc_util',
realname='samba/dcerpc/idmap.so'
)
bld.SAMBA_PYTHON('python_drsuapi',
source='../../librpc/gen_ndr/py_drsuapi.c',
deps='RPC_NDR_DRSUAPI PYTALLOC pyrpc_util',
realname='samba/dcerpc/drsuapi.so'
)
bld.SAMBA_PYTHON('python_dcerpc_security',
source='../../librpc/gen_ndr/py_security.c',
deps='PYTALLOC pyrpc_util NDR_SECURITY',
realname='samba/dcerpc/security.so'
)
bld.SAMBA_PYTHON('python_dcerpc_drsblobs',
source='../../librpc/gen_ndr/py_drsblobs.c',
deps='PYTALLOC pyrpc_util NDR_SECURITY RPC_NDR_DRSBLOBS',
realname='samba/dcerpc/drsblobs.so'
)
bld.SAMBA_PYTHON('python_dcerpc_xattr',
source='../../librpc/gen_ndr/py_xattr.c',
deps='PYTALLOC pyrpc_util RPC_NDR_XATTR',
realname='samba/dcerpc/xattr.so'
)
bld.SAMBA_PYTHON('python_netlogon',
source='../../librpc/gen_ndr/py_netlogon.c',
deps='RPC_NDR_NETLOGON PYTALLOC pyrpc_util',
realname='samba/dcerpc/netlogon.so'
)
bld.SAMBA_SCRIPT('python_dcerpc_init',
pattern='rpc/dcerpc.py',
installdir='python/samba/dcerpc',
installname='__init__.py')
bld.INSTALL_FILES('${PYTHONDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname='__init__.py')
|