1 if tup
.getconfig("NO_FASM") ~= "" then return end
2 HELPERDIR
= (tup
.getconfig("HELPERDIR") == "") and "../.." or tup
.getconfig("HELPERDIR")
3 tup
.include(HELPERDIR
.. "/use_fasm.lua")
4 add_include(tup
.getvariantdir())
6 tup
.rule("echo lang fix " .. ((tup
.getconfig("LANG") == "") and "en" or tup
.getconfig("LANG")) .. " > %o", {"lang.inc"})
7 tup
.rule({"zSea.asm", extra_inputs
= {"lang.inc"}}, FASM
.. " %f %o " .. tup
.getconfig("KPACK_CMD"), "zSea")