blob: 8133c05361c6a16e4e22b122f2edb8a9a37f32e7 (
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
|
pkgsysconfdir = $(sysconfdir)/dovecot
noinst_LTLIBRARIES = libmaster.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-auth \
-I$(top_srcdir)/src/lib-dns \
-I$(top_srcdir)/src/lib-test \
-I$(top_srcdir)/src/lib-settings \
-I$(top_srcdir)/src/lib-ssl-iostream \
-DPKG_RUNDIR=\""$(rundir)"\" \
-DPKG_STATEDIR=\""$(statedir)"\" \
-DSYSCONFDIR=\""$(pkgsysconfdir)"\" \
-DBINDIR=\""$(bindir)"\"
libmaster_la_SOURCES = \
anvil-client.c \
ipc-client.c \
ipc-server.c \
master-auth.c \
master-instance.c \
master-login.c \
master-login-auth.c \
master-service.c \
master-service-haproxy.c \
master-service-settings.c \
master-service-settings-cache.c \
master-service-ssl.c \
master-service-ssl-settings.c \
stats-client.c \
syslog-util.c
headers = \
anvil-client.h \
ipc-client.h \
ipc-server.h \
master-auth.h \
master-instance.h \
master-interface.h \
master-login.h \
master-login-auth.h \
master-service.h \
master-service-private.h \
master-service-settings.h \
master-service-settings-cache.h \
master-service-ssl.h \
master-service-ssl-settings.h \
service-settings.h \
stats-client.h \
syslog-util.h
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)
test_programs = \
test-master-service-settings-cache \
test-event-stats
noinst_PROGRAMS = $(test_programs)
test_libs = \
../lib-test/libtest.la \
../lib-dns/libdns.la \
../lib/liblib.la
test_event_stats_libs = \
libmaster.la
test_deps = $(noinst_LTLIBRARIES) $(test_libs)
test_master_service_settings_cache_SOURCES = test-master-service-settings-cache.c
test_master_service_settings_cache_LDADD = master-service-settings-cache.lo ../lib-settings/libsettings.la $(test_libs)
test_master_service_settings_cache_DEPENDENCIES = $(test_deps) ../lib-settings/libsettings.la
test_event_stats_SOURCES = test-event-stats.c
test_event_stats_LDADD = $(test_event_stats_libs) $(test_libs)
test_event_stats_DEPENDENCIES = $(test_deps)
check-local:
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done
|