summaryrefslogtreecommitdiffstats
path: root/plugins/imkafka/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:20 +0000
commitdcc721a95bef6f0d8e6d8775b8efe33e5aecd562 (patch)
tree66a2774cd0ee294d019efd71d2544c70f42b2842 /plugins/imkafka/Makefile.am
parentInitial commit. (diff)
downloadrsyslog-dcc721a95bef6f0d8e6d8775b8efe33e5aecd562.tar.xz
rsyslog-dcc721a95bef6f0d8e6d8775b8efe33e5aecd562.zip
Adding upstream version 8.2402.0.upstream/8.2402.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--plugins/imkafka/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/imkafka/Makefile.am b/plugins/imkafka/Makefile.am
new file mode 100644
index 0000000..c26a0be
--- /dev/null
+++ b/plugins/imkafka/Makefile.am
@@ -0,0 +1,19 @@
+pkglib_LTLIBRARIES = imkafka.la
+
+if IMKAFKA_USE_DUMMY
+imkafka_la_SOURCES = dummy.c
+imkafka_la_LDFLAGS = -module -avoid-version
+imkafka_la_CPPFLAGS = -I$(top_srcdir) $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) -D MODNAME=imkafka
+else
+imkafka_la_SOURCES = imkafka.c
+if ENABLE_KAFKA_STATIC
+imkafka_la_LDFLAGS = -module -avoid-version -Wl,--whole-archive -l:librdkafka-static.a -Wl,--no-whole-archive -ldl -lresolv -lcurl -lssl -lpthread -lcrypto -lsasl2 -lz -llz4 -lrt -lm
+else
+imkafka_la_LDFLAGS = -module -avoid-version $(LIBRDKAFKA_LIBS) -lm
+endif
+imkafka_la_CPPFLAGS = -I$(top_srcdir) $(RSRT_CFLAGS) $(PTHREADS_CFLAGS)
+endif
+
+imkafka_la_LIBADD =
+EXTRA_DIST =
+