ya.make 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. Apache-2.0 AND
  5. BSD-3-Clause AND
  6. BSL-1.0 AND
  7. ISC AND
  8. PostgreSQL AND
  9. Public-Domain
  10. )
  11. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  12. VERSION(16.2)
  13. ORIGINAL_SOURCE(https://github.com/postgres/postgres/archive/REL_16_2.tar.gz)
  14. PEERDIR(
  15. contrib/libs/libc_compat
  16. contrib/libs/openssl
  17. contrib/libs/zlib
  18. )
  19. ADDINCL(
  20. contrib/libs/libpq/src/backend
  21. GLOBAL contrib/libs/libpq/src/include
  22. contrib/libs/libpq/src/common
  23. contrib/libs/libpq/src/interfaces/libpq
  24. contrib/libs/libpq/src/port
  25. )
  26. NO_COMPILER_WARNINGS()
  27. NO_RUNTIME()
  28. CFLAGS(
  29. -DFRONTEND
  30. -DUNSAFE_STAT_OK
  31. -D_POSIX_PTHREAD_SEMANTICS
  32. -D_REENTRANT
  33. -D_THREAD_SAFE
  34. )
  35. SRCS(
  36. src/common/archive.c
  37. src/common/base64.c
  38. src/common/checksum_helper.c
  39. src/common/compression.c
  40. src/common/config_info.c
  41. src/common/controldata_utils.c
  42. src/common/cryptohash_openssl.c
  43. src/common/d2s.c
  44. src/common/encnames.c
  45. src/common/exec.c
  46. src/common/f2s.c
  47. src/common/fe_memutils.c
  48. src/common/file_perm.c
  49. src/common/file_utils.c
  50. src/common/hashfn.c
  51. src/common/hmac_openssl.c
  52. src/common/ip.c
  53. src/common/jsonapi.c
  54. src/common/keywords.c
  55. src/common/kwlookup.c
  56. src/common/link-canary.c
  57. src/common/logging.c
  58. src/common/md5_common.c
  59. src/common/percentrepl.c
  60. src/common/pg_get_line.c
  61. src/common/pg_lzcompress.c
  62. src/common/pg_prng.c
  63. src/common/pgfnames.c
  64. src/common/protocol_openssl.c
  65. src/common/psprintf.c
  66. src/common/relpath.c
  67. src/common/restricted_token.c
  68. src/common/rmtree.c
  69. src/common/saslprep.c
  70. src/common/scram-common.c
  71. src/common/sprompt.c
  72. src/common/string.c
  73. src/common/stringinfo.c
  74. src/common/unicode_norm.c
  75. src/common/username.c
  76. src/common/wait_error.c
  77. src/common/wchar.c
  78. src/interfaces/libpq/fe-auth-scram.c
  79. src/interfaces/libpq/fe-auth.c
  80. src/interfaces/libpq/fe-connect.c
  81. src/interfaces/libpq/fe-exec.c
  82. src/interfaces/libpq/fe-lobj.c
  83. src/interfaces/libpq/fe-misc.c
  84. src/interfaces/libpq/fe-print.c
  85. src/interfaces/libpq/fe-protocol3.c
  86. src/interfaces/libpq/fe-secure-common.c
  87. src/interfaces/libpq/fe-secure-openssl.c
  88. src/interfaces/libpq/fe-secure.c
  89. src/interfaces/libpq/fe-trace.c
  90. src/interfaces/libpq/libpq-events.c
  91. src/interfaces/libpq/pqexpbuffer.c
  92. src/port/bsearch_arg.c
  93. src/port/chklocale.c
  94. src/port/getpeereid.c
  95. src/port/inet_net_ntop.c
  96. src/port/noblock.c
  97. src/port/path.c
  98. src/port/pg_bitutils.c
  99. src/port/pg_crc32c_sb8.c
  100. src/port/pg_strong_random.c
  101. src/port/pgcheckdir.c
  102. src/port/pgmkdirp.c
  103. src/port/pgsleep.c
  104. src/port/pgstrcasecmp.c
  105. src/port/pgstrsignal.c
  106. src/port/pqsignal.c
  107. src/port/qsort.c
  108. src/port/qsort_arg.c
  109. src/port/quotes.c
  110. src/port/snprintf.c
  111. src/port/strerror.c
  112. src/port/tar.c
  113. src/port/thread.c
  114. )
  115. IF (ARCH_X86_64)
  116. SRCS(
  117. src/port/pg_crc32c_sse42.c
  118. src/port/pg_crc32c_sse42_choose.c
  119. )
  120. ENDIF()
  121. IF (OS_WINDOWS)
  122. ADDINCL(
  123. contrib/libs/libpq/src/include/port
  124. contrib/libs/libpq/src/include/port/win32
  125. contrib/libs/libpq/src/include/port/win32_msvc
  126. )
  127. SRCS(
  128. src/interfaces/libpq/pthread-win32.c
  129. src/interfaces/libpq/win32.c
  130. src/port/dirmod.c
  131. src/port/inet_aton.c
  132. src/port/open.c
  133. src/port/win32common.c
  134. src/port/win32error.c
  135. src/port/win32gettimeofday.c
  136. src/port/win32ntdll.c
  137. src/port/win32setlocale.c
  138. src/port/win32stat.c
  139. )
  140. ENDIF()
  141. END()