aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libaio
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/libaio
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/libs/libaio')
-rw-r--r--contrib/libs/libaio/dynamic/ya.make17
-rw-r--r--contrib/libs/libaio/static/ya.make38
-rw-r--r--contrib/libs/libaio/ya.make35
3 files changed, 90 insertions, 0 deletions
diff --git a/contrib/libs/libaio/dynamic/ya.make b/contrib/libs/libaio/dynamic/ya.make
new file mode 100644
index 0000000000..e804dd1f40
--- /dev/null
+++ b/contrib/libs/libaio/dynamic/ya.make
@@ -0,0 +1,17 @@
+# Generated by devtools/yamaker.
+
+DYNAMIC_LIBRARY()
+
+LICENSE(
+ LGPL-2.0-or-later AND
+ LGPL-2.1-only AND
+ Linux-syscall-note-in-syscall-glue
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+DYNAMIC_LIBRARY_FROM(contrib/libs/libaio/static)
+
+NO_RUNTIME()
+
+END()
diff --git a/contrib/libs/libaio/static/ya.make b/contrib/libs/libaio/static/ya.make
new file mode 100644
index 0000000000..b540cd41b1
--- /dev/null
+++ b/contrib/libs/libaio/static/ya.make
@@ -0,0 +1,38 @@
+# Generated by devtools/yamaker.
+
+LIBRARY()
+
+LICENSE(
+ LGPL-2.0-or-later AND
+ LGPL-2.1-only AND
+ Linux-syscall-note-in-syscall-glue
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+ADDINCL(
+ GLOBAL contrib/libs/libaio/include
+ contrib/libs/libaio/src
+)
+
+NO_COMPILER_WARNINGS()
+
+NO_RUNTIME()
+
+SRCDIR(contrib/libs/libaio/src)
+
+SRCS(
+ io_cancel.c
+ io_destroy.c
+ io_getevents.c
+ io_pgetevents.c
+ io_queue_init.c
+ io_queue_release.c
+ io_queue_run.c
+ io_queue_wait.c
+ io_setup.c
+ io_submit.c
+ raw_syscall.c
+)
+
+END()
diff --git a/contrib/libs/libaio/ya.make b/contrib/libs/libaio/ya.make
new file mode 100644
index 0000000000..1c3137f630
--- /dev/null
+++ b/contrib/libs/libaio/ya.make
@@ -0,0 +1,35 @@
+# Generated by devtools/yamaker from nixpkgs 22.05.
+
+LIBRARY()
+
+WITHOUT_LICENSE_TEXTS()
+
+VERSION(0.3.113)
+
+LICENSE(Service-Dll-Harness)
+
+NO_RUNTIME()
+
+IF (EXPORT_CMAKE)
+ OPENSOURCE_EXPORT_REPLACEMENT(
+ CMAKE
+ AIO
+ CMAKE_TARGET
+ AIO::aio
+ )
+ELSEIF (USE_DYNAMIC_AIO)
+ PEERDIR(
+ contrib/libs/libaio/dynamic
+ )
+ELSE()
+ PEERDIR(
+ contrib/libs/libaio/static
+ )
+ENDIF()
+
+END()
+
+RECURSE(
+ dynamic
+ static
+)