changeset 24055:635b7cd19110

The irssi wm does not need libpurple, and use relative path to libgnt.la so no change is needed when libgnt is built standalone.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 04 Sep 2008 22:45:17 +0000
parents 156913375b3f
children 5a96b250b36d
files finch/libgnt/wms/Makefile.am
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/wms/Makefile.am	Thu Sep 04 21:57:40 2008 +0000
+++ b/finch/libgnt/wms/Makefile.am	Thu Sep 04 22:45:17 2008 +0000
@@ -1,6 +1,7 @@
+wms = irssi.la
 if PURPLE_AVAILABLE
 # These custom wms depend on libpurple
-purple_wms = s.la irssi.la
+purple_wms = s.la
 else
 purple_wms =
 endif
@@ -9,6 +10,7 @@
 irssi_la_LDFLAGS         = -module -avoid-version
 
 plugin_LTLIBRARIES = \
+	$(wms) \
 	$(purple_wms)
  
 plugindir = $(libdir)/gnt
@@ -16,12 +18,12 @@
 irssi_la_SOURCES = irssi.c
 irssi_la_LIBADD =  \
   $(GLIB_LIBS) \
-  $(top_builddir)/finch/libgnt/libgnt.la
+  ../libgnt.la
 
 s_la_SOURCES = s.c
 s_la_LIBADD =  \
   $(GLIB_LIBS) \
-  $(top_builddir)/finch/libgnt/libgnt.la \
+  ../libgnt.la \
   $(top_builddir)/libpurple/libpurple.la
 
 EXTRA_DIST =