forked from KolibriOS/kolibrios
- Added thashview to autobuild
git-svn-id: svn://kolibrios.org@8460 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9d1354453c
commit
57c57ff9ff
@ -286,7 +286,6 @@ extra_files = {
|
||||
{"kolibrios/utils/cnc_editor/kolibri.NC", PROGS .. "/other/cnc_editor/kolibri.NC"},
|
||||
{"kolibrios/utils/vmode", "common/vmode"},
|
||||
{"kolibrios/utils/texture", "common/utils/texture"},
|
||||
{"kolibrios/utils/thashview", "common/utils/thashview"},
|
||||
}
|
||||
if build_type == "rus" then tup.append_table(extra_files, {
|
||||
{"Docs/cp866/config.txt", build_type .. "/docs/CONFIG.TXT"},
|
||||
@ -683,6 +682,13 @@ tup.append_table(extra_files, {
|
||||
})
|
||||
end -- tup.getconfig('NO_MSVC') ~= 'full'
|
||||
|
||||
-- Programs that require TCC to compile.
|
||||
if tup.getconfig('NO_TCC') ~= 'full' then
|
||||
tup.append_table(extra_files, {
|
||||
{"kolibrios/utils/thashview", PROGS .. "/other/TinyHashView/thashview"},
|
||||
})
|
||||
end -- tup.getconfig('NO_TCC') ~= 'full'
|
||||
|
||||
-- Programs that require GCC to compile.
|
||||
if tup.getconfig('NO_GCC') ~= 'full' then
|
||||
tup.append_table(img_files, {
|
||||
|
Binary file not shown.
10
programs/other/TinyHashView/Tupfile.lua
Normal file
10
programs/other/TinyHashView/Tupfile.lua
Normal file
@ -0,0 +1,10 @@
|
||||
if tup.getconfig("NO_TCC") ~= "" then return end
|
||||
|
||||
TCC="kos32-tcc "
|
||||
|
||||
CFLAGS = "-I../../develop/ktcc/trunk/libc/include"
|
||||
LDFLAGS = "-nostdlib ../../develop/ktcc/trunk/bin/lib/start.o -L../../develop/ktcc/trunk/bin/lib"
|
||||
LIBS = "-lck -lcryptal -ldialog"
|
||||
|
||||
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
|
||||
tup.rule("thashview.c", COMMAND .. tup.getconfig("KPACK_CMD"), "thashview")
|
Loading…
Reference in New Issue
Block a user