aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/libidn
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
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..aa30d2a82f
--- /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..261ce721ec
--- /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
+)