diff options
Diffstat (limited to 'plugins/imkafka/Makefile.am')
-rw-r--r-- | plugins/imkafka/Makefile.am | 19 |
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 = + |