view libpurple/protocols/jabber/Makefile.am @ 24944:8bfa1f01f035

merge of 'a4aa548f12b557cc419b1567e6902eb124d0cf06' and 'c2b27ebb3760df28827d2fd1b391386a894cf952'
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sun, 19 Oct 2008 04:40:59 +0000
parents bd598b606ca4 4d752d07a126
children bee5ab815291
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 \
			  chat.c \
			  chat.h \
			  data.c \
			  data.h \
			  disco.c \
			  disco.h \
			  google.c \
			  google.h \
			  iq.c \
			  iq.h \
			  jabber.c \
			  jabber.h \
			  jingle/jingle.c \
			  jingle/jingle.h \
			  jingle/content.c \
			  jingle/content.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 \
			  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_LIBRARIES = libjabber.a
pkg_LTLIBRARIES =

libjabber_a_SOURCES = $(JABBERSOURCES) libxmpp.c
libjabber_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES = libjabber.la libxmpp.la
noinst_LIBRARIES =

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) \
	$(FARSIGHT_CFLAGS) \
	$(GSTREAMER_CFLAGS) \
	$(LIBXML_CFLAGS)