changeset 27484:a50d0b8e3b7d

Really fix build when srcdir = builddir and srcdir != builddir. Thanks Paul! What a ridiculous name for a cat!
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 08 Jul 2009 04:06:19 +0000
parents 12edccab4944
children 6b11903c87c8
files libpurple/Makefile.am
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/Makefile.am	Tue Jul 07 04:32:58 2009 +0000
+++ b/libpurple/Makefile.am	Wed Jul 08 04:06:19 2009 +0000
@@ -92,6 +92,9 @@
 	xmlnode.c \
 	whiteboard.c
 
+purple_builtsources = \
+	marshallers.c
+
 purple_coreheaders = \
 	account.h \
 	accountopt.h \
@@ -248,18 +251,17 @@
 bin_SCRIPTS = purple-remote purple-send purple-send-async purple-url-handler
 
 BUILT_SOURCES = $(purple_builtheaders) \
+	$(purple_builtsources) \
 	dbus-bindings.c \
 	dbus-signals.c \
 	dbus-types.c \
 	dbus-types.h \
-	marshallers.c \
-	marshallers.h \
 	purple-client-bindings.c \
 	purple-client-bindings.h
 
 else
 
-BUILT_SOURCES = $(purple_builtheaders)
+BUILT_SOURCES = $(purple_builtheaders) $(purple_builtsources)
 
 endif
 
@@ -267,6 +269,7 @@
 
 libpurple_la_SOURCES = \
 	$(purple_coresources) \
+	$(purple_builtsources) \
 	$(dbus_sources)
 
 noinst_HEADERS= \