Mercurial > pidgin.yaz
view libpurple/protocols/yahoo/Makefile.am @ 24292:8282911d5e17
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
to detect when we're still using deprecated functions internally (and by
extension, when we've deprecated something we shouldn't have). In the
course of developing this changeset, I fixed a few such cases.
Given that the plan is to switch from PURPLE_HIDE_STRUCTS to
PURPLE_DISABLE_DEPRECATED as each struct is fully dealt with, this will
also ensure we have no regressions on the struct hiding work.
Deprecated functions are still available to the respective .c file, to
avoid missing prototype errors. Also, Perl and DBus undef the
*_DISABLE_DEPRECATED defines as appropriate so that deprecated functions
will still be exported to Perl plugins and via DBus. (Otherwise, we'd
be breaking backwards compatibility.)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 30 Oct 2008 22:40:49 +0000 |
parents | c9aeb5a53d4d |
children | 2b62300d2c19 315151da0dc6 |
line wrap: on
line source
EXTRA_DIST = \ Makefile.mingw pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) YAHOOSOURCES = \ util.c \ yahoo.c \ yahoo.h \ yahoochat.h \ yahoochat.c \ yahoo_aliases.c \ yahoo_aliases.h \ yahoo_auth.c \ yahoo_auth.h \ yahoo_crypt.h \ yahoo_crypt.c \ 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 if STATIC_YAHOO st = -DPURPLE_STATIC_PRPL noinst_LIBRARIES = libyahoo.a libyahoo_a_SOURCES = $(YAHOOSOURCES) libyahoo_a_CFLAGS = $(AM_CFLAGS) else st = pkg_LTLIBRARIES = libyahoo.la libyahoo_la_SOURCES = $(YAHOOSOURCES) libyahoo_la_LIBADD = $(GLIB_LIBS) endif AM_CPPFLAGS = \ -I$(top_srcdir)/libpurple \ -I$(top_builddir)/libpurple \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS)