e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainennoinst_LTLIBRARIES = libssl_iostream.la
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo SirainenNOPLUGIN_LDFLAGS =
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo SirainenAM_CPPFLAGS = \
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen -I$(top_srcdir)/src/lib \
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen -I$(top_srcdir)/src/lib-test \
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen -DMODULE_DIR=\""$(moduledir)"\"
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen
68c47763e2f6996894d8ee7333d3bc6de1904ca1Timo Sirainenif BUILD_OPENSSL
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainenmodule_LTLIBRARIES = libssl_iostream_openssl.la
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainenlibssl_iostream_openssl_la_LDFLAGS = -module -avoid-version
c6108c1bfa10d5fcd1def9c6a23ebcd5204d1775Timo Sirainenlibssl_iostream_openssl_la_LIBADD = $(SSL_LIBS)
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainenlibssl_iostream_openssl_la_SOURCES = \
c6108c1bfa10d5fcd1def9c6a23ebcd5204d1775Timo Sirainen dovecot-openssl-common.c \
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen iostream-openssl.c \
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen iostream-openssl-common.c \
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen iostream-openssl-context.c \
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen istream-openssl.c \
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen ostream-openssl.c
68c47763e2f6996894d8ee7333d3bc6de1904ca1Timo Sirainenendif
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen
68c47763e2f6996894d8ee7333d3bc6de1904ca1Timo Sirainenlibssl_iostream_la_SOURCES = \
86cc86047bee861a6f7fc3a9cfdb8600b984732eTimo Sirainen iostream-ssl.c \
86cc86047bee861a6f7fc3a9cfdb8600b984732eTimo Sirainen iostream-ssl-context-cache.c
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen
285bfe946c2d54928b272270dd5eef9041b24271Timo Sirainennoinst_HEADERS = \
285bfe946c2d54928b272270dd5eef9041b24271Timo Sirainen dovecot-openssl-common.h
285bfe946c2d54928b272270dd5eef9041b24271Timo Sirainen
d7a405cac0db3de0c3359cd21f4f3e3e5c6044a9Timo Sirainenheaders = \
e98de01b5644c88b6053e2921eb5e9a506fe263fTimo Sirainen iostream-openssl.h \
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen iostream-ssl.h \
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen iostream-ssl-private.h
d7a405cac0db3de0c3359cd21f4f3e3e5c6044a9Timo Sirainen
d7a405cac0db3de0c3359cd21f4f3e3e5c6044a9Timo Sirainenpkginc_libdir=$(pkgincludedir)
d7a405cac0db3de0c3359cd21f4f3e3e5c6044a9Timo Sirainenpkginc_lib_HEADERS = $(headers)