summaryrefslogtreecommitdiffstats
path: root/src/seastar/pkgconfig/seastar.pc.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/seastar/pkgconfig/seastar.pc.in
parentInitial commit. (diff)
downloadceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz
ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/seastar/pkgconfig/seastar.pc.in')
-rw-r--r--src/seastar/pkgconfig/seastar.pc.in47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/seastar/pkgconfig/seastar.pc.in b/src/seastar/pkgconfig/seastar.pc.in
new file mode 100644
index 00000000..e621bfec
--- /dev/null
+++ b/src/seastar/pkgconfig/seastar.pc.in
@@ -0,0 +1,47 @@
+prefix=@Seastar_PKG_CONFIG_PREFIX@
+exec_prefix=${prefix}
+seastar_include_flags=@Seastar_PKG_CONFIG_SEASTAR_INCLUDE_FLAGS@
+libdir=@Seastar_PKG_CONFIG_LIBDIR@
+
+Name: Seastar
+Url: http://seastar-project.org
+Description: Advanced C++ framework for high-performance server applications on modern hardware.
+Version: @PROJECT_VERSION@
+
+# Platform dependencies.
+stdatomic_libs=$<JOIN:@StdAtomic_LIBRARIES@, >
+stdfilesystem_libs=$<JOIN:@StdFilesystem_LIBRARIES@, >
+dl_libs=-l$<JOIN:@CMAKE_DL_LIBS@,-l>
+rt_libs=$<JOIN:@rt_LIBRARIES@, >
+
+# Dependencies of dependencies.
+boost_system_libs=@Boost_SYSTEM_LIBRARY@
+
+# Dependencies.
+boost_cflags=-I$<JOIN:@Boost_INCLUDE_DIRS@, -I>
+boost_filesystem_libs=@Boost_FILESYSTEM_LIBRARY@
+boost_program_options_libs=@Boost_PROGRAM_OPTIONS_LIBRARY@
+boost_thread_libs=${boost_system_libs} @Boost_THREAD_LIBRARY@
+c_ares_cflags=-I$<JOIN:@c-ares_INCLUDE_DIRS@, -I>
+c_ares_libs=$<JOIN:@c-ares_LIBRARIES@, >
+cryptopp_cflags=-I$<JOIN:@cryptopp_INCLUDE_DIRS@, -I>
+cryptopp_libs=$<JOIN:@cryptopp_LIBRARIES@, >
+dpdk_libs=$<JOIN:@dpdk_LIBRARIES@, >
+fmt_cflags=-I$<JOIN:$<TARGET_PROPERTY:fmt::fmt,INTERFACE_INCLUDE_DIRECTORIES>, -I>
+fmt_libs=$<TARGET_LINKER_FILE:fmt::fmt>
+lksctp_tools_cflags=-I$<JOIN:@lksctp-tools_INCLUDE_DIRS@, -I>
+lksctp_tools_libs=$<JOIN:@lksctp-tools_LIBRARIES@, >
+numactl_cflags=-I$<JOIN:@numactl_INCLUDE_DIRS@, -I>
+numactl_libs=$<JOIN:@numactl_LIBRARIES@, >
+sanitizers_cflags=$<JOIN:@Sanitizers_PKGCONFIG_COMPILER_OPTIONS@, >
+
+# Us.
+seastar_cflags=${seastar_include_flags} $<JOIN:$<TARGET_PROPERTY:seastar,INTERFACE_COMPILE_OPTIONS>, > -D$<JOIN:$<TARGET_PROPERTY:seastar,INTERFACE_COMPILE_DEFINITIONS>, -D>
+seastar_libs=${libdir}/$<TARGET_FILE_NAME:seastar>
+
+Requires: liblz4 >= 1.8.0
+Requires.private: gnutls >= 3.5.18, protobuf >= 3.3.0, hwloc >= 1.11.5, yaml-cpp >= 0.5.3
+Conflicts:
+Cflags: ${boost_cflags} ${c_ares_cflags} ${cryptopp_cflags} ${fmt_cflags} ${lksctp_tools_cflags} ${numactl_cflags} ${sanitizers_cflags} ${seastar_cflags}
+Libs: ${boost_program_options_libs} ${boost_thread_libs} ${c_ares_libs} ${cryptopp_libs} ${fmt_libs} ${seastar_libs}
+Libs.private: ${dl_libs} ${rt_libs} ${boost_filesystem_libs} ${boost_thread_libs} ${dpdk_libs} ${lksctp_tools_libs} ${numactl_libs} ${stdatomic_libs} ${stdfilesystem_libs}