summaryrefslogtreecommitdiffstats
path: root/src/indexer/Makefile.am
blob: 8bfc891fa74e9fb3069148b93acee0c0379a60d9 (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
pkglibexecdir = $(libexecdir)/dovecot

pkglibexec_PROGRAMS = indexer indexer-worker

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/lib \
	-I$(top_srcdir)/src/lib-master \
	-I$(top_srcdir)/src/lib-settings \
	-I$(top_srcdir)/src/lib-mail \
	-I$(top_srcdir)/src/lib-index \
	-I$(top_srcdir)/src/lib-storage \
	-DPKG_RUNDIR=\""$(rundir)"\" \
	$(BINARY_CFLAGS)

indexer_LDADD = $(LIBDOVECOT) \
	$(BINARY_LDFLAGS)

indexer_DEPENDENCIES = $(LIBDOVECOT_DEPS)
indexer_SOURCES = \
	indexer.c \
	indexer-client.c \
	indexer-queue.c \
	indexer-settings.c \
	worker-connection.c \
	worker-pool.c

indexer_worker_LDADD = \
	$(LIBDOVECOT_STORAGE) \
	$(LIBDOVECOT) \
	$(BINARY_LDFLAGS)

indexer_worker_DEPENDENCIES = \
	$(LIBDOVECOT_STORAGE_DEPS) \
	$(LIBDOVECOT_DEPS)
indexer_worker_SOURCES = \
	indexer-worker.c \
	indexer-worker-settings.c \
	master-connection.c

noinst_HEADERS = \
	indexer.h \
	indexer-client.h \
	indexer-queue.h \
	master-connection.h \
	worker-connection.h \
	worker-pool.h