view libpurple/protocols/yahoo/Makefile.am @ 27519:35cb9aa9eb2f

zac from the Adium team noticed that the static prpl foo for yahoo was no longer working after my changes to split the prpl. It traced back to lack of magic in configure.ac and a typo in yahoo's Makefile.am. This corrects those problems.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Mon, 13 Jul 2009 02:13:51 +0000
parents 31534ae3406a
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)