From d852bddc484166a06dc1bdd8ff362179e51f5a52 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Tue, 29 Jun 2010 18:50:43 +0530 Subject: Use version 3.0 for evolution-.pc files while compiling with gtk3. Set dependencies right between gtk3 and gtk2 compilations --- Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index a69c68694e..03870ac474 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,24 @@ ACLOCAL_AMFLAGS=-I m4 pkgconfigdir = $(libdir)/pkgconfig +INTERFACE_VERSION=3.0 + +if ENABLE_GTK3 +%-$(INTERFACE_VERSION).pc: %.pc + cp $< $@ + +pkgconfig_DATA = \ + evolution-calendar-$(INTERFACE_VERSION).pc \ + evolution-mail-$(INTERFACE_VERSION).pc \ + evolution-plugin-$(INTERFACE_VERSION).pc \ + evolution-shell-$(INTERFACE_VERSION).pc +else pkgconfig_DATA = \ evolution-calendar.pc \ evolution-mail.pc \ evolution-plugin.pc \ evolution-shell.pc +endif EXTRA_DIST = \ AUTHORS \ -- cgit v1.2.3