aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-29 02:17:04 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-29 02:17:04 +0800
commitff047f4ed5f3fae2072505ca5b14d35a6e1bdea7 (patch)
treee595cadb2187b603b96fc9bb7be2242c9bf5760d /shell
parentef0b77769db54f4c9165be337579775e6e3c6660 (diff)
downloadgsoc2013-evolution-ff047f4ed5f3fae2072505ca5b14d35a6e1bdea7.tar
gsoc2013-evolution-ff047f4ed5f3fae2072505ca5b14d35a6e1bdea7.tar.gz
gsoc2013-evolution-ff047f4ed5f3fae2072505ca5b14d35a6e1bdea7.tar.bz2
gsoc2013-evolution-ff047f4ed5f3fae2072505ca5b14d35a6e1bdea7.tar.lz
gsoc2013-evolution-ff047f4ed5f3fae2072505ca5b14d35a6e1bdea7.tar.xz
gsoc2013-evolution-ff047f4ed5f3fae2072505ca5b14d35a6e1bdea7.tar.zst
gsoc2013-evolution-ff047f4ed5f3fae2072505ca5b14d35a6e1bdea7.zip
Make this work with parallel make as well.
svn path=/trunk/; revision=19671
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/importer/Makefile.am27
2 files changed, 24 insertions, 7 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index ba2e9eadf7..cfbafb07ae 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,9 @@
2003-01-28 Ettore Perazzoli <ettore@ximian.com>
+ * importer/Makefile.am: Make this work with parallel make as well.
+
+2003-01-28 Ettore Perazzoli <ettore@ximian.com>
+
* Makefile.am: Use a little trick for the IDL compilation so that
it works with parallel makes.
diff --git a/shell/importer/Makefile.am b/shell/importer/Makefile.am
index d0fff6253e..94f532db3c 100644
--- a/shell/importer/Makefile.am
+++ b/shell/importer/Makefile.am
@@ -9,22 +9,34 @@ INCLUDES = \
privlib_LTLIBRARIES = libevolution-importer.la
+
+# IDL stuff
+
IDLS = GNOME_Evolution_Importer.idl
-IDL_GENERATED = \
- GNOME_Evolution_Importer.h \
+IDL_GENERATED_H = \
+ GNOME_Evolution_Importer.h
+
+IDL_GENERATED_C = \
GNOME_Evolution_Importer-common.c \
GNOME_Evolution_Importer-skels.c \
GNOME_Evolution_Importer-stubs.c
+IDL_GENERATED = $(IDL_GENERATED_H) $(IDL_GENERATED_C)
+
GNOME_Evolution_Importer-impl.o: GNOME_Evolution_Importer.h
-$(IDL_GENERATED): $(IDLS)
- $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) \
- $(srcdir)/GNOME_Evolution_Importer.idl
+$(IDL_GENERATED_H): $(IDLS)
+ $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(srcdir)/GNOME_Evolution_Importer.idl
+
+$(IDL_GENERATED_C): $(IDL_GENERATED_H)
+ @true
idl_DATA = $(IDLS)
+
+# Component
+
libevolution_importerincludedir = $(includedir)/evolution-$(BASE_VERSION)/importer
libevolution_importer_la_SOURCES = \
$(IDL_GENERATED) \
@@ -51,8 +63,9 @@ glade_DATA = import.glade
EXTRA_DIST = $(glade_DATA) $(IDLS)
-BUILT_SOURCES=$(IDL_GENERATED)
-CLEANFILES = $(BUILT_SOURCES)
+BUILT_SOURCES= $(IDL_GENERATED_H)
+CLEANFILES = $(IDL_GENERATED)
+
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)