view libpurple/protocols/irc/Makefile.am @ 23473:60d3ba8c9047

propagate from branch 'im.pidgin.pidgin' (head 1d533cebad7c0dbda8ec8ebee1334d27dcae5f9c) to branch 'im.pidgin.soc.2008.themes' (head 6108b8f480f1589e219641d557022940902871cf)
author Gary Kramlich <grim@reaperworld.com>
date Mon, 30 Jun 2008 23:12:54 +0000
parents 342107309cf3
children 2b62300d2c19 315151da0dc6
line wrap: on
line source

EXTRA_DIST = Makefile.mingw

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

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

AM_CFLAGS = $(st)

libirc_la_LDFLAGS = -module -avoid-version

if STATIC_IRC

st = -DPURPLE_STATIC_PRPL
noinst_LIBRARIES = libirc.a
pkg_LTLIBRARIES =

libirc_a_SOURCES = $(IRCSOURCES)
libirc_a_CFLAGS  = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES = libirc.la
noinst_LIBRARIES =

libirc_la_SOURCES = $(IRCSOURCES)
libirc_la_LIBADD  = $(GLIB_LIBS)

endif

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