summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-24 16:23:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:52 -0500
commit3d4ea18d4dd9031adc16348c16595d6c216b2d84 (patch)
treeb43aba2aff1820c4ed365132cc2feca544ed402a /source4/librpc
parent63b43dd12fb579aaaccedd07aaa630cb1cd7aa88 (diff)
downloadsamba-3d4ea18d4dd9031adc16348c16595d6c216b2d84.tar.gz
samba-3d4ea18d4dd9031adc16348c16595d6c216b2d84.tar.bz2
samba-3d4ea18d4dd9031adc16348c16595d6c216b2d84.zip
r10478: More work on proto headers; we now generate a couple of smaller ones
that are then included by include/proto.h (This used to be commit 703ffbaaaca11f3d8781cfe9e7542fcaa626d991)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/SConscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/SConscript b/source4/librpc/SConscript
index 97ada3cc13..9c9965eaaa 100644
--- a/source4/librpc/SConscript
+++ b/source4/librpc/SConscript
@@ -1,11 +1,11 @@
#!/usr/bin/python
-Import('hostenv', 'proto_files')
+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.StaticLibrary('ndr_base', ndr_base_files)
-proto_files += [File(x) for x in ndr_base_files]
+hostenv.proto_headers += hostenv.CProtoHeader('ndr/proto.h', ndr_base_files)
hostenv.StaticLibrary('ndr_compression',
['ndr/ndr_compression.c'])
@@ -15,7 +15,7 @@ rpc_base_files = ['rpc/dcerpc.c', 'rpc/dcerpc_auth.c', 'rpc/dcerpc_schannel.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]
+hostenv.proto_headers += hostenv.CProtoHeader('rpc/proto.h', rpc_base_files)
from glob import glob
hostenv.NdrMarshaller(glob('idl/*.idl'))