1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

Transition to waf 1.8: replaced on_results by update_outputs

Reviewed-By: Jelmer Vernooij <jelmer@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Thomas Nagy 2015-03-07 15:31:18 +01:00 committed by Andrew Bartlett
parent 2ab6c10f84
commit 5771276be9
4 changed files with 11 additions and 11 deletions

View File

@ -13,7 +13,7 @@ def SAMBA_AUTOPROTO(bld, header, source):
name = name,
source = source,
target = header,
on_results=True,
update_outputs=True,
ext_out='.c',
before ='cc',
rule = '${PERL} "${SCRIPT}/mkproto.pl" --srcdir=.. --builddir=. --public=/dev/null --private="${TGT}" ${SRC}'

View File

@ -78,7 +78,7 @@ def SAMBA_PIDL(bld, pname, source,
t = bld(rule='cd .. && %s %s ${PERL} "${PIDL}" --quiet ${OPTIONS} --outputdir ${OUTPUTDIR} -- "${SRC[0].abspath(env)}"' % (cpp, cc),
ext_out = '.c',
before = 'cc',
on_results = True,
update_outputs = True,
shell = True,
source = source,
target = out_files,
@ -135,7 +135,7 @@ def SAMBA_PIDL_TABLES(bld, name, target):
rule = '${PERL} ${SRC} --output ${TGT} | sed "s|default/||" > ${TGT}',
ext_out = '.c',
before = 'cc',
on_results = True,
update_outputs = True,
shell = True,
source = '../../librpc/tables.pl',
target = target,

View File

@ -638,7 +638,7 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='',
source=bld.EXPAND_VARIABLES(source, vars=vars),
target=target,
shell=isinstance(rule, str),
on_results=True,
update_outputs=True,
before='cc',
ext_out='.c',
samba_type='GENERATOR',

View File

@ -70,7 +70,7 @@ def HEIMDAL_ASN1(name, source,
t = bld(rule=asn1_rule,
ext_out = '.x',
before = 'cc',
on_results = True,
update_outputs = True,
shell = True,
source = source,
target = out_files,
@ -92,7 +92,7 @@ def HEIMDAL_ASN1(name, source,
source = out_files[0],
target = cfile,
shell = True,
on_results=True,
update_outputs=True,
ext_out = '.c',
ext_in = '.x',
depends_on = name + '_ASN1',
@ -103,7 +103,7 @@ def HEIMDAL_ASN1(name, source,
source = out_files[1],
ext_out = '.c',
ext_in = '.x',
on_results=True,
update_outputs=True,
target = hfile,
depends_on = name + '_ASN1',
name = name + '_H')
@ -113,7 +113,7 @@ def HEIMDAL_ASN1(name, source,
source = out_files[2],
ext_out = '.c',
ext_in = '.x',
on_results=True,
update_outputs=True,
target = hpriv,
depends_on = name + '_ASN1',
name = name + '_PRIV_H')
@ -158,7 +158,7 @@ def HEIMDAL_ERRTABLE(name, source):
t = bld(rule='"${SRC[1].abspath(env)}" "${TGT[0].parent.abspath(env)}" "${COMPILE_ET}" "${SRC[0].abspath(env)}" ${TGT[0].bldpath(env)}',
ext_out = '.c',
before = 'cc',
on_results = True,
update_outputs = True,
shell = True,
source = sources,
target = out_files,
@ -176,7 +176,7 @@ def HEIMDAL_AUTOPROTO(header, source, options=None, group='prototypes'):
t = bld(rule='${PERL} "${HEIMDAL}/cf/make-proto.pl" ${OPTIONS} "${TGT[0].abspath(env)}" ${SRC}',
source=source,
target=header,
on_results=True,
update_outputs=True,
ext_out='.c',
before='cc')
t.env.HEIMDAL = os.path.join(bld.srcnode.abspath(), 'source4/heimdal')
@ -201,7 +201,7 @@ def HEIMDAL_GENERATOR(name, rule, source='', target='',
source=source,
target=target,
shell=isinstance(rule, str),
on_results=True,
update_outputs=True,
before='cc',
ext_out='.c',
vars=[rule],