aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/Makefile.am26
2 files changed, 19 insertions, 12 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 712b92afbe..bae09c37ab 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-12 Matt Loper <matt@helixcode.com>
+
+ * Makefile.am: Modified to make the composer into a library, to be
+ used by the mail component.
+
2000-03-07 Ettore Perazzoli <ettore@helixcode.com>
* e-msg-composer.c (create_toolbar): Pass the composer as the data
diff --git a/composer/Makefile.am b/composer/Makefile.am
index f0499650c4..034b9ea1b2 100644
--- a/composer/Makefile.am
+++ b/composer/Makefile.am
@@ -4,6 +4,10 @@ glade_DATA = \
e-msg-composer-address-dialog.glade \
e-msg-composer-attachment.glade
+libcomposerincludedir = $(includedir)/composer
+
+lib_LTLIBRARIES = libcomposer.la
+
INCLUDES = \
-I$(top_srcdir) \
-I$(top_builddir) \
@@ -15,25 +19,23 @@ INCLUDES = \
CPPFLAGS = \
-DE_GLADEDIR=\"$(gladedir)\"
-bin_PROGRAMS = \
- evolution-msg-composer
-
-evolution_msg_composer_SOURCES = \
+libcomposer_la_SOURCES = \
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.c
+
+libcomposerinclude_HEADERS = \
+ e-msg-composer-address-dialog.h \
+ e-msg-composer-address-entry.h \
+ e-msg-composer-attachment-bar.h \
+ e-msg-composer-attachment.h \
e-msg-composer-hdrs.h \
- e-msg-composer.c \
- e-msg-composer.h \
- main.c
+ e-msg-composer.h
-evolution_msg_composer_LDADD = \
+## libcomposer_LDADD = \
$(top_builddir)/camel/libcamel.la \
$(BONOBO_GNOME_LIBS) \
$(GNOME_LIBDIR) \