From 24d00dba858a3a5c87092a3ac6c837c456cf4ca8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 10 Feb 2003 17:39:10 +0000 Subject: Split the ORBit IDL compilation rules to work properly with parallel * importers/Makefile.am: Split the ORBit IDL compilation rules to work properly with parallel makes. (BUILT_SOURCES): Add this. (CLEANFILES): Add this. * Makefile.am: Split the ORBit IDL compilation rules to work properly with parallel makes. (BUILT_SOURCES): Add $(IDL_GENERATED) here. (CLEANFILES): Remove from here. svn path=/trunk/; revision=19874 --- mail/ChangeLog | 12 ++++++++++++ mail/Makefile.am | 26 ++++++++++++++++---------- mail/importers/Makefile.am | 14 +++++++++++--- 3 files changed, 39 insertions(+), 13 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index f729943bff..4177c6b5e8 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,15 @@ +2003-02-10 Ettore Perazzoli + + * importers/Makefile.am: Split the ORBit IDL compilation rules to + work properly with parallel makes. + (BUILT_SOURCES): Add this. + (CLEANFILES): Add this. + + * Makefile.am: Split the ORBit IDL compilation rules to work + properly with parallel makes. + (BUILT_SOURCES): Add $(IDL_GENERATED) here. + (CLEANFILES): Remove from here. + 2003-02-10 Rodney Dawes * importers/Makefile.am: Add LDFLAGS to ported libs diff --git a/mail/Makefile.am b/mail/Makefile.am index 1da0cd5fb8..a7d2d36f02 100644 --- a/mail/Makefile.am +++ b/mail/Makefile.am @@ -39,22 +39,27 @@ INCLUDES = \ component_LTLIBRARIES = libevolution-mail.la -EVOLUTION_MAIL_CORBA_GENERATED = \ - Mailer.h \ - Mailer-common.c \ - Mailer-skels.c \ +EVOLUTION_MAIL_CORBA_GENERATED_H = \ + Mailer.h +EVOLUTION_MAIL_CORBA_GENERATED_C = \ + Mailer-common.c \ + Mailer-skels.c \ Mailer-stubs.c +EVOLUTION_MAIL_CORBA_GENERATED = $(EVOLUTION_MAIL_CORBA_GENERATED_C) $(EVOLUTION_MAIL_CORBA_GENERATED_H) SPELL_IDL = Spell.idl -IDL_GENERATED = \ - Spell.h \ +IDL_GENERATED_H = \ + Spell.h +IDL_GENERATED_C = \ Spell-common.c \ Spell-skels.c \ Spell-stubs.c +IDL_GENERATED = $(IDL_GENERATED_C) $(IDL_GENERATED_H) -$(IDL_GENERATED): $(SPELL_IDL) +$(IDL_GENERATED_H): $(SPELL_IDL) $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl $(IDL_INCLUDES) $(srcdir)/Spell.idl +$(IDL_GENERATED_C): $(IDL_GENERATED_H) Spell-impl.o: Spell.h @@ -186,8 +191,9 @@ schema_DATA = evolution-mail.schemas idl_DATA = Mailer.idl -$(EVOLUTION_MAIL_CORBA_GENERATED): Mailer.idl +$(EVOLUTION_MAIL_CORBA_GENERATED_H): Mailer.idl $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl $(IDL_INCLUDES) $(srcdir)/Mailer.idl +$(EVOLUTION_MAIL_CORBA_GENERATED_C): $(EVOLUTION_MAIL_CORBA_GENERATED_H) EXTRA_DIST = \ Mailer.idl \ @@ -219,5 +225,5 @@ endif dist-hook: cd $(distdir); rm -f $(BUILT_SOURCES) -BUILT_SOURCES = $(EVOLUTION_MAIL_CORBA_GENERATED) -CLEANFILES = $(BUILT_SOURCES) $(IDL_GENERATED) +BUILT_SOURCES = $(EVOLUTION_MAIL_CORBA_GENERATED) $(IDL_GENERATED) +CLEANFILES = $(BUILT_SOURCES) diff --git a/mail/importers/Makefile.am b/mail/importers/Makefile.am index 3512930506..87f9f6657d 100644 --- a/mail/importers/Makefile.am +++ b/mail/importers/Makefile.am @@ -27,14 +27,17 @@ libmbox_la_LDFLAGS = -avoid-version -module IDLS = \ $(top_srcdir)/mail/Mailer.idl -MAIL_GENERATED = \ - Mailer.h \ +MAIL_GENERATED_H = \ + Mailer.h +MAIL_GENERATED_C = \ Mailer-common.c \ Mailer-skels.c \ Mailer-stubs.c +MAIL_GENERATED = $(MAIL_GENERATED_C) $(MAIL_GENERATED_H) -$(MAIL_GENERATED): $(IDLS) +$(MAIL_GENERATED_H): $(IDLS) $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(top_srcdir)/mail/Mailer.idl +$(MAIL_GENERATED_C): $(MAIL_GENERATED_H) libevolution_netscape_importer_la_SOURCES = \ $(MAIL_GENERATED) \ @@ -96,6 +99,11 @@ server_DATA = $(server_in_files:.server.in.in=.server) %.server.in: %.server.in.in sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ + EXTRA_DIST = $(server_in_files) $(server_DATA) +BUILT_SOURCES = $(MAIL_GENERATED) +CLEANFILES = $(BUILT_SOURCES) + + @INTLTOOL_SERVER_RULE@ -- cgit v1.2.3