diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
commit | c21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /fluent-bit/lib/librdkafka-2.1.0/src-cpp/Makefile | |
parent | Adding upstream version 1.43.2. (diff) | |
download | netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.tar.xz netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.zip |
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/src-cpp/Makefile')
-rw-r--r-- | fluent-bit/lib/librdkafka-2.1.0/src-cpp/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/src-cpp/Makefile b/fluent-bit/lib/librdkafka-2.1.0/src-cpp/Makefile new file mode 100644 index 000000000..78ecb31f2 --- /dev/null +++ b/fluent-bit/lib/librdkafka-2.1.0/src-cpp/Makefile @@ -0,0 +1,55 @@ +PKGNAME= librdkafka +LIBNAME= librdkafka++ +LIBVER= 1 + +CXXSRCS= RdKafka.cpp ConfImpl.cpp HandleImpl.cpp \ + ConsumerImpl.cpp ProducerImpl.cpp KafkaConsumerImpl.cpp \ + TopicImpl.cpp TopicPartitionImpl.cpp MessageImpl.cpp \ + HeadersImpl.cpp QueueImpl.cpp MetadataImpl.cpp + +HDRS= rdkafkacpp.h + +OBJS= $(CXXSRCS:%.cpp=%.o) + + + +all: lib check + +# No linker script/symbol hiding for C++ library +DISABLE_LDS=y + +MKL_NO_SELFCONTAINED_STATIC_LIB=y +include ../mklove/Makefile.base + +# Use C++ compiler as linker rather than the default C compiler +CC_LD=$(CXX) + +# OSX and Cygwin requires linking required libraries +ifeq ($(_UNAME_S),Darwin) + FWD_LINKING_REQ=y +endif +ifeq ($(_UNAME_S),AIX) + FWD_LINKING_REQ=y +endif +ifeq ($(shell uname -o 2>/dev/null),Cygwin) + FWD_LINKING_REQ=y +endif + +# Ignore previously defined library dependencies for the C library, +# we'll get those dependencies through the C library linkage. +LIBS := -L../src -lrdkafka +MKL_PKGCONFIG_REQUIRES_PRIVATE := rdkafka +MKL_PKGCONFIG_REQUIRES := rdkafka + +CHECK_FILES+= $(LIBFILENAME) $(LIBNAME).a + + +file-check: lib +check: file-check + +install: lib-install +uninstall: lib-uninstall + +clean: lib-clean + +-include $(DEPS) |