diff options
Diffstat (limited to '')
-rw-r--r-- | src/lda/Makefile.am | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/lda/Makefile.am b/src/lda/Makefile.am new file mode 100644 index 0000000..eb18079 --- /dev/null +++ b/src/lda/Makefile.am @@ -0,0 +1,38 @@ +pkglibexecdir = $(libexecdir)/dovecot + +pkglibexec_PROGRAMS = dovecot-lda + +AM_CPPFLAGS = \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/lib-settings \ + -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-smtp \ + -I$(top_srcdir)/src/lib-lda \ + -I$(top_srcdir)/src/lib-storage \ + -I$(top_srcdir)/src/lib-storage/index \ + -I$(top_srcdir)/src/lib-storage/index/raw \ + $(BINARY_CFLAGS) + +dovecot_lda_LDFLAGS = -export-dynamic + +dovecot_lda_LDADD = \ + $(LIBDOVECOT_LDA) \ + $(LIBDOVECOT_STORAGE) \ + $(LIBDOVECOT) \ + $(BINARY_LDFLAGS) + +dovecot_lda_DEPENDENCIES = \ + $(LIBDOVECOT_LDA) \ + $(LIBDOVECOT_STORAGE_DEPS) \ + $(LIBDOVECOT_DEPS) + +dovecot_lda_SOURCES = \ + main.c + +install-exec-local: + rm -f $(DESTDIR)$(pkglibexecdir)/deliver + $(LN_S) dovecot-lda $(DESTDIR)$(pkglibexecdir)/deliver |