summaryrefslogtreecommitdiffstats
path: root/plugins/imkafka/Makefile.am
blob: c26a0becee69eceb6f4002e11aa003372aa6afa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 =