view libpurple/protocols/yahoo/Makefile.am @ 27679:0ec880685f5f

Change a crapton of our Yahoo! packets to use the session ID we're assigned during login. This makes us behave more like the official client, which saves and uses the session ID for the life of the login session, and it doesn't hurt anything that I've been able to see.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 18 Jul 2009 03:36:33 +0000
parents 35cb9aa9eb2f
children
line wrap: on
line source

EXTRA_DIST = \
	Makefile.mingw

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

YAHOOSOURCES = \
	libymsg.c \
	libymsg.h \
	util.c \
	yahoochat.h \
	yahoochat.c \
	yahoo_aliases.c \
	yahoo_aliases.h \
	yahoo_doodle.h \
	yahoo_doodle.c \
	yahoo_filexfer.h \
	yahoo_filexfer.c \
	yahoo_friend.h \
	yahoo_friend.c \
	yahoo_packet.h \
	yahoo_packet.c \
	yahoo_picture.c \
	yahoo_picture.h \
	yahoo_profile.c \
	ycht.c \
	ycht.h

AM_CFLAGS = $(st)

libyahoo_la_LDFLAGS = -module -avoid-version
libyahoojp_la_LDFLAGS = -module -avoid-version

if STATIC_YAHOO

st = -DPURPLE_STATIC_PRPL
noinst_LTLIBRARIES  = libymsg.la
libymsg_la_SOURCES = $(YAHOOSOURCES) libyahoo.c libyahoojp.c
libymsg_la_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES     = libymsg.la libyahoo.la libyahoojp.la

libymsg_la_SOURCES = $(YAHOOSOURCES)
libymsg_la_LIBADD  = $(GLIB_LIBS)

libyahoo_la_SOURCES = libyahoo.c
libyahoo_la_LIBADD = libymsg.la

libyahoojp_la_SOURCES = libyahoojp.c
libyahoojp_la_LIBADD = libymsg.la

endif

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