aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libevent/event_thread/ya.make
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/libevent/event_thread/ya.make
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/libs/libevent/event_thread/ya.make')
-rw-r--r--contrib/libs/libevent/event_thread/ya.make39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/libs/libevent/event_thread/ya.make b/contrib/libs/libevent/event_thread/ya.make
new file mode 100644
index 0000000000..85d171f96a
--- /dev/null
+++ b/contrib/libs/libevent/event_thread/ya.make
@@ -0,0 +1,39 @@
+# Generated by devtools/yamaker.
+
+LIBRARY()
+
+WITHOUT_LICENSE_TEXTS()
+
+LICENSE(BSD-3-Clause)
+
+PEERDIR(
+ contrib/libs/libc_compat
+)
+
+ADDINCL(
+ contrib/libs/libevent
+ contrib/libs/libevent/include
+)
+
+NO_COMPILER_WARNINGS()
+
+NO_RUNTIME()
+
+CFLAGS(
+ -DHAVE_CONFIG_H
+ -DEVENT__HAVE_STRLCPY=1
+)
+
+SRCDIR(contrib/libs/libevent)
+
+IF (OS_WINDOWS)
+ SRCS(
+ evthread_win32.c
+ )
+ELSE()
+ SRCS(
+ evthread_pthread.c
+ )
+ENDIF()
+
+END()