view libpurple/protocols/silc/Makefile.am @ 27993:429fce11f244

merge of '5a2bb37da0d5add24e122a13a827437ecae61ad3' and 'c50b70f39d25c72517b6b9125278c4446137057a'
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 21 Jul 2009 23:45:49 +0000
parents e33a91b8b8f6
children
line wrap: on
line source

EXTRA_DIST = \
	Makefile.mingw \
	README \
	TODO

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

SILCSOURCES = \
	buddy.c \
	chat.c \
	ft.c \
	ops.c \
	pk.c \
	silc.c \
	silcpurple.h \
	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_LTLIBRARIES       = libsilcpurple.la
libsilcpurple_la_SOURCES = $(SILCSOURCES)
libsilcpurple_la_CFLAGS  = $(AM_CFLAGS)
libsilcpurple_la_LIBADD  = $(SILC_LIBS)

else

st = $(SILC_CFLAGS)
pkg_LTLIBRARIES          = libsilcpurple.la
libsilcpurple_la_SOURCES = $(SILCSOURCES)
libsilcpurple_la_LIBADD  = $(GLIB_LIBS) $(SILC_LIBS)

endif

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