aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Makefile.am
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-13 12:53:48 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-13 12:53:48 +0800
commit7ba831860dfa5e96d9d19a0b5907d5237e60596a (patch)
tree50cc600ccb20b0f5204d559e3ab31f189ad718c8 /shell/Makefile.am
parentcc240fcffe0ecf84e83428b2f05bc08259396ffe (diff)
downloadgsoc2013-evolution-7ba831860dfa5e96d9d19a0b5907d5237e60596a.tar
gsoc2013-evolution-7ba831860dfa5e96d9d19a0b5907d5237e60596a.tar.gz
gsoc2013-evolution-7ba831860dfa5e96d9d19a0b5907d5237e60596a.tar.bz2
gsoc2013-evolution-7ba831860dfa5e96d9d19a0b5907d5237e60596a.tar.lz
gsoc2013-evolution-7ba831860dfa5e96d9d19a0b5907d5237e60596a.tar.xz
gsoc2013-evolution-7ba831860dfa5e96d9d19a0b5907d5237e60596a.tar.zst
gsoc2013-evolution-7ba831860dfa5e96d9d19a0b5907d5237e60596a.zip
Build a `libeshell.a' library in `shell/' so that we don't need to
link to the shell's object files directly from the components anymore. (That was really gross.) svn path=/trunk/; revision=3546
Diffstat (limited to 'shell/Makefile.am')
-rw-r--r--shell/Makefile.am76
1 files changed, 44 insertions, 32 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 4d605d5a15..149046412c 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -1,39 +1,58 @@
SUBDIRS = glade
-imagesdir = $(datadir)/images/evolution
+INCLUDES = \
+ -I$(top_srcdir)/widgets \
+ -I$(top_srcdir)/widgets/misc \
+ -I$(top_srcdir) \
+ $(BONOBO_GNOME_CFLAGS) \
+ -DEVOLUTION_IMAGES=\""$(datadir)/images/evolution"\" \
+ -DEVOLUTION_VERSION=\""$(VERSION)"\" \
+ -DEVOLUTION_LOCALEDIR=\""$(datadir)/locale"\" \
+ -DEVOLUTION_DATADIR=\""$(datadir)"\" \
+ -DEVOLUTION_GLADEDIR=\"$(datadir)/evolution/glade\" \
+ -DG_LOG_DOMAIN=\"evolution-shell\"
-bin_PROGRAMS = evolution
+EXTRA_DIST = $(IDLS)
-INCLUDES = \
- -I$(top_srcdir)/widgets \
- -I$(top_srcdir)/widgets/misc \
- -I$(top_srcdir) \
- $(BONOBO_GNOME_CFLAGS) \
- -DEVOLUTION_IMAGES=\""$(imagesdir)"\" \
- -DEVOLUTION_VERSION=\""$(VERSION)"\" \
- -DEVOLUTION_LOCALEDIR=\""$(datadir)/locale"\" \
- -DEVOLUTION_DATADIR=\""$(datadir)"\" \
- -DG_LOG_DOMAIN=\"evolution-shell\"
+CLEANFILES = $(IDL_GENERATED)
+
+# CORBA stuff
+
+IDLS = \
+ Evolution.idl \
+ Evolution-Shell.idl \
+ Evolution-ShellComponent.idl \
+ Evolution-Storage.idl
-EVOLUTION_CORBA_GENERATED = \
+IDL_GENERATED = \
Evolution.h \
Evolution-common.c \
Evolution-skels.c \
Evolution-stubs.c
-CLEANFILES = $(EVOLUTION_CORBA_GENERATED)
+Evolution-impl.o: Evolution.h
-IDLS = \
- Evolution.idl \
- Evolution-Shell.idl \
- Evolution-ShellComponent.idl \
- Evolution-Storage.idl
+$(IDL_GENERATED): $(IDLS)
+ $(ORBIT_IDL) -I$(datadir)/idl -I`$(GNOME_CONFIG) --datadir`/idl \
+ -I$(srcdir) $(srcdir)/Evolution.idl
+
+# Shell library
-CPPFLAGS = \
- -DE_GLADEDIR=\"$(datadir)/evolution/glade\"
+noinst_LIBRARIES = \
+ libeshell.a
+
+libeshell_a_SOURCES = \
+ $(IDL_GENERATED) \
+ evolution-shell-component.c \
+ evolution-shell-component.h \
+ evolution-storage.c \
+ evolution-storage.h
+
+# Evolution executable
+
+bin_PROGRAMS = evolution
evolution_SOURCES = \
- $(EVOLUTION_CORBA_GENERATED) \
e-component-registry.c \
e-component-registry.h \
e-corba-storage-registry.c \
@@ -77,18 +96,10 @@ evolution_SOURCES = \
e-storage.h \
evolution-shell-component-client.c \
evolution-shell-component-client.h \
- evolution-shell-component.c \
- evolution-shell-component.h \
- evolution-storage.c \
- evolution-storage.h \
main.c
-Evolution-impl.o: Evolution.h
-
-$(EVOLUTION_CORBA_GENERATED): $(IDLS)
- $(ORBIT_IDL) -I$(datadir)/idl -I`$(GNOME_CONFIG) --datadir`/idl -I$(srcdir) $(srcdir)/Evolution.idl
-
evolution_LDADD = \
+ libeshell.a \
$(top_builddir)/widgets/shortcut-bar/libshortcut-bar.a \
$(top_builddir)/widgets/e-paned/libepaned.a \
$(top_builddir)/widgets/e-text/libetext.a \
@@ -96,9 +107,10 @@ evolution_LDADD = \
$(top_builddir)/e-util/libeutil.la \
$(BONOBO_GNOME_LIBS)
-EXTRA_DIST = $(IDLS)
+# Purify support
if ENABLE_PURIFY
+
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
all-local: evolution.pure