qulogic/libgnt

Merge GPlugin branch

2015-04-27, Jorge VillaseƱor
a4f5f49a64d2
Merge GPlugin branch

I have been using this code for few weeks now so it is at least as stable as default
wms = irssi.la
if PURPLE_AVAILABLE
# These custom wms depend on libpurple
purple_wms = s.la
else
purple_wms =
endif
s_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
irssi_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
plugin_LTLIBRARIES = \
$(wms) \
$(purple_wms)
plugindir = $(libdir)/gnt
irssi_la_SOURCES = irssi.c
irssi_la_LIBADD = \
$(GLIB_LIBS) \
../libgnt.la
s_la_SOURCES = s.c
s_la_LIBADD = \
$(GLIB_LIBS) \
../libgnt.la \
$(top_builddir)/libpurple/libpurple.la
EXTRA_DIST =
AM_CPPFLAGS = \
-I$(top_srcdir)/libpurple \
-I$(top_srcdir)/finch \
-I$(top_srcdir)/finch/libgnt \
$(DEBUG_CFLAGS) \
$(GLIB_CFLAGS) \
$(GPLUGIN_CFLAGS) \
$(GNT_CFLAGS) \
$(PLUGIN_CFLAGS)