view libpurple/plugins/tcl/Makefile.am @ 21467:3d70e3ec8a47

My changes to disable external port mapping exposed a flaw where the server socket was being closed immediately, before the client had read all the data - this caused the client to receive a RST and consequently error. The solution is to wait for the client to close the connection before closing the server connection. I'm surprised this hasn't been a problem elsewhere - it seems like it would be.
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 13 Nov 2007 06:27:27 +0000
parents 0dcd915899ae
children 315151da0dc6
line wrap: on
line source

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

tcl_la_LDFLAGS = -module -avoid-version

plugin_LTLIBRARIES = tcl.la

tcl_la_SOURCES = tcl.c tcl_glib.c tcl_glib.h tcl_cmds.c tcl_signals.c tcl_purple.h \
                 tcl_ref.c tcl_cmd.c

tcl_la_LIBADD = $(GLIB_LIBS) $(TCL_LIBS) $(TK_LIBS)

EXTRA_DIST = signal-test.tcl Makefile.mingw

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