changeset 11435:1a2eaba2bc13

[gaim-migrate @ 13672] Some autotools tweak from Kevin Stange to let autogen.sh pass with automake 1.9 committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sun, 04 Sep 2005 02:03:48 +0000
parents f191b5bc199b
children f2ccf809ad91
files plugins/Makefile.am plugins/musicmessaging/Makefile.am src/protocols/sametime/Makefile.am src/protocols/sametime/meanwhile/Makefile.am
diffstat 4 files changed, 17 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/Makefile.am	Sat Sep 03 15:01:56 2005 +0000
+++ b/plugins/Makefile.am	Sun Sep 04 02:03:48 2005 +0000
@@ -12,9 +12,17 @@
 TCL_DIR = tcl
 endif
 
+if ENABLE_DBUS
+DBUS_LTLIB = dbus-example.la
+
+# Only use music messaging if dbus is enabled
+MUSICMESSAGING_DIR = musicmessaging
+endif
+
 SUBDIRS = \
 	docklet $(GEVOLUTION_DIR) gestures \
-	$(PERL_DIR) ssl $(TCL_DIR) ticker
+	$(PERL_DIR) ssl $(TCL_DIR) ticker \
+	$(MUSICMESSAGING_DIR)
 
 plugindir = $(libdir)/gaim
 
@@ -43,7 +51,8 @@
 	relnot.la        \
 	spellchk.la      \
 	statenotify.la   \
-	timestamp.la
+	timestamp.la     \
+	$(DBUS_LTLIB)
 
 autorecon_la_SOURCES    = autorecon.c
 
@@ -60,13 +69,9 @@
 
 if ENABLE_DBUS
 
-# Only use music messaging if dbus is enabled
-SUBDIRS += musicmessaging
-
 CLEANFILES              = dbus-example-bindings.c
 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS)
 dbus_example_la_SOURCES = dbus-example.c
-plugin_LTLIBRARIES     += dbus-example.la
 
 .PHONY: always
 
--- a/plugins/musicmessaging/Makefile.am	Sat Sep 03 15:01:56 2005 +0000
+++ b/plugins/musicmessaging/Makefile.am	Sun Sep 04 02:03:48 2005 +0000
@@ -3,7 +3,7 @@
 
 plugindir = $(libdir)/gaim
 
-musicmessaging_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
+musicmessaging_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) $(DBUS_LIBS)
 
 if PLUGINS
 
@@ -18,7 +18,6 @@
 
 
 CLEANFILES              = music-messaging-bindings.c
-musicmessaging_la_LDFLAGS += $(DBUS_LIBS)
 
 .PHONY: always
 
--- a/src/protocols/sametime/Makefile.am	Sat Sep 03 15:01:56 2005 +0000
+++ b/src/protocols/sametime/Makefile.am	Sun Sep 04 02:03:48 2005 +0000
@@ -8,21 +8,21 @@
 
 noinst_HEADERS = sametime.h
 
-sametime_SOURCES = sametime.c
+SAMETIMESOURCES = sametime.c
 
 
 if STATIC_SAMETIME
 
 st = -DGAIM_STATIC_PRPL
 noinst_LIBRARIES   = libsametime.a
-libsametime_a_SOURCES = $(sametime_SOURCES)
+libsametime_a_SOURCES = $(SAMETIMESOURCES)
 libsametime_a_CFLAGS  = $(AM_CFLAGS)
 
 else
 
 st =
 pkg_LTLIBRARIES     = libsametime.la
-libsametime_la_SOURCES = $(sametime_SOURCES)
+libsametime_la_SOURCES = $(SAMETIMESOURCES)
 
 
 endif
--- a/src/protocols/sametime/meanwhile/Makefile.am	Sat Sep 03 15:01:56 2005 +0000
+++ b/src/protocols/sametime/meanwhile/Makefile.am	Sun Sep 04 02:03:48 2005 +0000
@@ -17,7 +17,7 @@
 	mw_util.h 
 
 
-meanwhile_SOURCES = \
+MEANWHILESOURCES = \
 	channel.c \
 	cipher.c \
 	common.c \
@@ -40,7 +40,7 @@
 	$(DEBUG_CFLAGS) \
 	-I$(top_srcdir)/src 
 
-libmeanwhile_la_SOURCES = $(meanwhile_SOURCES)
+libmeanwhile_la_SOURCES = $(MEANWHILESOURCES)
 st =
 noinst_LTLIBRARIES = libmeanwhile.la