view libpurple/protocols/irc/Makefile.am @ 24027:d9d31ff2e7f8

merge of 'b341289e9194564cc4f7250228a66b854c2ec3c5' and 'd566b6f77a48d607fad872411a4fcd2d9f86c558'
author Kevin Stange <kevin@simguy.net>
date Thu, 11 Sep 2008 20:26:21 +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)