blob: b467d763879fb75e59308af5288db6f71841576b (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
pkglibexecdir = $(libexecdir)/dovecot
sbin_PROGRAMS = dovecot
systemd_lib =
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-test \
-I$(top_srcdir)/src/lib-auth \
-I$(top_srcdir)/src/lib-settings \
-I$(top_srcdir)/src/lib-master \
-DPKG_RUNDIR=\""$(rundir)"\" \
-DPKG_STATEDIR=\""$(statedir)"\" \
-DPKG_LIBEXECDIR=\""$(pkglibexecdir)"\" \
-DBINDIR=\""$(bindir)"\" \
$(BINARY_CFLAGS)
dovecot_LDADD = \
$(SYSTEMD_LIBS) \
$(LIBCAP) \
$(LIBDOVECOT) \
$(BINARY_LDFLAGS)
dovecot_DEPENDENCIES = $(LIBDOVECOT_DEPS)
dovecot_SOURCES = \
capabilities-posix.c \
dup2-array.c \
main.c \
master-client.c \
master-settings.c \
service-anvil.c \
service-listen.c \
service-log.c \
service-monitor.c \
service-process.c \
service-process-notify.c \
service.c
noinst_HEADERS = \
capabilities.h \
common.h \
dup2-array.h \
master-client.h \
master-settings.h \
service-anvil.h \
service-listen.h \
service-log.h \
service-monitor.h \
service-process.h \
service-process-notify.h \
service.h
test_programs = \
test-auth-client \
test-auth-master \
test-master-login-auth
test_nocheck_programs =
noinst_PROGRAMS = $(test_programs) $(test_nocheck_programs)
test_libs = \
../lib-auth/libauth.la \
../lib-master/libmaster.la \
../lib-auth/libauth.la \
../lib-dns/libdns.la \
../lib-ssl-iostream/libssl_iostream.la \
../lib-settings/libsettings.la \
../lib-test/libtest.la \
../lib/liblib.la \
$(MODULE_LIBS)
test_deps = \
../lib-auth/libauth.la \
../lib-master/libmaster.la \
../lib-auth/libauth.la \
../lib-dns/libdns.la \
../lib-ssl-iostream/libssl_iostream.la \
../lib-settings/libsettings.la \
../lib-test/libtest.la \
../lib/liblib.la
test_auth_client_SOURCES = test-auth-client.c
test_auth_client_LDADD = $(test_libs)
test_auth_client_DEPENDENCIES = $(test_deps)
test_auth_master_SOURCES = test-auth-master.c
test_auth_master_LDADD = $(test_libs)
test_auth_master_DEPENDENCIES = $(test_deps)
test_master_login_auth_SOURCES = test-master-login-auth.c
test_master_login_auth_LDADD = $(test_libs)
test_master_login_auth_DEPENDENCIES = $(test_deps)
check-local:
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done
|