## CORBA stuff

IDLS = \
	$(top_srcdir)/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl

IDL_GENERATED = \
	Evolution-Addressbook-SelectNames.h		\
	Evolution-Addressbook-SelectNames-common.c	\
	Evolution-Addressbook-SelectNames-skels.c	\
	Evolution-Addressbook-SelectNames-stubs.c

Evolution-Addressbook-SelectNames-impl.o: Evolution-Addressbook-SelectNames.h

$(IDL_GENERATED): $(IDLS)
	$(ORBIT_IDL) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl`	\
		$(top_srcdir)/addressbook/gui/component/select-names/Evolution-Addressbook-SelectNames.idl

##

gladedir = $(datadir)/evolution/glade

glade_DATA =					\
	e-msg-composer-address-dialog.glade	\
	e-msg-composer-address-dialog.glade.h	\
	e-msg-composer-attachment.glade		\
	e-msg-composer-attachment.glade.h

libcomposerincludedir = $(includedir)/composer

noinst_LTLIBRARIES = libcomposer.la
libcomposer_la_LDFLAGS = -static

INCLUDES =								\
	-I$(top_srcdir)							\
	-I$(top_builddir)						\
	-I$(top_srcdir)/widgets						\
	-I$(top_builddir)/widgets					\
	-I$(top_srcdir)/camel					 	\
	-I$(top_builddir)/camel					 	\
	-I$(top_builddir)/addressbook/gui/component/select-names	\
	-I$(top_builddir)/shell						\
	$(EXTRA_GNOME_CFLAGS)						\
	$(GNOME_INCLUDEDIR)						\
	$(BONOBO_GNOME_CFLAGS)						\
	$(GTKHTML_CFLAGS)						\
	$(UNICODE_CFLAGS)						\
	-DG_LOG_DOMAIN=\"composer\"

CPPFLAGS =					\
	-DE_GLADEDIR=\"$(gladedir)\"

libcomposer_la_SOURCES = 			\
	$(IDL_GENERATED)			\
	e-msg-composer-address-dialog.c		\
	e-msg-composer-address-dialog.h		\
	e-msg-composer-address-entry.c		\
	e-msg-composer-address-entry.h		\
	e-msg-composer-attachment-bar.c		\
	e-msg-composer-attachment-bar.h		\
	e-msg-composer-attachment.c		\
	e-msg-composer-attachment.h		\
	e-msg-composer-hdrs.c			\
	e-msg-composer-hdrs.h			\
	e-msg-composer-select-file.c		\
	e-msg-composer-select-file.h		\
	e-msg-composer.c			\
	e-msg-composer.h			\
	e-icon-list.c				\
	e-icon-list.h

EXTRA_DIST =					\
	$(glade_DATA)				\
	ChangeLog