diff options
Diffstat (limited to 'buildtools/wafsamba/samba_autoproto.py')
-rw-r--r-- | buildtools/wafsamba/samba_autoproto.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_autoproto.py b/buildtools/wafsamba/samba_autoproto.py index 19e4dbf94e4..71274ead75e 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 - |