EXTRA_DIST = PROTOCOL

pkgdir = $(libdir)/gaim

CFLAGS += -I\$(top_srcdir)/src $(st) $(DEBUG_CFLAGS)
libirc_la_LDFLAGS = -module -avoid-version

if STATIC_IRC

st = -DSTATIC
pkg_LTLIBRARIES =
noinst_LIBRARIES = libirc.a

libirc_a_SOURCES = irc.c

libirc_a_CFLAGS = $(AM_CFLAGS)

else

st =
pkg_LTLIBRARIES = libirc.la
noinst_LIBRARIES =

libirc_la_SOURCES = irc.c

endif
