-
Notifications
You must be signed in to change notification settings - Fork 34
/
lukefile
47 lines (40 loc) · 1.03 KB
/
lukefile
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
--[[
LYAML binding for Lua 5.1, 5.2, 5.3 & 5.4
Copyright (C) 2013-2023 Gary V. Vaughan
]]
package = 'lyaml'
version = '$USER'
defines = {
PACKAGE = '"$package"',
VERSION = '"$version"',
NDEBUG = 1,
_FORTIFY_SOURCE = 2,
platforms = {
aix = {_ALL_SOURCE = 1},
bsd = {_BSD_SOURCE = 1},
freebsd = {__BSD_VISIBLE = 1},
macosx = {_DARWIN_C_SOURCE = 1},
},
}
external_dependencies = {
YAML = {
library = {checksymbol='yaml_document_initialize', library='yaml'},
},
}
incdirs = {
'ext/include',
'$LUA_INCDIR',
}
ldocs = 'build-aux/config.ld.in'
modules = {
['yaml'] = {
'ext/yaml/yaml.c',
'ext/yaml/emitter.c',
'ext/yaml/parser.c',
'ext/yaml/scanner.c',
},
['lyaml'] = 'lib/lyaml/init.lua',
['lyaml.explicit'] = 'lib/lyaml/explicit.lua',
['lyaml.functional'] = 'lib/lyaml/functional.lua',
['lyaml.implicit'] = 'lib/lyaml/implicit.lua',
}