forked from KolibriOS/kolibrios
Compare commits
1 Commits
fb2reader-
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| cc1034d849 |
@@ -25,7 +25,6 @@ img_files = {
|
||||
{"MACROS.INC", SRC_PROGS .. "/macros.inc"},
|
||||
-- {"CONFIG.INC", SRC_PROGS .. "/config.inc"},
|
||||
{"STRUCT.INC", SRC_PROGS .. "/struct.inc"},
|
||||
{"FB2READ", "common/fb2read"},
|
||||
{"ALLGAMES", "common/allgames"},
|
||||
{"HOME.PNG", "common/wallpapers/T_Home.png"},
|
||||
{"ICONS32.PNG", "common/icons32.png"},
|
||||
@@ -749,6 +748,7 @@ end -- tup.getconfig('NO_TCC') ~= 'full'
|
||||
if tup.getconfig('NO_OB07') ~= 'full' then
|
||||
tup.append_table(img_files, {
|
||||
{"DEVELOP/CEDIT", VAR_PROGS .. "/develop/cedit/cedit"},
|
||||
{"FB2READ", VAR_PROGS .. "/other/fb2reader/fb2read"},
|
||||
})
|
||||
end -- tup.getconfig('NO_OB07') ~= 'full'
|
||||
|
||||
|
||||
Binary file not shown.
9
programs/other/fb2reader/Tupfile.lua
Normal file
9
programs/other/fb2reader/Tupfile.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
if tup.getconfig("NO_OB07") ~= "" then return end
|
||||
if tup.getconfig("HELPERDIR") == ""
|
||||
then
|
||||
HELPERDIR = "../../"
|
||||
end
|
||||
|
||||
tup.include(HELPERDIR .. "/use_ob07.lua")
|
||||
|
||||
build_ob07({"SRC/FB2READ.ob07"}, "fb2read", "-upper");
|
||||
@@ -1,6 +1,7 @@
|
||||
OB07 = tup.getcwd() .. "/develop/oberon07/compiler"
|
||||
OB07_FLAGS = "-stk 1 -nochk a"
|
||||
|
||||
function build_ob07(input, output)
|
||||
tup.rule(input, OB07 .. " %f kosexe -out %o " .. OB07_FLAGS .. " " .. tup.getconfig("KPACK_CMD"), output)
|
||||
end
|
||||
OB07 = tup.getcwd() .. "/develop/oberon07/compiler"
|
||||
OB07_FLAGS = "-stk 1 -nochk a"
|
||||
|
||||
function build_ob07(input, output, extra_flags)
|
||||
extra_flags = extra_flags or ""
|
||||
tup.rule(input, OB07 .. " %f kosexe -out %o " .. OB07_FLAGS .. " " .. extra_flags .. " " .. tup.getconfig("KPACK_CMD"), output)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user