blob: 36cad8acdbb2f5cd54d8993cbf159af65c37fd8f (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
noinst_LTLIBRARIES = libsieve_util.la
AM_CPPFLAGS = \
$(LIBDOVECOT_INCLUDE) \
$(LIBDOVECOT_SERVICE_INCLUDE) \
-DMODULEDIR=\""$(dovecot_moduledir)"\"
libsieve_util_la_DEPENDENCIES = $(LIBDOVECOT_STORAGE_DEPS) $(LIBDOVECOT_DEPS)
libsieve_util_la_SOURCES = \
mail-raw.c \
edit-mail.c \
rfc2822.c
headers = \
mail-raw.h \
edit-mail.h \
rfc2822.h
pkginc_libdir=$(dovecot_pkgincludedir)/sieve
pkginc_lib_HEADERS = $(headers)
test_programs = \
test-edit-mail \
test-rfc2822
noinst_PROGRAMS = $(test_programs)
test_libs = \
libsieve_util.la \
$(LIBDOVECOT_STORAGE) \
$(LIBDOVECOT)
test_deps = \
libsieve_util.la \
$(LIBDOVECOT_STORAGE_DEPS) \
$(LIBDOVECOT_DEPS)
test_edit_mail_SOURCES = test-edit-mail.c
test_edit_mail_LDADD = $(test_libs)
test_edit_mail_DEPENDENCIES = $(test_deps)
test_rfc2822_SOURCES = test-rfc2822.c
test_rfc2822_LDADD = $(test_libs)
test_rfc2822_DEPENDENCIES = $(test_deps)
check: check-am check-test
check-test: all-am
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done
|