dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki TuomiAM_CPPFLAGS = \
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi -I$(top_srcdir)/src/lib \
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi -I$(top_srcdir)/src/lib-test \
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi -I$(top_srcdir)/src/lib-dcrypt
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki TuomiNOPLUGIN_LDFLAGS =
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomilib20_var_expand_crypt_la_LDFLAGS = -module -avoid-version
71b8d0ad84a5eef634476a8e3d259714b6fe5a2dTimo Sirainenlib20_auth_var_expand_crypt_la_LDFLAGS = -module -avoid-version
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomiauth_moduledir = $(moduledir)/auth
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomimodule_LTLIBRARIES = \
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi lib20_var_expand_crypt.la
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomiauth_module_LTLIBRARIES = \
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi lib20_auth_var_expand_crypt.la
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomilib20_auth_var_expand_crypt_la_SOURCES = \
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi var-expand-crypt-plugin.c
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomilib20_var_expand_crypt_la_SOURCES = \
dbc351d8a8dad8cfbc0c1f5d957d23873ab5e26cAki Tuomi var-expand-crypt-plugin.c
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomitest_programs = test-var-expand-crypt
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomitest_var_expand_crypt_CFLAGS = \
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi -DDCRYPT_BUILD_DIR=\"$(top_builddir)/src/lib-dcrypt\"
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomitest_var_expand_crypt_SOURCES = \
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi test-var-expand-crypt.c
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomitest_var_expand_crypt_LDADD = \
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi ../../lib-dovecot/libdovecot.la \
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi lib20_auth_var_expand_crypt.la
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi
149299c7d5136a8fb425ef3cf8953026a1358002Timo Sirainencheck-local:
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi for bin in $(test_programs); do \
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi if ! env $(test_options) $(RUN_TEST) ./$$bin; then exit 1; fi; \
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi done
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuomi
205f29a013ee4aa95e9be993ebf261a9d9bc251bAki Tuominoinst_PROGRAMS = $(test_programs)