view libpurple/protocols/silc10/Makefile.am @ 24668:290bd7ef475a

merge of 'b777f3c2f3b9991830f31a5572d2bb0b030c2600' and 'b8d6086aef6b2e65d86e8ce60220ab7f460d5079'
author Richard Laager <rlaager@wiktel.com>
date Fri, 12 Dec 2008 20:35:12 +0000
parents 2b62300d2c19
children
line wrap: on
line source

EXTRA_DIST = \
	Makefile.mingw \
	README \
	TODO

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_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)