summaryrefslogtreecommitdiffstats
path: root/src/plugins/var-expand-crypt/Makefile.am
blob: 6feb1a742d51711b8fa296e9a1b9de49a612e778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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)