mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
22 lines
700 B
Python
22 lines
700 B
Python
#!/usr/bin/python
|
|
Import('hostenv')
|
|
|
|
ndr_base_files = ['ndr/ndr.c', 'ndr/ndr_basic.c', 'ndr/ndr_string.c',
|
|
'ndr/ndr_obfuscate.c', 'ndr/ndr_misc.c']
|
|
|
|
hostenv.Library('ndr_base', ndr_base_files)
|
|
hostenv.proto_headers += hostenv.CProtoHeader('ndr/proto.h', ndr_base_files)
|
|
|
|
hostenv.Library('ndr_compression',
|
|
['ndr/ndr_compression.c'])
|
|
|
|
rpc_base_files = ['rpc/dcerpc.c', 'rpc/dcerpc_auth.c', 'rpc/dcerpc_schannel.c',
|
|
'rpc/dcerpc_util.c', 'rpc/dcerpc_error.c',
|
|
'rpc/dcerpc_smb.c', 'rpc/dcerpc_sock.c']
|
|
|
|
hostenv.Library('rpc_base', rpc_base_files)
|
|
hostenv.proto_headers += hostenv.CProtoHeader('rpc/proto.h', rpc_base_files)
|
|
|
|
from glob import glob
|
|
hostenv.NdrMarshaller(glob('idl/*.idl'))
|