changeset 16765:441945083737

Now that version.h is a generated source file, we need to add -I$(top_builddir)/libpurple to CFLAGS to allow building in a separate directory from the source directory. Fixes part of #566
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 May 2007 12:54:47 +0000
parents d9377d6b9e7c
children 91d0e590e635
files libpurple/Makefile.am libpurple/plugins/Makefile.am libpurple/plugins/perl/Makefile.am libpurple/plugins/ssl/Makefile.am libpurple/plugins/tcl/Makefile.am libpurple/protocols/bonjour/Makefile.am libpurple/protocols/gg/Makefile.am libpurple/protocols/irc/Makefile.am libpurple/protocols/jabber/Makefile.am libpurple/protocols/msn/Makefile.am libpurple/protocols/novell/Makefile.am libpurple/protocols/oscar/Makefile.am libpurple/protocols/qq/Makefile.am libpurple/protocols/sametime/Makefile.am libpurple/protocols/silc/Makefile.am libpurple/protocols/simple/Makefile.am libpurple/protocols/toc/Makefile.am libpurple/protocols/yahoo/Makefile.am libpurple/protocols/zephyr/Makefile.am pidgin/plugins/cap/Makefile.am pidgin/plugins/crazychat/Makefile.am pidgin/plugins/gestures/Makefile.am pidgin/plugins/gevolution/Makefile.am pidgin/plugins/perl/Makefile.am pidgin/plugins/ticker/Makefile.am
diffstat 25 files changed, 27 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -131,6 +131,8 @@
 	xmlnode.h \
 	whiteboard.h
 
+BUILT_SOURCES = version.h
+
 if ENABLE_DBUS
 
 CLEANFILES = \
--- a/libpurple/plugins/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/plugins/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -129,6 +129,7 @@
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(DEBUG_CFLAGS) \
 	$(GLIB_CFLAGS) \
 	$(PLUGIN_CFLAGS) \
--- a/libpurple/plugins/perl/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/plugins/perl/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -151,6 +151,7 @@
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_srcdir) \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(DEBUG_CFLAGS) \
 	$(GLIB_CFLAGS) \
 	$(PLUGIN_CFLAGS) \
--- a/libpurple/plugins/ssl/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/plugins/ssl/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -28,6 +28,7 @@
 	-DDATADIR=\"$(datadir)\" \
 	-DLIBDIR=\"$(libdir)/libpurple\" \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(DEBUG_CFLAGS) \
 	$(GLIB_CFLAGS) \
 	$(PLUGIN_CFLAGS)
--- a/libpurple/plugins/tcl/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/plugins/tcl/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -15,6 +15,7 @@
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_srcdir) \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(DEBUG_CFLAGS) \
 	$(GLIB_CFLAGS) \
 	$(PLUGIN_CFLAGS) \
--- a/libpurple/protocols/bonjour/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/bonjour/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -37,6 +37,7 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS) \
 	$(HOWL_CFLAGS)
--- a/libpurple/protocols/gg/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/gg/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -72,6 +72,7 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(INTGG_CFLAGS) \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/irc/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/irc/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -30,5 +30,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/jabber/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/jabber/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -68,6 +68,7 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(DEBUG_CFLAGS) \
 	$(GLIB_CFLAGS) \
 	$(LIBXML_CFLAGS)
--- a/libpurple/protocols/msn/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/msn/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -85,5 +85,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/novell/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/novell/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -52,5 +52,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(DEBUG_CFLAGS) \
 	$(GLIB_CFLAGS)
--- a/libpurple/protocols/oscar/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/oscar/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -79,5 +79,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/qq/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/qq/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -93,6 +93,7 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-DVERSION=\"$(VERSION)\" \
 	-DQQ_BUDDY_ICON_DIR=\"$(datadir)/pixmaps/purple/buddy_icons/qq\" \
 	$(DEBUG_CFLAGS) \
--- a/libpurple/protocols/sametime/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/sametime/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -34,7 +34,8 @@
 AM_CFLAGS = \
 	$(GLIB_CFLAGS) $(MEANWHILE_CFLAGS) \
 	$(DEBUG_CFLAGS) \
-	-I$(top_srcdir)/libpurple
+	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple
 
 
 AM_CPPFLAGS = \
--- a/libpurple/protocols/silc/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/silc/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -31,5 +31,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/simple/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/simple/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -31,5 +31,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/toc/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/toc/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -27,5 +27,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/yahoo/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/yahoo/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -49,5 +49,6 @@
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	$(GLIB_CFLAGS) \
 	$(DEBUG_CFLAGS)
--- a/libpurple/protocols/zephyr/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/libpurple/protocols/zephyr/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -102,6 +102,7 @@
 AM_CPPFLAGS = \
 	-I$(top_srcdir) \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/libpurple/protocols \
 	-DCONFDIR=\"$(confdir)\" \
 	$(GLIB_CFLAGS) \
--- a/pidgin/plugins/cap/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/pidgin/plugins/cap/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -21,6 +21,7 @@
 	-DDATADIR=\"$(datadir)\" \
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/pidgin \
 	$(DEBUG_CFLAGS) \
 	$(GTK_CFLAGS) \
--- a/pidgin/plugins/crazychat/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/pidgin/plugins/crazychat/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -33,6 +33,7 @@
 
 AM_CPPFLAGS = -DPURPLE_PLUGINS \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/pidgin \
 	$(GTK_CFLAGS) \
 	$(GTKGLEXT_CFLAGS) \
--- a/pidgin/plugins/gestures/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/pidgin/plugins/gestures/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -21,6 +21,7 @@
 	-DDATADIR=\"$(datadir)\" \
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/pidgin \
 	$(DEBUG_CFLAGS) \
 	$(GTK_CFLAGS)
--- a/pidgin/plugins/gevolution/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/pidgin/plugins/gevolution/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -23,6 +23,7 @@
 	-DDATADIR=\"$(datadir)\" \
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/pidgin \
 	$(EVOLUTION_ADDRESSBOOK_CFLAGS) \
 	$(DEBUG_CFLAGS) \
--- a/pidgin/plugins/perl/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/pidgin/plugins/perl/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -98,6 +98,7 @@
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_srcdir) \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/pidgin \
 	$(DEBUG_CFLAGS) \
 	$(GTK_CFLAGS) \
--- a/pidgin/plugins/ticker/Makefile.am	Tue May 01 19:32:22 2007 +0000
+++ b/pidgin/plugins/ticker/Makefile.am	Thu May 03 12:54:47 2007 +0000
@@ -22,6 +22,7 @@
 	-DDATADIR=\"$(datadir)\" \
 	-DVERSION=\"$(VERSION)\" \
 	-I$(top_srcdir)/libpurple \
+	-I$(top_builddir)/libpurple \
 	-I$(top_srcdir)/pidgin \
 	$(DEBUG_CFLAGS) \
 	$(GTK_CFLAGS)