summaryrefslogtreecommitdiff
path: root/source4/librpc/SConscript
blob: 97ada3cc1356c7e203c93d4fc36f20dd6a3dd290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/python
Import('hostenv', 'proto_files')

ndr_base_files = ['ndr/ndr.c', 'ndr/ndr_basic.c', 'ndr/ndr_string.c',
		  'ndr/ndr_obfuscate.c', 'ndr/ndr_misc.c'] 

hostenv.StaticLibrary('ndr_base', ndr_base_files)
proto_files += [File(x) for x in ndr_base_files]

hostenv.StaticLibrary('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.StaticLibrary('rpc_base', rpc_base_files)
proto_files += [File(x) for x in rpc_base_files]

from glob import glob
hostenv.NdrMarshaller(glob('idl/*.idl'))