Makefile.am revision be20a7ddf87cb56ee63016dd0029f0c523be09b6
pkglibexecdir = $(libexecdir)/dovecot
pkglibexec_PROGRAMS = imap
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-dict \
-I$(top_srcdir)/src/lib-mail \
-I$(top_srcdir)/src/lib-imap \
-I$(top_srcdir)/src/lib-index \
-I$(top_srcdir)/src/lib-storage \
-DMODULEDIR=\""$(moduledir)"\"
imap_LDFLAGS = -export-dynamic
# get some functions included which only plugins use. liblib should probably
# be a shared library so this wouldn't be needed..
unused_objects = \
../lib/unichar.o \
libs = \
$(STORAGE_LIBS) \
../lib/liblib.a \
$(unused_objects)
imap_LDADD = \
$(libs) \
$(LIBICONV) \
$(RAND_LIBS) \
$(MODULE_LIBS)
imap_DEPENDENCIES = $(libs)
cmds = \
imap_SOURCES = \
$(cmds) \
client.c \
headers = \
client.h \
common.h \
if INSTALL_HEADERS
pkginc_libdir=$(pkgincludedir)/src/imap
pkginc_lib_HEADERS = $(headers)
else
noinst_HEADERS = $(headers)
endif