aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/libidn
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/libs/libidn')
-rw-r--r--contrib/libs/libidn/dynamic/ya.make25
-rw-r--r--contrib/libs/libidn/static/ya.make86
-rw-r--r--contrib/libs/libidn/ya.make37
3 files changed, 148 insertions, 0 deletions
diff --git a/contrib/libs/libidn/dynamic/ya.make b/contrib/libs/libidn/dynamic/ya.make
new file mode 100644
index 0000000000..8bb40b769b
--- /dev/null
+++ b/contrib/libs/libidn/dynamic/ya.make
@@ -0,0 +1,25 @@
+# Generated by devtools/yamaker.
+
+DYNAMIC_LIBRARY()
+
+LICENSE(
+ "(GPL-2.0-or-later OR LGPL-3.0-or-later OR GPL-3.0-or-later)" AND
+ "(LGPL-3.0-or-later OR GPL-2.0-or-later)" AND
+ Custom-punycode AND
+ FSFAP AND
+ LGPL-2.0-or-later AND
+ LGPL-2.1-only AND
+ LGPL-2.1-or-later AND
+ LGPL-3.0-only AND
+ Public-Domain
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+DYNAMIC_LIBRARY_FROM(contrib/libs/libidn/static)
+
+NO_RUNTIME()
+
+EXPORTS_SCRIPT(libidn.exports)
+
+END()
diff --git a/contrib/libs/libidn/static/ya.make b/contrib/libs/libidn/static/ya.make
new file mode 100644
index 0000000000..f5c36b7204
--- /dev/null
+++ b/contrib/libs/libidn/static/ya.make
@@ -0,0 +1,86 @@
+# Generated by devtools/yamaker.
+
+LIBRARY()
+
+LICENSE(
+ "(GPL-2.0-or-later OR LGPL-3.0-or-later OR GPL-3.0-or-later)" AND
+ "(LGPL-3.0-or-later OR GPL-2.0-or-later)" AND
+ Custom-punycode AND
+ FSFAP AND
+ LGPL-2.0-or-later AND
+ LGPL-2.1-only AND
+ LGPL-2.1-or-later AND
+ LGPL-3.0-only AND
+ Public-Domain
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+PEERDIR(
+ contrib/libs/libiconv
+)
+
+ADDINCL(
+ GLOBAL contrib/libs/libidn/include
+ contrib/libs/libidn
+ contrib/libs/libidn/gl
+ contrib/libs/libidn/lib
+ contrib/libs/libidn/lib/gl
+)
+
+NO_COMPILER_WARNINGS()
+
+NO_RUNTIME()
+
+CFLAGS(
+ -DHAVE_CONFIG_H
+ -DLIBIDN_BUILDING
+ -DLOCALEDIR=\"/tmp/yamaker/libidn/out/share/locale\"
+)
+
+SRCDIR(contrib/libs/libidn)
+
+SRCS(
+ gl/basename-lgpl.c
+ gl/fd-hook.c
+ gl/malloca.c
+ gl/stat-time.c
+ lib/gl/c-ctype.c
+ lib/gl/c-strcasecmp.c
+ lib/gl/c-strncasecmp.c
+ lib/gl/striconv.c
+ lib/gl/unistr/u8-check.c
+ lib/gl/unistr/u8-mbtoucr.c
+ lib/gl/unistr/u8-uctomb-aux.c
+ lib/gl/unistr/u8-uctomb.c
+ lib/idn-free.c
+ lib/idna.c
+ lib/nfkc.c
+ lib/pr29.c
+ lib/profiles.c
+ lib/punycode.c
+ lib/rfc3454.c
+ lib/strerror-idna.c
+ lib/strerror-pr29.c
+ lib/strerror-punycode.c
+ lib/strerror-stringprep.c
+ lib/strerror-tld.c
+ lib/stringprep.c
+ lib/tld.c
+ lib/tlds.c
+ lib/toutf8.c
+ lib/version.c
+)
+
+IF (OS_LINUX)
+ SRCS(
+ gl/getprogname.c
+ )
+ELSEIF (OS_WINDOWS)
+ SRCS(
+ gl/getprogname.c
+ lib/gl/strverscmp.c
+ )
+ENDIF()
+
+END()
diff --git a/contrib/libs/libidn/ya.make b/contrib/libs/libidn/ya.make
new file mode 100644
index 0000000000..1685231bbc
--- /dev/null
+++ b/contrib/libs/libidn/ya.make
@@ -0,0 +1,37 @@
+# Generated by devtools/yamaker from nixpkgs 22.05.
+
+LIBRARY()
+
+WITHOUT_LICENSE_TEXTS()
+
+VERSION(1.41)
+
+ORIGINAL_SOURCE(mirror://gnu/libidn/libidn-1.41.tar.gz)
+
+LICENSE(Service-Dll-Harness)
+
+NO_RUNTIME()
+
+IF (EXPORT_CMAKE)
+ OPENSOURCE_EXPORT_REPLACEMENT(
+ CMAKE
+ IDN
+ CMAKE_TARGET
+ IDN::IDN
+ )
+ELSEIF (USE_DYNAMIC_IDN)
+ PEERDIR(
+ contrib/libs/libidn/dynamic
+ )
+ELSE()
+ PEERDIR(
+ contrib/libs/libidn/static
+ )
+ENDIF()
+
+END()
+
+RECURSE(
+ dynamic
+ static
+)