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

pkglibexec_PROGRAMS = dict

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/lib \
	-I$(top_srcdir)/src/lib-master \
	-I$(top_srcdir)/src/lib-settings \
	-I$(top_srcdir)/src/lib-dict \
	-I$(top_srcdir)/src/lib-sql \
	-DDICT_MODULE_DIR=\""$(moduledir)/dict"\" \
	-DPKG_RUNDIR=\""$(rundir)"\" \
	$(BINARY_CFLAGS)

dict_LDFLAGS = -export-dynamic \
	$(BINARY_LDFLAGS)

libs = \
	../lib-dict-backend/libdict_backend.la \
	$(LIBDOVECOT_SQL)

dict_LDADD = \
	$(libs) \
	$(LIBDOVECOT) \
	$(DICT_LIBS) \
	$(SQL_LIBS) \
	-lm

dict_DEPENDENCIES = $(libs) $(LIBDOVECOT_DEPS)

dict_SOURCES = \
	dict-connection.c \
	dict-commands.c \
	dict-settings.c \
	dict-init-cache.c \
	main.c

noinst_HEADERS = \
	dict-connection.h \
	dict-commands.h \
	dict-settings.h \
	dict-init-cache.h \
	main.h