Subversion Repositories Kolibri OS

Rev

Rev 5205 | Rev 6551 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5205 clevermous 1
if tup.getconfig("NO_GCC") ~= "" then return end
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.getconfig("HELPERDIR")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
4
tup.include(HELPERDIR .. "/use_newlib.lua")
6550 serge 5
CFLAGS = CFLAGS .. " -UWIN32 -U_WIN32 -U__WIN32__ -DLUA_COMPAT_ALL -DLUA_ANSI"
5205 clevermous 6
compile_gcc{
7
  "lapi.c",
8
  "lauxlib.c",
9
  "lbaselib.c",
10
  "lbitlib.c",
11
  "lcode.c",
12
  "lcorolib.c",
13
  "lctype.c",
14
  "ldblib.c",
15
  "ldebug.c",
16
  "ldo.c",
17
  "ldump.c",
18
  "lfunc.c",
19
  "lgc.c",
20
  "linit.c",
21
  "liolib.c",
22
  "llex.c",
23
  "lmathlib.c",
24
  "lmem.c",
25
  "loadlib.c",
26
  "lobject.c",
27
  "lopcodes.c",
28
  "loslib.c",
29
  "lparser.c",
30
  "lstate.c",
31
  "lstring.c",
32
  "lstrlib.c",
33
  "ltable.c",
34
  "ltablib.c",
35
  "ltm.c",
36
  "lua.c",
37
  "lundump.c",
38
  "lvm.c",
39
  "lzio.c",
40
  "kolibri.c"
41
}
42
link_gcc("lua")