Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 8485 → Rev 8486

/programs/develop/kosjs/Tupfile2.lua
File deleted
Property changes:
Deleted: svn:executable
-*
\ No newline at end of property
/programs/develop/kosjs/Tupfile.lua
0,0 → 1,13
if tup.getconfig("NO_GCC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
 
LDFLAGS = LDFLAGS .. " -Llibmujs --subsystem native"
LIBS = "-lmujs " .. LIBS
table.insert(LIBDEPS, "libmujs/<libmujs>")
INCLUDES = INCLUDES .. " -Ilibmujs"
compile_gcc{"kosjs.c", "import.c"}
link_gcc("kosjs")
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/programs/develop/kosjs/libmujs/Tupfile.lua
0,0 → 1,10
if tup.getconfig("NO_GCC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
CFLAGS = CFLAGS .. " -std=c99 -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32"
INCLUDES = INCLUDES .. " -I ."
compile_gcc{"utftype.c", "jsproperty.c", "jsobject.c", "jsdtoa.c", "jsbuiltin.c", "jsvalue.c", "jsnumber.c", "jsparse.c", "jsstate.c", "jsgc.c", "jsrepr.c", "pp.c", "utf.c", "jsfunction.c", "jsdump.c", "regexp.c", "jsstring.c", "jsarray.c", "jsrun.c", "jsdate.c", "jscompile.c", "jslex.c", "jsboolean.c", "jserror.c", "jsintern.c", "jsmath.c", "jsregexp.c", "json.c"}
tup.rule(OBJS, "kos32-ar rcs %o %f", {"libmujs.a", "<libmujs>"})
Property changes:
Added: svn:executable
+*
\ No newline at end of property