123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- 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
- )
- ELSE()
- ADDINCL(
- GLOBAL contrib/tools/m4/lib/platform/posix
- )
- 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(
- abitset.c
- argmatch.c
- asnprintf.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-stack.c
- c-strcasecmp.c
- c-strncasecmp.c
- calloc.c
- clean-temp.c
- cloexec.c
- close-stream.c
- close.c
- closein.c
- closeout.c
- concat-filename.c
- dirname-lgpl.c
- dirname.c
- dup-safer-flag.c
- dup-safer.c
- dup2.c
- ebitset.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
- float.c
- fopen-safer.c
- fpurge.c
- freading.c
- fstat.c
- get-errno.c
- getdtablesize.c
- getopt.c
- getopt1.c
- gl_avltree_oset.c
- gl_linkedhash_list.c
- gl_list.c
- gl_oset.c
- gl_xlist.c
- gl_xoset.c
- hash.c
- isnand.c
- isnanf.c
- isnanl.c
- itold.c
- lbitset.c
- localcharset.c
- lseek.c
- lstat.c
- malloc.c
- malloca.c
- mbrtowc.c
- mbswidth.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
- rawmemchr.c
- readlink.c
- realloc.c
- regex.c
- rename.c
- rmdir.c
- secure_getenv.c
- sig-handler.c
- signbitd.c
- signbitf.c
- signbitl.c
- spawn-pipe.c
- stat.c
- stpcpy.c
- strchrnul.c
- strdup.c
- stripslash.c
- tempname.c
- timevar.c
- tmpdir.c
- unistd.c
- unsetenv.c
- vasnprintf.c
- vbitset.c
- verror.c
- version-etc-fsf.c
- version-etc.c
- wait-process.c
- wctype-h.c
- xalloc-die.c
- xasprintf.c
- xconcat-filename.c
- xmalloc.c
- xmalloca.c
- xmemdup0.c
- xprintf.c
- xsize.c
- xstrndup.c
- xvasprintf.c
- )
- IF (NOT MUSL)
- SRCS(
- freadahead.c
- fseterr.c
- # fseek.c
- )
- ENDIF()
- IF (NOT OS_LINUX)
- SRCS(
- pipe2.c
- strverscmp.c
- )
- ENDIF()
- IF (NOT OS_WINDOWS)
- SRCS(
- stdio-write.c
- )
- ENDIF()
- IF (OS_WINDOWS)
- SRCS(
- frexp.c
- wcrtomb.c
- perror.c
- strstr.c
- mkstemp.c
- vasprintf.c
- strsignal.c
- mkdtemp.c
- fseeko.c
- fopen.c
- ftello.c
- gettimeofday.c
- localeconv.c
- msvc-inval.c
- msvc-nothrow.c
- open.c
- sigaction.c
- sigprocmask.c
- snprintf.c
- spawn_faction_addclose.c
- spawn_faction_adddup2.c
- spawn_faction_addopen.c
- spawn_faction_destroy.c
- spawn_faction_init.c
- spawnattr_destroy.c
- spawnattr_init.c
- spawnattr_setflags.c
- spawnattr_setsigmask.c
- spawni.c
- spawnp.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()
|