view libpurple/protocols/toc/Makefile.am @ 17916:855a767cd9a9

merge of 'a84459ea45867e3dae6ae81f29e4291b3d550190' and 'd2567879c8ffdda7878c7f1748e8abadeea38e50'
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 02 Jun 2007 07:31:01 +0000
parents 441945083737
children 2b62300d2c19
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 \
	-I$(top_builddir)/libpurple \
	$(GLIB_CFLAGS) \
	$(DEBUG_CFLAGS)