view libpurple/protocols/myspace/Makefile.am @ 17275:f3ec513efb59

Parenthesize 5 * 1024, in case the macro expansion occurs within a complex expression.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Fri, 01 Jun 2007 05:10:01 +0000
parents 52357f6392a4
children 210f792efd7c
line wrap: on
line source

EXTRA_DIST = Makefile.mingw

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

SOURCES = myspace.c message.c

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)