summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/managesieve-login/Makefile.am
blob: 3bfbc75a2f728a251f8a3ddc78947f83dd570283 (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
33
34
35
36
37
38
39
40
41
42
43
settingsdir = $(dovecot_moduledir)/settings

dovecot_pkglibexec_PROGRAMS = managesieve-login

AM_CPPFLAGS = \
	$(LIBDOVECOT_INCLUDE) \
	$(LIBDOVECOT_SERVICE_INCLUDE) \
	$(LIBDOVECOT_LOGIN_INCLUDE) \
	-I$(top_srcdir) \
	-I$(top_srcdir)/src/lib-managesieve

libmanagesieve_login_settings_la_LDFLAGS = -module -avoid-version

settings_LTLIBRARIES = \
	libmanagesieve_login_settings.la

libmanagesieve_login_settings_la_SOURCES = \
	managesieve-login-settings.c \
	managesieve-login-settings-plugin.c

libmanagesieve_login_settings_la_CFLAGS = \
	$(AM_CFLAGS) $(LIBDOVECOT_CONFIG_INCLUDE) -DPKG_LIBEXECDIR=\""$(dovecot_pkglibexecdir)"\"

libs = \
	$(top_builddir)/src/lib-managesieve/libmanagesieve.la

managesieve_login_CPPFLAGS = $(AM_CPPFLAGS) $(BINARY_CFLAGS)
managesieve_login_LDFLAGS = $(BINARY_LDFLAGS)
managesieve_login_LDADD = $(libs) $(LIBDOVECOT_LOGIN) $(LIBDOVECOT)
managesieve_login_DEPENDENCIES = $(libs) $(LIBDOVECOT_LOGIN_DEPS) $(LIBDOVECOT_DEPS)

managesieve_login_SOURCES = \
	client.c \
	client-authenticate.c \
	managesieve-login-settings.c \
	managesieve-proxy.c

noinst_HEADERS = \
	client.h \
	client-authenticate.h \
	managesieve-login-settings.h \
	managesieve-login-settings-plugin.h \
	managesieve-proxy.h