863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainenpkgsysconfdir = $(sysconfdir)/dovecot
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainennoinst_LTLIBRARIES = libmaster.la
8d3278a82b964217d95c340ec6f82037cdc59d19Timo SirainenAM_CPPFLAGS = \
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen -I$(top_srcdir)/src/lib \
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen -I$(top_srcdir)/src/lib-test \
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen -I$(top_srcdir)/src/lib-settings \
b8efab7ea8876c0a33a73ee0d08eddada31320f8Timo Sirainen -DPKG_RUNDIR=\""$(rundir)"\" \
96d19229e5f322411eb84446e5477d8170cfa5afTimo Sirainen -DPKG_STATEDIR=\""$(statedir)"\" \
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainen -DSYSCONFDIR=\""$(pkgsysconfdir)"\" \
7ab70e15c63c172c1715a40c8ffcff0285b6f05eTimo Sirainen -DBINDIR=\""$(bindir)"\"
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainenlibmaster_la_SOURCES = \
53f37d41e1abb068131320f39f870fc92e81f560Timo Sirainenpkginc_libdir=$(pkgincludedir)
53f37d41e1abb068131320f39f870fc92e81f560Timo Sirainenpkginc_lib_HEADERS = $(headers)
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainentest_programs = \
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen test-master-service-settings-cache
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainennoinst_PROGRAMS = $(test_programs)
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainentest_deps = $(noinst_LTLIBRARIES) $(test_libs)
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainentest_master_service_settings_cache_SOURCES = test-master-service-settings-cache.c
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainentest_master_service_settings_cache_LDADD = master-service-settings-cache.lo ../lib-settings/libsettings.la $(test_libs)
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainentest_master_service_settings_cache_DEPENDENCIES = $(test_deps) ../lib-settings/libsettings.la
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen for bin in $(test_programs); do \
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \