blob: 08270b4b3386555661969df7d7fad4a36b825223 (
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
LIBRARY()
VERSION(1.4.17)
LICENSE(
BSD-3-Clause AND
GPL-3.0-or-later AND
LGPL-2.0-or-later
)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
IF (NOT MUSL)
NO_RUNTIME()
ENDIF()
NO_COMPILER_WARNINGS()
ADDINCL(
GLOBAL contrib/tools/m4/lib
)
IF (OS_WINDOWS)
ADDINCL(
GLOBAL contrib/tools/m4/lib/platform/win64
)
ENDIF()
IF (OS_DARWIN)
CFLAGS(
-D_XOPEN_SOURCE=600
)
ENDIF()
IF (NOT OS_WINDOWS)
CFLAGS(
GLOBAL -Dregcomp=gnu_regcomp
GLOBAL -Dregerror=gnu_regerror
GLOBAL -Dregfree=gnu_regfree
GLOBAL -Dregexec=gnu_regexec
)
ENDIF()
SRCS(
asnprintf.c
basename-lgpl.c
basename.c
binary-io.c
c-ctype.c
c-stack.c
c-strcasecmp.c
c-strncasecmp.c
clean-temp.c
cloexec.c
close-stream.c
close.c
closein.c
closeout.c
dirname-lgpl.c
dirname.c
dup-safer-flag.c
dup-safer.c
dup2.c
error.c
execute.c
exitfail.c
fatal-signal.c
fclose.c
fcntl.c
fd-hook.c
fd-safer-flag.c
fd-safer.c
fflush.c
filenamecat-lgpl.c
filenamecat.c
fopen-safer.c
fstat.c
getdtablesize.c
gl_avltree_oset.c
gl_linkedhash_list.c
gl_list.c
gl_oset.c
gl_xlist.c
gl_xoset.c
localcharset.c
malloca.c
memchr2.c
mkstemp-safer.c
nl_langinfo.c
pipe-safer.c
pipe2-safer.c
printf-args.c
printf-frexp.c
printf-frexpl.c
printf-parse.c
progname.c
quotearg.c
raise.c
regex.c
secure_getenv.c
sig-handler.c
spawn-pipe.c
stripslash.c
tempname.c
tmpdir.c
unistd.c
vasnprintf.c
verror.c
version-etc-fsf.c
version-etc.c
wait-process.c
wctype-h.c
xalloc-die.c
xasprintf.c
xmalloc.c
xmalloca.c
xprintf.c
xsize.c
xstrndup.c
xvasprintf.c
)
IF (NOT MUSL)
SRCS(
freadahead.c
)
ENDIF()
IF (NOT OS_LINUX)
SRCS(
pipe2.c
)
ENDIF()
IF (OS_WINDOWS)
SRCS(
vasprintf.c
strsignal.c
mkdtemp.c
fseeko.c
getopt.c
getopt1.c
gettimeofday.c
localeconv.c
msvc-inval.c
msvc-nothrow.c
sigaction.c
sigprocmask.c
waitpid.c
)
ENDIF()
IF (NOT OS_LINUX OR MUSL)
SRCS(
obstack.c
)
ENDIF()
IF (OS_CYGWIN OR OS_LINUX)
#not need it
ELSE()
SRCS(
fpending.c
)
ENDIF()
END()
|