summaryrefslogtreecommitdiffstats
path: root/src/replication/replicator/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/replication/replicator/Makefile.am')
-rw-r--r--src/replication/replicator/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/replication/replicator/Makefile.am b/src/replication/replicator/Makefile.am
new file mode 100644
index 0000000..a0ac563
--- /dev/null
+++ b/src/replication/replicator/Makefile.am
@@ -0,0 +1,36 @@
+pkglibexecdir = $(libexecdir)/dovecot
+
+pkglibexec_PROGRAMS = replicator
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src/lib \
+ -I$(top_srcdir)/src/lib-settings \
+ -I$(top_srcdir)/src/lib-auth \
+ -I$(top_srcdir)/src/lib-master \
+ -I$(top_srcdir)/src/replication \
+ -DPKG_STATEDIR=\""$(statedir)"\" \
+ $(BINARY_CFLAGS)
+
+replicator_LDFLAGS = -export-dynamic \
+ $(BINARY_LDFLAGS)
+
+replicator_LDADD = $(LIBDOVECOT)
+replicator_DEPENDENCIES = $(LIBDOVECOT_DEPS)
+
+replicator_SOURCES = \
+ doveadm-connection.c \
+ dsync-client.c \
+ replicator.c \
+ replicator-brain.c \
+ replicator-queue.c \
+ replicator-queue-auth.c \
+ replicator-settings.c \
+ notify-connection.c
+
+noinst_HEADERS = \
+ doveadm-connection.h \
+ dsync-client.h \
+ replicator-brain.h \
+ replicator-queue.h \
+ replicator-settings.h \
+ notify-connection.h