aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/ya.make
blob: 68c752d8601af94150f1acee86f2e65ad1a6b067 (plain) (blame)
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
PROGRAM()

VERSION(3.0)

LICENSE(
    GPL-3.0-only AND
    GPL-3.0-or-later
)

ORIGINAL_SOURCE(git://git.sv.gnu.org/bison)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

IF (NOT MUSL)
    NO_RUNTIME()
ENDIF()

NO_COMPILER_WARNINGS()

ADDINCLSELF()

SRCS(
    src/AnnotationList.c
    src/InadequacyList.c
    src/LR0.c
    src/Sbitset.c
    src/assoc.c
    src/closure.c
    src/complain.c
    src/conflicts.c
    src/derives.c
    src/files.c
    src/getargs.c
    src/gram.c
    src/graphviz.c
    src/ielr.c
    src/lalr.c
    src/location.c
    src/main.c
    src/muscle-tab.c
    src/named-ref.c
    src/nullable.c
    src/output.c
    src/parse-gram.c
    src/print-xml.c
    src/print.c
    src/print_graph.c
    src/reader.c
    src/reduce.c
    src/relation.c
    src/scan-code-c.c
    src/scan-gram-c.c
    src/scan-skel-c.c
    src/state.c
    src/symlist.c
    src/symtab.c
    src/tables.c
    src/uniqstr.c
    arcadia_root.cpp.in
)

CFLAGS(
    -Daccept=bison_accept
    -DBISON_DATA_DIR="contrib/tools/bison/data"
)

PEERDIR(
    contrib/tools/bison/lib
)

END()