123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- # This file was generated by the build system used internally in the Yandex monorepo.
- # Only simple modifications are allowed (adding source-files to targets, adding simple properties
- # like target_include_directories). These modifications will be ported to original
- # ya.make files by maintainers. Any complex modifications which can't be ported back to the
- # original buildsystem will not be accepted.
- add_library(contrib-libs-libpq)
- target_compile_options(contrib-libs-libpq PRIVATE
- -DFRONTEND
- -DUNSAFE_STAT_OK
- -D_POSIX_PTHREAD_SEMANTICS
- -D_REENTRANT
- -D_THREAD_SAFE
- $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
- )
- target_include_directories(contrib-libs-libpq PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/include
- )
- target_include_directories(contrib-libs-libpq PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/backend
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port
- )
- target_link_libraries(contrib-libs-libpq PUBLIC
- contrib-libs-libc_compat
- contrib-libs-openssl
- contrib-libs-zlib
- )
- target_sources(contrib-libs-libpq PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/archive.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/base64.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/checksum_helper.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/compression.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/config_info.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/controldata_utils.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/cryptohash_openssl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/d2s.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/encnames.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/exec.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/f2s.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/fe_memutils.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/file_perm.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/file_utils.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/hashfn.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/hmac_openssl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/ip.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/jsonapi.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/keywords.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/kwlookup.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/link-canary.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/logging.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/md5_common.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/percentrepl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pg_get_line.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pg_lzcompress.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pg_prng.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/pgfnames.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/protocol_openssl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/psprintf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/relpath.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/restricted_token.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/rmtree.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/saslprep.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/scram-common.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/sprompt.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/string.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/stringinfo.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/unicode_norm.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/username.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/wait_error.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/common/wchar.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-auth-scram.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-auth.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-connect.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-exec.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-lobj.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-misc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-print.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-protocol3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-secure-common.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-secure-openssl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-secure.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/fe-trace.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/libpq-events.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/interfaces/libpq/pqexpbuffer.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/bsearch_arg.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/chklocale.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/getpeereid.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/inet_net_ntop.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/noblock.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/path.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_bitutils.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_crc32c_sb8.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_strong_random.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgcheckdir.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgmkdirp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgsleep.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgstrcasecmp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pgstrsignal.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pqsignal.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/qsort.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/qsort_arg.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/quotes.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/snprintf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/strerror.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/tar.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/thread.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_crc32c_sse42.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libpq/src/port/pg_crc32c_sse42_choose.c
- )
|