This makes sure we generate a checksum over the result.
In practice it means we no longer recompile when a proto header
is triggers a rebuild if it hasn't changed its md5sum.
metze
t = bld(rule=asn1_rule,
ext_out = '.x',
before = 'cc',
+ on_results = True,
shell = True,
source = source,
target = out_files,
t = bld(rule='${PERL} -W ../heimdal/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}',
source=source,
target=header,
+ on_results=True,
ext_out='.c',
before='cc')
t.env.OPTIONS = options
bld(
source = source,
target = header,
+ on_results=True,
ext_out='.c',
before ='cc',
rule = '../script/mkproto.pl --srcdir=.. --builddir=. --public=/dev/null --private=${TGT} ${SRC}'
t = bld(rule='${SRC[0].abspath(env)} . ${TGT[0].parent.abspath(env)} default/source4/heimdal_build/compile_et ${SRC[2].abspath(env)} ${TGT[0].bldpath(env)}',
ext_out = '.c',
before = 'cc',
+ on_results = True,
shell = True,
source = ['et_compile_wrapper.sh', 'compile_et', source],
target = out_files,
source= [ "script/mkversion.sh", 'VERSION' ],
target=target,
shell=True,
+ on_results=True,
before="cc")
# force this rule to be constructed now
t.post()
t = bld(rule='cd .. && ${PIDL} ${OPTIONS} --outputdir ${OUTPUTDIR} -- ${SRC[0].abspath(env)}',
ext_out = '.c',
before = 'cc',
+ on_results = True,
shell = True,
source = source,
target = out_files,
rule = '${SRC} --output ${TGT} | sed "s|default/||" > ${TGT}',
ext_out = '.c',
before = 'cc',
+ on_results = True,
shell = True,
source = '../../librpc/tables.pl',
target = target,