From 8f1b809d2ccb083cb84532e98b04a12fb1039e22 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 20 Mar 2010 16:27:48 +1100 Subject: build: nearly there on samba4 build --- buildtools/wafsamba/samba_autoproto.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'buildtools/wafsamba/samba_autoproto.py') diff --git a/buildtools/wafsamba/samba_autoproto.py b/buildtools/wafsamba/samba_autoproto.py index 19e4dbf94e..71274ead75 100644 --- a/buildtools/wafsamba/samba_autoproto.py +++ b/buildtools/wafsamba/samba_autoproto.py @@ -5,7 +5,10 @@ import Build, os, string, Utils from samba_utils import * # rule for heimdal prototype generation -def HEIMDAL_AUTOPROTO(bld, header, source, options='-q -P comment -o'): +def HEIMDAL_AUTOPROTO(bld, header, source, options=None, group='main'): + bld.SET_BUILD_GROUP(group) + if options is None: + options='-q -P comment -o' t = bld(rule='${PERL} -W ../heimdal/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}', source=source, target=header, @@ -26,8 +29,8 @@ def SAMBA_AUTOPROTO(bld, header, source): source = source, target = header, ext_out='.c', + before ='cc', rule = '../script/mkproto.pl --srcdir=.. --builddir=. --public=/dev/null --private=${TGT} ${SRC}' ) Build.BuildContext.SAMBA_AUTOPROTO = SAMBA_AUTOPROTO - -- cgit