summaryrefslogtreecommitdiffstats
path: root/src/lmtp/Makefile.am
blob: 316e5ccef615a6830957eb2b7261fd9a65fc72bb (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 = lmtp

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-smtp \
	-I$(top_srcdir)/src/lib-imap \
	-I$(top_srcdir)/src/lib-index \
	-I$(top_srcdir)/src/lib-master \
	-I$(top_srcdir)/src/lib-lda \
	-I$(top_srcdir)/src/lib-ssl-iostream \
	-I$(top_srcdir)/src/lib-storage \
	-I$(top_srcdir)/src/lib-storage/index \
	-I$(top_srcdir)/src/lib-storage/index/raw \
	-DMODULEDIR=\""$(moduledir)"\" \
	$(BINARY_CFLAGS)

lmtp_LDFLAGS = -export-dynamic \
	$(BINARY_LDFLAGS)

lmtp_LDADD = \
	$(LIBDOVECOT_LDA) \
	$(LIBDOVECOT_STORAGE) \
	$(LIBDOVECOT)
lmtp_DEPENDENCIES = \
	$(LIBDOVECOT_LDA) \
	$(LIBDOVECOT_STORAGE_DEPS) \
	$(LIBDOVECOT_DEPS)

lmtp_SOURCES = \
	main.c \
	lmtp-client.c \
	lmtp-commands.c \
	lmtp-recipient.c \
	lmtp-local.c \
	lmtp-proxy.c \
	lmtp-settings.c

noinst_HEADERS = \
	lmtp-local.h \
	lmtp-proxy.h

headers = \
	lmtp-common.h \
	lmtp-commands.h \
	lmtp-recipient.h \
	lmtp-client.h \
	lmtp-settings.h

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