view finch/libgnt/wms/Makefile.am @ 22345:eb03ec8ea666

merge of 'a4c768e127679f724617481cff7d907dab10463f' and 'aea32e6ae9d3ad9d53703140a0895ce8965769e7'
author Ka-Hing Cheung <khc@hxbc.us>
date Wed, 27 Feb 2008 04:36:23 +0000
parents f63e38e33811
children 315151da0dc6 635b7cd19110
line wrap: on
line source

if PURPLE_AVAILABLE
# These custom wms depend on libpurple
purple_wms = s.la irssi.la
else
purple_wms =
endif

s_la_LDFLAGS             = -module -avoid-version
irssi_la_LDFLAGS         = -module -avoid-version

plugin_LTLIBRARIES = \
	$(purple_wms)
 
plugindir = $(libdir)/gnt

irssi_la_SOURCES = irssi.c
irssi_la_LIBADD =  \
  $(GLIB_LIBS) \
  $(top_builddir)/finch/libgnt/libgnt.la

s_la_SOURCES = s.c
s_la_LIBADD =  \
  $(GLIB_LIBS) \
  $(top_builddir)/finch/libgnt/libgnt.la \
  $(top_builddir)/libpurple/libpurple.la

EXTRA_DIST = 

AM_CPPFLAGS = \
	-DDATADIR=\"$(datadir)\" \
	-I$(top_srcdir)/libpurple \
	-I$(top_srcdir)/finch \
	-I$(top_srcdir)/finch/libgnt \
	$(DEBUG_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(GNT_CFLAGS) \
	$(PLUGIN_CFLAGS)