diff options
Diffstat (limited to 'src/dict/Makefile.am')
-rw-r--r-- | src/dict/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/dict/Makefile.am b/src/dict/Makefile.am new file mode 100644 index 0000000..e408046 --- /dev/null +++ b/src/dict/Makefile.am @@ -0,0 +1,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 |