view libpurple/protocols/myspace/Makefile.am @ 23023:0f94ed7e362b

applied changes from 7c685eb0aa3fae374b80d8431c870353a2f412d0 through 5e69fb5f354ed74d6deb6f4d1f6aff46afd8a072
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 19 Jun 2008 03:10:06 +0000
parents 8f3f166e0a39
children 60f5abc6cf0c 2b62300d2c19
line wrap: on
line source

EXTRA_DIST = Makefile.mingw

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

MSIMSOURCES = markup.c \
	  markup.h \
	  message.c \
	  message.h \
	  myspace.c \
	  myspace.h \
	  persist.h \
	  session.c \
	  session.h \
	  user.c \
	  user.h \
	  zap.c \
	  zap.h

AM_CFLAGS = $(st)

libmyspace_la_LDFLAGS = -module -avoid-version

if STATIC_MYSPACE

st = -DPURPLE_STATIC_PRPL
noinst_LIBRARIES     = libmyspace.a
libmyspace_a_SOURCES = $(MSIMSOURCES)
libmyspace_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES       = libmyspace.la
libmyspace_la_SOURCES = $(MSIMSOURCES)
libmyspace_la_LIBADD  = $(GLIB_LIBS)

endif

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