aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/Makefile.am
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-31 09:17:33 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-31 09:17:33 +0800
commit3b9ea2d060d2705563950fb063532aff54b1a08c (patch)
treefa33ff724c4833f9158d9b63397c1500c2a2daea /my-evolution/Makefile.am
parentb5ee9fc4243e93781e2061f42f1b0af62696b499 (diff)
downloadgsoc2013-evolution-3b9ea2d060d2705563950fb063532aff54b1a08c.tar.gz
gsoc2013-evolution-3b9ea2d060d2705563950fb063532aff54b1a08c.tar.zst
gsoc2013-evolution-3b9ea2d060d2705563950fb063532aff54b1a08c.zip
[Some initial broken support for building components as shlib. Mostly
just a playground for testing the idea.] * Makefile.am: Added support for the ENABLE_SHLIB_COMPONENTS conditional. * GNOME_Evolution_Summary.oaf.in.in: New. * e-summary-mail.c (update_folder_cb): Protect against summary->mail being NULL. * component-factory.c: Add a shlib factory. (create_component): Get a @factory and @data. (component_factory_init): Actually make it use a BonoboGenericFactory again. * configure.in: Add argument `--enable-shlib-components'. New substitutions OAF_SHLIB_LOCATION, OAF_SHLIB_PREFIX, OAF_SHLIB_SUFFIX. svn path=/trunk/; revision=16299
Diffstat (limited to 'my-evolution/Makefile.am')
-rw-r--r--my-evolution/Makefile.am123
1 files changed, 74 insertions, 49 deletions
diff --git a/my-evolution/Makefile.am b/my-evolution/Makefile.am
index d178a0edb0..7faacbc288 100644
--- a/my-evolution/Makefile.am
+++ b/my-evolution/Makefile.am
@@ -1,5 +1,3 @@
-bin_PROGRAMS = evolution-executive-summary
-
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/shell \
@@ -26,42 +24,44 @@ MAIL_GENERATED = \
$(MAIL_GENERATED): $(IDLS)
$(ORBIT_IDL) -I $(srcdir) `$(GNOME_CONFIG) --cflags idl` $(top_srcdir)/mail/Mail.idl
-evolution_executive_summary_SOURCES = \
+summary_sources = \
$(MAIL_GENERATED) \
- component-factory.c \
- component-factory.h \
- e-cell-tri.c \
- e-cell-tri.h \
- e-summary.c \
- e-summary.h \
- e-summary-calendar.c \
- e-summary-calendar.h \
- e-summary-factory.c \
- e-summary-factory.h \
- e-summary-mail.c \
- e-summary-mail.h \
- e-summary-offline-handler.c \
- e-summary-offline-handler.h \
- e-summary-preferences.c \
- e-summary-preferences.h \
- e-summary-rdf.c \
- e-summary-rdf.h \
- e-summary-shown.c \
- e-summary-shown.h \
- e-summary-table.c \
- e-summary-table.h \
- e-summary-tasks.c \
- e-summary-tasks.h \
- e-summary-type.h \
- e-summary-weather.c \
- e-summary-weather.h \
- main.c \
- metar.c \
- metar.h \
- my-evolution-html.h \
+ component-factory.c \
+ component-factory.h \
+ e-cell-tri.c \
+ e-cell-tri.h \
+ e-summary.c \
+ e-summary.h \
+ e-summary-calendar.c \
+ e-summary-calendar.h \
+ e-summary-factory.c \
+ e-summary-factory.h \
+ e-summary-mail.c \
+ e-summary-mail.h \
+ e-summary-offline-handler.c \
+ e-summary-offline-handler.h \
+ e-summary-preferences.c \
+ e-summary-preferences.h \
+ e-summary-rdf.c \
+ e-summary-rdf.h \
+ e-summary-shown.c \
+ e-summary-shown.h \
+ e-summary-table.c \
+ e-summary-table.h \
+ e-summary-tasks.c \
+ e-summary-tasks.h \
+ e-summary-type.h \
+ e-summary-weather.c \
+ e-summary-weather.h \
+ metar.c \
+ metar.h \
+ my-evolution-html.h \
weather.h
-evolution_executive_summary_LDADD = \
+summary_exe_sources = \
+ main.c
+
+summary_libs = \
$(top_builddir)/calendar/gui/alarm-notify/libalarm.a \
$(top_builddir)/shell/libeshell.la \
$(top_builddir)/widgets/misc/libemiscwidgets.a \
@@ -73,30 +73,55 @@ evolution_executive_summary_LDADD = \
$(top_builddir)/libwombat/libwombat.la \
$(EVOLUTION_EXECUTIVE_SUMMARY_LIBS)
+if ENABLE_SHLIB_COMPONENTS
+
+lib_LTLIBRARIES = libevolution-executive-summary.la
+
+libevolution_executive_summary_la_SOURCES = \
+ $(summary_sources)
+
+libevolution_executive_summary_la_LIBADD = \
+ $(summary_libs)
+
+else
+
+bin_PROGRAMS = evolution-executive-summary
+
+evolution_executive_summary_SOURCES = \
+ $(summary_sources) \
+ $(summary_exe_sources)
+
+evolution_executive_summary_LDADD = \
+ $(summary_libs)
+
+endif
+
Locationdir = $(datadir)/evolution
Location_DATA = Locations
+oaf_files = GNOME_Evolution_Summary.oaf
+oaf_in_files = $(oaf_files:.oaf=.oaf.in)
+oaf_in_in_files = $(oaf_files:oaf=.oaf.in.in)
+
oafdir = $(datadir)/oaf
-oaf_in_files = GNOME_Evolution_Summary.oaf.in
-oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
+oaf_DATA = $(oaf_files)
gladedir = $(datadir)/evolution/glade
glade_DATA = my-evolution.glade
@XML_I18N_MERGE_OAF_RULE@
-EXTRA_DIST = $(oaf_in_files) $(oaf_DATA) $(Location_DATA) $(glade_DATA) Locations.h Location-translation-script
-
-if ENABLE_PURIFY
-PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-
-all-local: evolution-executive-summary.pure
-
-evolution-executive-summary.pure: evolution-executive-summary
- @rm -f evolution-executive-summary.pure
- $(PLINK) $(evolution_executive_summary_OBJECTS) $(evolution_executive_summary_LDADD) $(LIBS)
-
-endif
+EXTRA_DIST = \
+ $(summary_sources) \
+ $(summary_exe_sources) \
+ $(oaf_files) \
+ $(oaf_in_files) \
+ $(oaf_in_in_files) \
+ $(oaf_DATA) \
+ $(Location_DATA) \
+ $(glade_DATA) \
+ Locations.h \
+ Location-translation-script
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
13-evolution/commit/po?h=EVOLUTION_3_9_5&id=242775d1108a1ff41781c133b12ccb7f8f4156c1'>Updated Spanish translationHector Garcia2001-01-312-1083/+1199 * Updated Norwegian translation.Kjartan Maraas2001-01-303-1277/+1413 * Added initial Slovak translationStano Visnovsky2001-01-302-0/+7253 * Updated russian translation.Valek Frob2001-01-292-560/+362 * Updated Spanish translationHector Garcia2001-01-282-475/+446 * Someone forgot to update this when removing a file it uses. This wasJulian Missig2001-01-282-1/+5 * Updated brazilian portuguese translationGustavo Maciel Dias Vieira2001-01-272-4049/+4541 * Updated Spanish translationHector Garcia2001-01-272-232/+253 * Updated russian translation.Valek Frob2001-01-262-282/+314 * Updated Slovenian translationAndraz Tori2001-01-261-1/+0 * Updated Slovenian translationAndraz Tori2001-01-261-293/+328 * Updated Spanish translationHector Garcia2001-01-252-2289/+3065 * Tons of fixes by Andras and Emese (spelling, terminology, headers)Szabolcs Ban2001-01-242-27/+32 * Updated svMartin Norback2001-01-242-2198/+2863 * Updated russian translation.Valek Frob2001-01-232-318/+264 * compile new stuffJP Rosevear2001-01-231-0/+1 * Updated Slovenian translationAndraz Tori2001-01-231-260/+313 * Updated Slovenian translationAndraz Tori2001-01-231-45/+45 * Updated Slovenian translationAndraz Tori2001-01-231-3288/+4567 * Update for filter code movesDan Winship2001-01-232-2/+5 * Updates evolution/po/da.po gal/po/da.po galeon/po/da.po gconf/po/da.poKenneth Christiansen2001-01-221-816/+948 * Updated Slovenian translationAndraz Tori2001-01-221-4390/+3733 * Updated Japanese translation.Akira Tagoh2001-01-211-323/+2697 * updateKenneth Christiansen2001-01-201-1979/+2716 * Updated Japanese translation.Akira Tagoh2001-01-202-353/+277 * Updated russian translation.Valek Frob2001-01-192-2005/+2774 * Updated Norwegian (bokmål) translation. Removed old script.Kjartan Maraas2001-01-183-2195/+3031 * Removed addressbook/gui/widgets/test-minicard-view.c,Dave Camp2001-01-1827-71839/+55549 * Updated russian translation.Valek Frob2001-01-182-1421/+2061 * updateMartin Norback2001-01-181-131/+129 * Updated sv.poMartin Norback2001-01-172-671/+962 * updateKenneth Christiansen2001-01-171-1202/+1399 * 2001-01.16 Kenneth Christiansen <kenneth@gnu.org>Kenneth Christiansen2001-01-173-0/+36 * Updates bonobo/po/da.po evolution/po/da.po gal/po/da.po gimp/po/da.poKenneth Christiansen2001-01-171-922/+930 * Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.Jacob Leach2001-01-171-1/+1 * UpdateMartin Norback2001-01-172-743/+691 * UpdateMartin Norback2001-01-162-213/+206 * Updated italian translation from Clara Tattoni <clara.tattoni@libero.it>Christopher R. Gabriel2001-01-162-403/+370 * Updated Spanish translationHector Garcia2001-01-161-10/+12 * Updated Spanish translationHector Garcia2001-01-162-421/+609 * Updated italian translation from Clara Tattoni <clara.tattoni@libero.it>Christopher R. Gabriel2001-01-152-1822/+1511 * updaKenneth Christiansen2001-01-151-1442/+1732 * Updated Swedish translation.Richard Hult2001-01-152-1558/+1684 * Updated Spanish translationHector Garcia2001-01-112-1152/+1310 * Updated Japanese translation.Akira Tagoh2001-01-112-3572/+877 * Updated French translation.Christophe Merlet2001-01-102-647/+768 * Added all the new source files and removed the old ones, yadda yadda.Jeffrey Stedfast2001-01-102-2/+9 * Removed .oaf.in files until the whole of Evolution uses the xml-i18n-toolsFederico Mena Quintero2001-01-102-3/+5 * Updated Spanish translation.Hector Garcia2001-01-102-2024/+1461 * Updated russian translation.Valek Frob2001-01-092-1468/+899 * Updated Norwegian (bokmål) translation.Kjartan Maraas2001-01-0922-31164/+42827 * Updates evolution/po/da.po gtranslator/po/da.po pong/po/da.poKenneth Christiansen2001-01-081-63/+64 * Updated some stringsBenedikt Roth2001-01-072-1472/+1842 * Updated French translation.Christophe Merlet2001-01-072-1729/+2157 * Updates eog/po/da.po evolution/po/da.po gal/po/da.po gernel/po/da.poKenneth Christiansen2001-01-071-309/+523 * Committed updated ko.poFatih Demir2001-01-062-1843/+1758 * Updated Finnish translation (fi.po).jjranta2001-01-062-1435/+1521 * Remove non-existent fileJP Rosevear2001-01-052-1/+4 * Updated Swedish translation.Christian Rose2001-01-042-646/+722 * Updates evolution/po/da.po gal/po/da.po galeon/po/da.po gernel/po/da.poKenneth Christiansen2001-01-041-61/+47 * UpdateKenneth Christiansen2001-01-041-731/+818 * Updated Ukrainian translationYuri Syrota2001-01-031-520/+469 * Updated Spanish translation.Hector Garcia2001-01-032-756/+840 * add addressbook-config.c, addressbook-storage.c, andChris Toshok2001-01-032-0/+8 * remove all the stale addressbook entries.Michael Meeks2001-01-022-3/+4 * Updated Swedish translation.Christian Rose2000-12-282-254/+276 * Translations dr-genius/po/da.po gfloppy/po/da.po gtkhtml/po/da.poKenneth Christiansen2000-12-271-172/+200 * Updated Norwegian translation.Kjartan Maraas2000-12-252-219/+245 * Updates achtung/po/da.po bug-buddy/po/da.po control-center/po/da.poKenneth Christiansen2000-12-231-1658/+2241 * Updated Spanish translationHector Garcia2000-12-232-85/+108 * Remove deleted fileJP Rosevear2000-12-232-1/+4 * Updated Norwegian translation.Kjartan Maraas2000-12-222-51/+58 * Updated Swedish translation.Christian Rose2000-12-222-82/+93 * Updated russian translation.Valek Frob2000-12-212-68/+76 * Updated Ukrainian translationYuri Syrota2000-12-201-7/+6 * Updated Ukrainian translationYuri Syrota2000-12-201-3/+3 * Updated Ukrainian translationYuri Syrota2000-12-201-100/+102 * translations from keldKenneth Christiansen2000-12-201-49/+52 * Translations from keldKenneth Christiansen2000-12-201-388/+537 * Updated Norwegian translation.Kjartan Maraas2000-12-202-461/+509 * Updated Ukrainian translationYuri Syrota2000-12-20