aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/swig/ya.make
blob: d1d4b407c8c8437e3ce86680257822939dba9185 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Generated by devtools/yamaker from nixpkgs 22.11.

PROGRAM(swig)

LICENSE(
    Custom-swig AND
    GPL-3.0-only
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(4.1.1)

ORIGINAL_SOURCE(https://github.com/swig/swig/archive/v4.1.1.tar.gz)

PEERDIR(
    contrib/libs/pcre2
)

ADDINCL(
    contrib/libs/pcre2
    contrib/tools/swig/Source/CParse
    contrib/tools/swig/Source/DOH
    contrib/tools/swig/Source/Doxygen
    contrib/tools/swig/Source/Include
    contrib/tools/swig/Source/Modules
    contrib/tools/swig/Source/Preprocessor
    contrib/tools/swig/Source/Swig
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    -DSWIG_LIB_ARCPATH=contrib/tools/swig/Lib
    -DHAVE_CONFIG_H
)

BISON_GEN_C()

SRCS(
    Source/CParse/cscanner.c
    Source/CParse/parser.y
    Source/CParse/templ.c
    Source/CParse/util.c
    Source/DOH/base.c
    Source/DOH/file.c
    Source/DOH/fio.c
    Source/DOH/hash.c
    Source/DOH/list.c
    Source/DOH/memory.c
    Source/DOH/string.c
    Source/DOH/void.c
    Source/Doxygen/doxyentity.cxx
    Source/Doxygen/doxyparser.cxx
    Source/Doxygen/doxytranslator.cxx
    Source/Doxygen/javadoc.cxx
    Source/Doxygen/pydoc.cxx
    Source/Modules/allocate.cxx
    Source/Modules/contract.cxx
    Source/Modules/csharp.cxx
    Source/Modules/d.cxx
    Source/Modules/directors.cxx
    Source/Modules/emit.cxx
    Source/Modules/go.cxx
    Source/Modules/guile.cxx
    Source/Modules/interface.cxx
    Source/Modules/java.cxx
    Source/Modules/javascript.cxx
    Source/Modules/lang.cxx
    Source/Modules/lua.cxx
    Source/Modules/main.cxx
    Source/Modules/mzscheme.cxx
    Source/Modules/nested.cxx
    Source/Modules/ocaml.cxx
    Source/Modules/octave.cxx
    Source/Modules/overload.cxx
    Source/Modules/perl5.cxx
    Source/Modules/php.cxx
    Source/Modules/python.cxx
    Source/Modules/r.cxx
    Source/Modules/ruby.cxx
    Source/Modules/scilab.cxx
    Source/Modules/swigmain.cxx
    Source/Modules/tcl8.cxx
    Source/Modules/typepass.cxx
    Source/Modules/utils.cxx
    Source/Modules/xml.cxx
    Source/Preprocessor/cpp.c
    Source/Preprocessor/expr.c
    Source/Swig/cwrap.c
    Source/Swig/deprecate.c
    Source/Swig/error.c
    Source/Swig/extend.c
    Source/Swig/fragment.c
    Source/Swig/getopt.c
    Source/Swig/include.c
    Source/Swig/misc.c
    Source/Swig/naming.c
    Source/Swig/parms.c
    Source/Swig/scanner.c
    Source/Swig/stype.c
    Source/Swig/symbol.c
    Source/Swig/tree.c
    Source/Swig/typemap.c
    Source/Swig/typeobj.c
    Source/Swig/typesys.c
    Source/Swig/wrapfunc.c
    swig_lib.cpp
)

END()

RECURSE(
    Lib/go
    Lib/java
    Lib/perl5
    Lib/python
)