ya.make 935 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # Generated by devtools/yamaker.
  2. LIBRARY()
  3. WITHOUT_LICENSE_TEXTS()
  4. VERSION(2.1.12)
  5. LICENSE(BSD-3-Clause)
  6. PEERDIR(
  7. contrib/libs/libc_compat
  8. )
  9. ADDINCL(
  10. contrib/libs/libevent
  11. contrib/libs/libevent/include
  12. )
  13. NO_COMPILER_WARNINGS()
  14. NO_RUNTIME()
  15. CFLAGS(
  16. -DHAVE_CONFIG_H
  17. -DEVENT__HAVE_STRLCPY=1
  18. )
  19. SRCDIR(contrib/libs/libevent)
  20. SRCS(
  21. buffer.c
  22. bufferevent.c
  23. bufferevent_filter.c
  24. bufferevent_pair.c
  25. bufferevent_ratelim.c
  26. bufferevent_sock.c
  27. event.c
  28. evmap.c
  29. evthread.c
  30. evutil.c
  31. evutil_rand.c
  32. evutil_time.c
  33. listener.c
  34. log.c
  35. signal.c
  36. )
  37. IF (OS_WINDOWS)
  38. SRCS(
  39. buffer_iocp.c
  40. bufferevent_async.c
  41. event_iocp.c
  42. win32select.c
  43. )
  44. ELSE()
  45. SRCS(
  46. poll.c
  47. select.c
  48. )
  49. ENDIF()
  50. IF (OS_LINUX)
  51. SRCS(
  52. epoll.c
  53. )
  54. ENDIF()
  55. IF (OS_FREEBSD OR OS_DARWIN)
  56. SRCS(
  57. kqueue.c
  58. )
  59. ENDIF()
  60. END()