summaryrefslogtreecommitdiffstats
path: root/src/plugins/mail-lua/Makefile.am
blob: 1698cb424b0bb99a98edd3e645ec1ddbb985def2 (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
AM_CPPFLAGS = \
	-I$(top_srcdir)/src/lib \
	-I$(top_srcdir)/src/lib-mail \
	-I$(top_srcdir)/src/lib-index \
	-I$(top_srcdir)/src/lib-storage \
	-I$(top_srcdir)/src/lib-lua \
	$(LUA_CFLAGS)

NOPLUGIN_LDFLAGS =

module_LTLIBRARIES = \
	lib01_mail_lua_plugin.la

lib01_mail_lua_plugin_la_LDFLAGS = -module -avoid-version $(LUA_LIBS)
lib01_mail_lua_plugin_la_LIBADD = \
	../../lib-storage/libdovecot-storage-lua.la \
	$(LIBDOVECOT)
lib01_mail_lua_plugin_la_SOURCES = \
	mail-lua-plugin.c

pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = \
	mail-lua-plugin.h

test_programs =

check-local:
	for bin in $(test_programs); do \
	  if ! env $(test_options) $(RUN_TEST) ./$$bin; then exit 1; fi; \
	done

noinst_PROGRAMS = $(test_programs)