view libpurple/protocols/jabber/Makefile.am @ 27577:6d26258e9f1d

propagate from branch 'im.pidgin.pidgin' (head ac87c285c7056f86005dc157b9870745de471f74) to branch 'im.pidgin.cpw.darkrain42.roster' (head 976d874853ac9745edb77d3cf107b92ebc037c10)
author Paul Aurich <paul@darkrain42.org>
date Mon, 06 Jul 2009 04:37:41 +0000
parents 3912f55a1633
children e5fdfff98aa9
line wrap: on
line source

EXTRA_DIST = \
	Makefile.mingw \
	win32/posix.uname.c \
	win32/utsname.h

pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)

JABBERSOURCES = auth.c \
			  auth.h \
			  buddy.c \
			  buddy.h \
			  bosh.c \
			  bosh.h \
			  chat.c \
			  chat.h \
			  data.c \
			  data.h \
			  disco.c \
			  disco.h \
			  google.c \
			  google.h \
			  ibb.c \
			  ibb.h \
			  iq.c \
			  iq.h \
			  jabber.c \
			  jabber.h \
			  jingle/jingle.c \
			  jingle/jingle.h \
			  jingle/content.c \
			  jingle/content.h \
			  jingle/iceudp.c \
			  jingle/iceudp.h \
			  jingle/rawudp.c \
			  jingle/rawudp.h \
			  jingle/rtp.c \
			  jingle/rtp.h \
			  jingle/session.c \
			  jingle/session.h \
			  jingle/transport.c \
			  jingle/transport.h \
			  jutil.c \
			  jutil.h \
			  message.c \
			  message.h \
			  oob.c \
			  oob.h \
			  parser.c \
			  parser.h \
			  ping.c \
			  ping.h \
			  presence.c \
			  presence.h \
			  roster.c \
			  roster.h \
			  si.c \
			  si.h \
			  xdata.c \
			  xdata.h \
			  caps.c \
			  caps.h \
			  adhoccommands.c \
			  adhoccommands.h \
			  pep.c \
			  pep.h \
			  useravatar.c \
			  useravatar.h \
			  usermood.c \
			  usermood.h \
			  usernick.c \
			  usernick.h \
			  usertune.c \
			  usertune.h

AM_CFLAGS = $(st)

libxmpp_la_LDFLAGS = -module -avoid-version

if STATIC_JABBER

st = -DPURPLE_STATIC_PRPL
noinst_LTLIBRARIES   = libjabber.la
libjabber_la_SOURCES = $(JABBERSOURCES) libxmpp.c
libjabber_la_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES      = libjabber.la libxmpp.la
libjabber_la_SOURCES = $(JABBERSOURCES)
libjabber_la_LIBADD  = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS)

libxmpp_la_SOURCES = libxmpp.c
libxmpp_la_LIBADD = libjabber.la

endif

AM_CPPFLAGS = \
	-I$(top_srcdir)/libpurple \
	-I$(top_builddir)/libpurple \
	$(DEBUG_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(LIBXML_CFLAGS)