e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuominoinst_LTLIBRARIES = libdovecot-lua.la
e88e76e782853e826d00524ee1133e64fb69b3d9Aki TuomiAM_CPPFLAGS = \
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomi -I$(top_srcdir)/src/lib \
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomi -I$(top_srcdir)/src/lib-test \
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomi $(LUA_CFLAGS)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomilibdovecot_lua_la_SOURCES = \
c0660f13a2b3e99d1468031550b5d69214592c25Aki Tuomilibdovecot_lua_la_DEPENDENCIES = ../lib-dovecot/libdovecot.la $(LUA_LIBS)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomilibdovecot_lua_la_LIBADD = ../lib-dovecot/libdovecot.la $(LUA_LIBS)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomipkginc_libdir=$(pkgincludedir)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomipkginc_lib_HEADERS = $(headers)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomitest_programs = test-lua
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuominoinst_PROGRAMS = $(test_programs)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomitest_lua_SOURCES = test-lua.c
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomitest_lua_CFLAGS = $(AM_CPPFLAGS) $(BINARY_CFLAGS)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomitest_lua_LDFLAGS = $(BINARY_LDFLAGS)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomitest_lua_LDADD = $(test_libs)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomitest_lua_DEPENDENCIES = $(test_libs)
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomi for bin in $(test_programs); do \
e88e76e782853e826d00524ee1133e64fb69b3d9Aki Tuomi if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \