summaryrefslogtreecommitdiff
path: root/lua.gyp
blob: 280b94c1869b06c45a4bddfa122710a616769614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# Copyright 2013 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#


{
  'targets': [
    {
      'target_name': 'lua',
      'type': 'static_library',
      'suppress_wildcard': '1',
      'sources': [
        # core
        '../third_party/lua/src/lapi.c',
        '../third_party/lua/src/lcode.c',
        '../third_party/lua/src/lctype.c',
        '../third_party/lua/src/ldebug.c',
        '../third_party/lua/src/ldo.c',
        '../third_party/lua/src/ldump.c',
        '../third_party/lua/src/lfunc.c',
        '../third_party/lua/src/lgc.c',
        '../third_party/lua/src/llex.c',
        '../third_party/lua/src/lmem.c',
        '../third_party/lua/src/lobject.c',
        '../third_party/lua/src/lopcodes.c',
        '../third_party/lua/src/lparser.c',
        '../third_party/lua/src/lstate.c',
        '../third_party/lua/src/lstring.c',
        '../third_party/lua/src/ltable.c',
        '../third_party/lua/src/ltm.c',
        '../third_party/lua/src/lundump.c',
        '../third_party/lua/src/lvm.c',
        '../third_party/lua/src/lzio.c',

        # libraries
        '../third_party/lua/src/lauxlib.c',
        '../third_party/lua/src/lbaselib.c',
        '../third_party/lua/src/lbitlib.c',
        '../third_party/lua/src/lcorolib.c',
        '../third_party/lua/src/ldblib.c',
        '../third_party/lua/src/liolib.c',
        '../third_party/lua/src/lmathlib.c',
        '../third_party/lua/src/loslib.c',
        '../third_party/lua/src/lstrlib.c',
        '../third_party/lua/src/ltablib.c',
        '../third_party/lua/src/loadlib.c',
        '../third_party/lua/src/linit.c',
      ],
      'include_dirs': [
        '../third_party/lua/src/',
      ],
      'all_dependent_settings': {
        'include_dirs': [
          '../third_party/lua/src/',
        ],
      },
      'defines': [
        "getlocaledecpoint()='.'"
      ],
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: