summaryrefslogtreecommitdiff
path: root/source4/build/scons
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/build/scons
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/build/scons')
-rw-r--r--source4/build/scons/proto.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/build/scons/proto.py b/source4/build/scons/proto.py
index fc5cc1b7c1..ef9d1d11b2 100644
--- a/source4/build/scons/proto.py
+++ b/source4/build/scons/proto.py
@@ -13,8 +13,7 @@ proto_builder = SCons.Builder.Builder(action='$PROTOCOM',
def generate(env):
env['MKPROTO'] = './script/mkproto.sh'
- env['PROTO_DEFINE'] = '_PROTO_H_'
- env['PROTOCOM'] = '$MKPROTO "$PERL" -h $PROTO_DEFINE ${TARGETS[0]} $SOURCES'
+ env['PROTOCOM'] = '$MKPROTO "$PERL" ${TARGETS[0]} $SOURCES'
env['BUILDERS']['CProtoHeader'] = proto_builder
def exists(env):