view libpurple/protocols/jabber/Makefile.am @ 15886:53f9f4ebea7a

s/GAIM_STATIC_PRPL/PURPLE_STATIC_PRPL/ in prpl Makefiles
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 24 Mar 2007 17:55:55 +0000
parents e9c12873fae0
children 547c76fe2e7a
line wrap: on
line source

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

pkgdir = $(libdir)/libpurple

JABBERSOURCES = auth.c \
			  auth.h \
			  buddy.c \
			  buddy.h \
			  chat.c \
			  chat.h \
			  disco.c \
			  disco.h \
			  google.c \
			  google.h \
			  iq.c \
			  iq.h \
			  jabber.c \
			  jabber.h \
			  jutil.c \
			  jutil.h \
			  message.c \
			  message.h \
			  oob.c \
			  oob.h \
			  parser.c \
			  parser.h \
			  presence.c \
			  presence.h \
			  roster.c \
			  roster.h \
			  si.c \
			  si.h \
			  xdata.c \
			  xdata.h

AM_CFLAGS = $(st)

libjabber_la_LDFLAGS = -module -avoid-version

if STATIC_JABBER

st = -DPURPLE_STATIC_PRPL
noinst_LIBRARIES = libjabber.a
pkg_LTLIBRARIES =

libjabber_a_SOURCES = $(JABBERSOURCES)
libjabber_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES = libjabber.la
noinst_LIBRARIES =

libjabber_la_SOURCES = $(JABBERSOURCES)
libjabber_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS)

endif

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