view libpurple/protocols/silc/Makefile.am @ 24152:6baa6a829a90

merge of 'a0b951af90f1a780445f21b51b22e57f6a3f699e' and 'ec7dddcd8ff1500f8e51eeeb226a1d478fb519c7'
author Marcus Lundblad <ml@update.uu.se>
date Wed, 01 Oct 2008 22:25:47 +0000
parents 441945083737
children 2b62300d2c19 de4914b5e45c
line wrap: on
line source

EXTRA_DIST = README TODO Makefile.mingw

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

SILCSOURCES = silc.c silcpurple.h buddy.c chat.c ft.c ops.c pk.c util.c wb.c wb.h

AM_CFLAGS = $(st)

libsilcpurple_la_LDFLAGS = -module -avoid-version

if STATIC_SILC

st = -DPURPLE_STATIC_PRPL $(SILC_CFLAGS)
noinst_LIBRARIES = libsilcpurple.a
pkg_LTLIBRARIES =

libsilcpurple_a_SOURCES = $(SILCSOURCES)
libsilcpurple_a_CFLAGS  = $(AM_CFLAGS)
libsilcpurple_a_LIBADD  = $(SILC_LIBS)

else

st = $(SILC_CFLAGS)
pkg_LTLIBRARIES = libsilcpurple.la
noinst_LIBRARIES =

libsilcpurple_la_SOURCES = $(SILCSOURCES)
libsilcpurple_la_LIBADD  = $(GLIB_LIBS) $(SILC_LIBS)

endif

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