view libpurple/protocols/irc/Makefile.am @ 29785:4c266d9c17eb

propagate from branch 'im.pidgin.pidgin.mxit' (head ea208658fef692bd065f1fe03963913d86af2e41) to branch 'im.pidgin.pidgin' (head 4bcf3f0205f9363e2b1f2539d041ede1a6cf15c7)
author Mark Doliner <mark@kingant.net>
date Thu, 18 Feb 2010 09:20:29 +0000
parents e33a91b8b8f6
children
line wrap: on
line source

EXTRA_DIST = \
	Makefile.mingw

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

IRCSOURCES = \
	cmds.c \
	dcc_send.c \
	irc.c \
	irc.h \
	msgs.c \
	parse.c

AM_CFLAGS = $(st)

libirc_la_LDFLAGS = -module -avoid-version

if STATIC_IRC

st = -DPURPLE_STATIC_PRPL
noinst_LTLIBRARIES = libirc.la
libirc_la_SOURCES  = $(IRCSOURCES)
libirc_la_CFLAGS   = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES   = libirc.la
libirc_la_SOURCES = $(IRCSOURCES)
libirc_la_LIBADD  = $(GLIB_LIBS)

endif

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