diff options
Diffstat (limited to 'src/plugins/var-expand-crypt/Makefile.am')
-rw-r--r-- | src/plugins/var-expand-crypt/Makefile.am | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/plugins/var-expand-crypt/Makefile.am b/src/plugins/var-expand-crypt/Makefile.am new file mode 100644 index 0000000..6feb1a7 --- /dev/null +++ b/src/plugins/var-expand-crypt/Makefile.am @@ -0,0 +1,39 @@ +AM_CPPFLAGS = \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/lib-test \ + -I$(top_srcdir)/src/lib-dcrypt + +NOPLUGIN_LDFLAGS = +lib20_var_expand_crypt_la_LDFLAGS = -module -avoid-version +lib20_auth_var_expand_crypt_la_LDFLAGS = -module -avoid-version + +auth_moduledir = $(moduledir)/auth + +module_LTLIBRARIES = \ + lib20_var_expand_crypt.la + +auth_module_LTLIBRARIES = \ + lib20_auth_var_expand_crypt.la + +lib20_auth_var_expand_crypt_la_SOURCES = \ + var-expand-crypt-plugin.c + +lib20_var_expand_crypt_la_SOURCES = \ + var-expand-crypt-plugin.c + +test_programs = test-var-expand-crypt + +test_var_expand_crypt_CFLAGS = \ + -DDCRYPT_BUILD_DIR=\"$(top_builddir)/src/lib-dcrypt\" +test_var_expand_crypt_SOURCES = \ + test-var-expand-crypt.c +test_var_expand_crypt_LDADD = \ + ../../lib-dovecot/libdovecot.la \ + lib20_auth_var_expand_crypt.la + +check-local: + for bin in $(test_programs); do \ + if ! env $(test_options) $(RUN_TEST) ./$$bin; then exit 1; fi; \ + done + +noinst_PROGRAMS = $(test_programs) |