view src/imap/Makefile.am @ 4808:93bc9770f938 HEAD

Initial code for separation of mailbox accessing and directory layout handling. It's not yet possible to change the default layouts though.
author Timo Sirainen <tss@iki.fi>
date Thu, 16 Nov 2006 02:16:31 +0200
parents f66c874602a4
children 967de900c73a
line wrap: on
line source

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/mountpoint.o \
	../lib-mail/message-decoder.o

libs = \
	../lib-storage/register/libstorage-register.a \
	$(STORAGE_LIBS) \
	../lib-storage/list/libstorage_list.a \
	../lib-storage/libstorage.a \
	../lib-imap/libimap.a \
	../lib-mail/libmail.a \
	../lib-dict/libdict.a \
	../lib-charset/libcharset.a \
	../lib/liblib.a \
	$(unused_objects)

imap_LDADD = \
	$(libs) \
	$(LIBICONV) \
	$(RAND_LIBS) \
	$(MODULE_LIBS)

imap_DEPENDENCIES = $(libs)

cmds = \
	cmd-append.c \
	cmd-capability.c \
	cmd-check.c \
	cmd-close.c \
	cmd-copy.c \
	cmd-create.c \
	cmd-delete.c \
	cmd-examine.c \
	cmd-expunge.c \
	cmd-fetch.c \
	cmd-idle.c \
	cmd-list.c \
	cmd-logout.c \
	cmd-lsub.c \
	cmd-namespace.c \
	cmd-noop.c \
	cmd-rename.c \
	cmd-search.c \
	cmd-select.c \
	cmd-sort.c \
	cmd-status.c \
	cmd-store.c \
	cmd-subscribe.c \
	cmd-thread.c \
	cmd-uid.c \
	cmd-unselect.c \
	cmd-unsubscribe.c

imap_SOURCES = \
	$(cmds) \
	client.c \
	commands.c \
	commands-util.c \
	imap-expunge.c \
	imap-fetch.c \
	imap-fetch-body.c \
	imap-messageset.c \
	imap-search.c \
	imap-sort.c \
	imap-sync.c \
	imap-thread.c \
	mail-storage-callbacks.c \
	main.c \
	namespace.c


noinst_HEADERS = \
	client.h \
	commands.h \
	commands-util.h \
	common.h \
	imap-expunge.h \
	imap-fetch.h \
	imap-messageset.h \
	imap-search.h \
	imap-sort.h \
	imap-sync.h \
	imap-thread.h \
	namespace.h