f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainennoinst_LTLIBRARIES = libcompression.la
f052a448696b1246ee9fc36b7c727237aed56058Timo SirainenAM_CPPFLAGS = \
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainen -I$(top_srcdir)/src/lib \
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainenlibcompression_la_SOURCES = \
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainenlibcompression_la_LIBADD = \
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainen $(COMPRESS_LIBS)
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainenpkginc_libdir = $(pkgincludedir)
95eb893b9fc5db61f559689be027f1bd847ec695Timo Sirainenpkginc_lib_HEADERS = \
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainenpkglib_LTLIBRARIES = libdovecot-compression.la
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainenlibdovecot_compression_la_SOURCES =
54f93d2bae53f99f04ba9ade48446c8a5bc77c96Timo Sirainenlibdovecot_compression_la_LIBADD = libcompression.la ../lib-dovecot/libdovecot.la $(COMPRESS_LIBS)
54f93d2bae53f99f04ba9ade48446c8a5bc77c96Timo Sirainenlibdovecot_compression_la_DEPENDENCIES = libcompression.la ../lib-dovecot/libdovecot.la
f052a448696b1246ee9fc36b7c727237aed56058Timo Sirainenlibdovecot_compression_la_LDFLAGS = -export-dynamic
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainentest_programs = \
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainen test-compression
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainennoinst_PROGRAMS = $(test_programs)
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainen $(noinst_LTLIBRARIES) \
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainentest_deps = $(test_libs)
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainentest_compression_SOURCES = test-compression.c
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainentest_compression_LDADD = $(test_libs)
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainentest_compression_DEPENDENCIES = $(test_deps)
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainen for bin in $(test_programs); do \
443fd76b8dfbb708bf2eab8bf5fe7440cc90eb13Timo Sirainen if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \