blob: fe836e8ed75c5d4fbd52a23b6df81d8bbb639c2a (
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
LIBRARY()
LICENSE(
BSD-3-Clause AND
GPL-3.0-or-later
)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
IF (NOT MUSL)
NO_RUNTIME()
ENDIF()
NO_COMPILER_WARNINGS()
ADDINCL(
GLOBAL contrib/tools/bison/lib
)
IF (OS_WINDOWS)
ADDINCL(
GLOBAL contrib/tools/bison/lib/platform/win64
)
ENDIF()
IF (NOT OS_WINDOWS)
CFLAGS(
GLOBAL -Dregerror=gnu_regerror
GLOBAL -Dregfree=gnu_regfree
GLOBAL -Dregexec=gnu_regexec
)
ENDIF()
SRCS(
abitset.c
argmatch.c
basename-lgpl.c
basename.c
binary-io.c
bitrotate.c
bitset.c
bitset_stats.c
bitsetv-print.c
bitsetv.c
c-ctype.c
c-strcasecmp.c
c-strncasecmp.c
cloexec.c
close.c
close-stream.c
closeout.c
concat-filename.c
dirname-lgpl.c
dirname.c
dup-safer-flag.c
dup-safer.c
dup2.c
ebitset.c
error.c
exitfail.c
fatal-signal.c
fd-hook.c
fd-safer-flag.c
fd-safer.c
fopen-safer.c
get-errno.c
getdtablesize.c
hash.c
isnanl.c
isnand.c
lbitset.c
localcharset.c
mbswidth.c
pipe-safer.c
pipe2-safer.c
printf-args.c
printf-frexp.c
printf-frexpl.c
printf-parse.c
progname.c
quotearg.c
sig-handler.c
spawn-pipe.c
stripslash.c
timevar.c
unistd.c
vasnprintf.c
vbitset.c
wait-process.c
wctype-h.c
xalloc-die.c
xconcat-filename.c
xmalloc.c
xmemdup0.c
xsize.c
xstrndup.c
)
IF (NOT MUSL)
SRCS(
fseterr.c
)
ENDIF()
IF (NOT OS_LINUX)
SRCS(
pipe2.c
strverscmp.c
)
ENDIF()
IF (OS_WINDOWS)
SRCS(
fcntl.c
getopt.c
getopt1.c
msvc-inval.c
msvc-nothrow.c
open.c
raise.c
sigaction.c
sigprocmask.c
stpcpy.c
strndup.c
waitpid.c
wcwidth.c
uniwidth/width.c
)
ENDIF()
IF (NOT OS_LINUX OR MUSL)
SRCS(
obstack.c
obstack_printf.c
)
ENDIF()
IF (OS_CYGWIN OR OS_LINUX)
#not need it
ELSE()
SRCS(
fpending.c
)
ENDIF()
END()
|