view libpurple/protocols/toc/Makefile.am @ 16640:ee36e4bd84ca

merge of '0612cac578b7e81a69e733d921063a72a039a1d6' and '7d78d68b6f9eca6127d48a613bf7f6a31857f06a'
author William Ehlhardt <williamehlhardt@gmail.com>
date Sun, 29 Apr 2007 07:21:00 +0000
parents ce049678a67b
children 441945083737
line wrap: on
line source

EXTRA_DIST = \
		PROTOCOL \
		Makefile.mingw

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

TOCSOURCES = toc.c

AM_CFLAGS = $(st)

libtoc_la_LDFLAGS = -module -avoid-version

if STATIC_TOC

st = -DPURPLE_STATIC_PRPL
noinst_LIBRARIES = libtoc.a
libtoc_a_SOURCES = $(TOCSOURCES)
libtoc_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES   = libtoc.la
libtoc_la_SOURCES = $(TOCSOURCES)

endif

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