view libpurple/protocols/myspace/Makefile.am @ 20008:65e12a6f00ca

Ship zap.h for MySpaceIM to pass distcheck (and allow dist tarball to work)
author Kevin Stange <kevin@simguy.net>
date Fri, 14 Sep 2007 04:26:52 +0000
parents bddc6a6fddf0
children ba649e93098b
line wrap: on
line source

EXTRA_DIST = Makefile.mingw

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

SOURCES = 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 = $(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)