447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenpkglibexecdir = $(libexecdir)/dovecot
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenpkglibexec_PROGRAMS = replicator
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo SirainenAM_CPPFLAGS = \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen -I$(top_srcdir)/src/lib \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen -I$(top_srcdir)/src/lib-settings \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen -I$(top_srcdir)/src/lib-auth \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen -I$(top_srcdir)/src/lib-master \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen -I$(top_srcdir)/src/replication \
b200bc3875fa06d42c8619865cc306c3297fcaccAki Tuomi -DPKG_STATEDIR=\""$(statedir)"\" \
b200bc3875fa06d42c8619865cc306c3297fcaccAki Tuomi $(BINARY_CFLAGS)
b200bc3875fa06d42c8619865cc306c3297fcaccAki Tuomi
b200bc3875fa06d42c8619865cc306c3297fcaccAki Tuomireplicator_LDFLAGS = -export-dynamic \
b200bc3875fa06d42c8619865cc306c3297fcaccAki Tuomi $(BINARY_LDFLAGS)
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen
7f50258fb5e71ca7965d8527f879114c39d0a0fbTimo Sirainenreplicator_LDADD = $(LIBDOVECOT)
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenreplicator_DEPENDENCIES = $(LIBDOVECOT_DEPS)
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainenreplicator_SOURCES = \
99a9e14caaf54d884dac6a520111cfc8849d8323Timo Sirainen doveadm-connection.c \
cc116e6d7a2515f0089a449c22a3d61d9ec14642Timo Sirainen dsync-client.c \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen replicator.c \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen replicator-brain.c \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen replicator-queue.c \
f59c16625dc8fb1b734fddbba58012ec42cf945dTimo Sirainen replicator-queue-auth.c \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen replicator-settings.c \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen notify-connection.c
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainennoinst_HEADERS = \
99a9e14caaf54d884dac6a520111cfc8849d8323Timo Sirainen doveadm-connection.h \
cc116e6d7a2515f0089a449c22a3d61d9ec14642Timo Sirainen dsync-client.h \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen replicator-brain.h \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen replicator-queue.h \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen replicator-settings.h \
447e086422f1ab7cc16833583ed70a4af7a84bc5Timo Sirainen notify-connection.h