forked from KolibriOS/kolibrios
- Added "whois" to autobuild
git-svn-id: svn://kolibrios.org@8516 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9c14226ab7
commit
46a3812550
@ -686,6 +686,9 @@ end -- tup.getconfig('NO_MSVC') ~= 'full'
|
||||
|
||||
-- Programs that require TCC to compile.
|
||||
if tup.getconfig('NO_TCC') ~= 'full' then
|
||||
tup.append_table(img_files, {
|
||||
{"NETWORK/WHOIS", PROGS .. "/network/whois/whois"},
|
||||
})
|
||||
tup.append_table(extra_files, {
|
||||
{"kolibrios/utils/thashview", PROGS .. "/other/TinyHashView/thashview"},
|
||||
{"kolibrios/develop/TinyBasic/", PROGS .. "/develop/tinybasic/TinyBasic"},
|
||||
|
10
programs/network/whois/Tupfile.lua
Normal file
10
programs/network/whois/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 -lnetwork"
|
||||
|
||||
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
|
||||
tup.rule("whois.c", COMMAND .. tup.getconfig("KPACK_CMD"), "whois")
|
Loading…
Reference in New Issue
Block a user