pkgsysconfdir = $(sysconfdir)/dovecot
noinst_LTLIBRARIES = libmaster.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-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 = \
headers = \
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)
test_programs = \
test-master-service-settings-cache
noinst_PROGRAMS = $(test_programs)
test_libs = \
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
check-local:
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done