view libpurple/protocols/myspace/Makefile.am @ 19518:e2b7dadac415

merge of 'ee4f8f7ebf5f6057974f66b75c8b59c199e44ae0' and 'f832db29755469f6ba20426b58a55928365406c3'
author Mark Doliner <mark@kingant.net>
date Wed, 29 Aug 2007 01:46:45 +0000
parents bddc6a6fddf0
children 65e12a6f00ca 315151da0dc6
line wrap: on
line source

EXTRA_DIST = Makefile.mingw

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

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

AM_CFLAGS = $(st)

libmyspace_la_LDFLAGS = -module -avoid-version

if STATIC_MYSPACE

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

else

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

endif

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