4036c1ca99d2c517f68a5b67a419ae7fdfd45300Aki Tuominoinst_LTLIBRARIES = libprogram_client.la
4036c1ca99d2c517f68a5b67a419ae7fdfd45300Aki TuomiAM_CPPFLAGS = \
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomi -I$(top_srcdir)/src/lib \
3f67fea2e5a12390d280315c37c80302a9dab683Aki Tuomi -I$(top_srcdir)/src/lib-test \
a371ea8bd48d45548cd7aa16d4f5aeb38ba48c91Aki Tuomi -I$(top_srcdir)/src/lib-dns \
a371ea8bd48d45548cd7aa16d4f5aeb38ba48c91Aki Tuomi -I$(top_srcdir)/src/lib-mail
4036c1ca99d2c517f68a5b67a419ae7fdfd45300Aki Tuomilibprogram_client_la_SOURCES = \
4036c1ca99d2c517f68a5b67a419ae7fdfd45300Aki Tuominoinst_HEADERS = \
4036c1ca99d2c517f68a5b67a419ae7fdfd45300Aki Tuomipkginc_libdir=$(pkgincludedir)
4036c1ca99d2c517f68a5b67a419ae7fdfd45300Aki Tuomipkginc_lib_HEADERS = $(headers)
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomitest_programs = \
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomi test-program-client-local \
3f67fea2e5a12390d280315c37c80302a9dab683Aki Tuomi test-program-client-unix \
3f67fea2e5a12390d280315c37c80302a9dab683Aki Tuomi test-program-client-net
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuominoinst_PROGRAMS = $(test_programs)
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomitest_libs = \
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomi $(MODULE_LIBS)
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomitest_program_client_local_SOURCE = test-program-client-local.c
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomitest_program_client_local_LDADD = $(test_libs)
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomitest_program_client_unix_SOURCE = test-program-client-unix.c
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomitest_program_client_unix_LDADD = $(test_libs)
3f67fea2e5a12390d280315c37c80302a9dab683Aki Tuomitest_program_client_net_SOURCE = test-program-client-net.c
3f67fea2e5a12390d280315c37c80302a9dab683Aki Tuomitest_program_client_net_LDADD = $(test_libs)
0a017e924aa2490f6a54096d11e534b2a7554ebeAki Tuomi for bin in $(test_programs); do \
bdaa7eb956fb87c21d37cfb8bf9b4ab47e3216f9Aki Tuomi if test "$$bin" = "test-program-client-local"; then \
2e5c593f63d7d12fab07fb3055a7f95a11f3fb27Stephan Bosch if ! env NOCHILDREN=yes $(RUN_TEST) ./$$bin; then exit 1; fi; \
867b2e27d87b6b7dbe28e5ec08b3f1514bb92e7dAki Tuomi if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \