def heimdal_path(p):
return os.path.join("../heimdal", p)
+def heimdal_paths(ps):
+ return [heimdal_path(p) for p in TO_LIST(ps)]
+
# waf build tool for building .et files with compile_et
def HEIMDAL_ASN1(name, source,
if options is None:
options='-q -P comment -o'
SET_TARGET_TYPE(bld, header, 'PROTOTYPE')
- source = [os.path.join("../heimdal", x) for x in TO_LIST(source)]
+ source = heimdal_paths(source)
t = bld(rule='${PERL} ${HEIMDAL}/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}',
source=source,
target=header,
if not SET_TARGET_TYPE(bld, modname, 'SUBSYSTEM'):
return
- source = [os.path.join("../heimdal", x) for x in TO_LIST(source)]
+ source = heimdal_paths(source)
bld.set_group(group)
HEIMDAL_SUBSYSTEM('HEIMDAL_HCRYPTO_IMATH',
'lib/hcrypto/imath/imath.c lib/hcrypto/imath/iprime.c',
- includes='../heimdal/lib/hcrypto/imath',
+ includes='../heimdal/lib/hcrypto/imath',
deps='roken'
)
if not bld.CONFIG_SET("USING_SYSTEM_TOMMATH"):