summaryrefslogtreecommitdiffstats
path: root/src/submission/Makefile.am
blob: 6d37277ca7b06180664ac62ee523775a20483982 (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
44
45
46
47
48
49
50
51
52
53
54
55
pkglibexecdir = $(libexecdir)/dovecot

pkglibexec_PROGRAMS = submission

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/lib \
	-I$(top_srcdir)/src/lib-settings \
	-I$(top_srcdir)/src/lib-auth \
	-I$(top_srcdir)/src/lib-mail \
	-I$(top_srcdir)/src/lib-ssl-iostream \
	-I$(top_srcdir)/src/lib-imap \
	-I$(top_srcdir)/src/lib-imap-storage \
	-I$(top_srcdir)/src/lib-imap-urlauth \
	-I$(top_srcdir)/src/lib-index \
	-I$(top_srcdir)/src/lib-master \
	-I$(top_srcdir)/src/lib-storage \
	-I$(top_srcdir)/src/lib-storage/index \
	-I$(top_srcdir)/src/lib-storage/index/raw \
	-I$(top_srcdir)/src/lib-smtp

urlauth_libs = \
	$(top_builddir)/src/lib-imap-urlauth/libimap-urlauth.la

submission_LDFLAGS = -export-dynamic

submission_LDADD = \
	$(urlauth_libs) \
	$(LIBDOVECOT_STORAGE) \
	$(LIBDOVECOT) \
	$(MODULE_LIBS)
submission_DEPENDENCIES = \
	$(urlauth_libs) \
	$(LIBDOVECOT_STORAGE_DEPS) \
	$(LIBDOVECOT_DEPS)

submission_SOURCES = \
	main.c \
	submission-backend.c \
	submission-backend-relay.c \
	submission-recipient.c \
	submission-client.c \
	submission-commands.c \
	submission-settings.c

headers = \
	submission-common.h \
	submission-backend.h \
	submission-backend-relay.h \
	submission-commands.h \
	submission-recipient.h \
	submission-client.h \
	submission-settings.h

pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)