examples/Makefile.am
author Owen Taylor <otaylor@redhat.com>
Mon, 25 Feb 2008 23:13:58 +0100
changeset 343 35a19649d773
parent 310 8cfd2c340b9a
child 397 5e2ad0e0704a
permissions -rw-r--r--
Fixed reentrancy problem for async connections. Fixes first bit of LM-117. Patch adding reference to sockets in places where otherwise we can run into trouble where the user callback causes the socket to be freed. (Note that we actually double ref the socket in some cases ...both inside lm_socket_fail_with_error() and in the caller. This is, of course, harmless, and needed because the inner ref is necessary to handle the calls to _lm_socket_fail_with_error() from lm-proxy.c, the outer ref necessary because we reference socket after calling _lm_socket_fail_with_error()) committer: Mikael Hallendal <micke@imendio.com>

INCLUDES =                                         \
	-I$(top_srcdir)                            \
	$(LOUDMOUTH_CFLAGS)

noinst_PROGRAMS =                                  \
	test-lm                                    \
	test-http-proxy                            \
	test-tunnel                                \
	lm-send-async                              \
	lm-change-password                         \
	lm-register

test_lm_SOURCES = test-lm.c

test_http_proxy_SOURCES = test-http-proxy.c

test_tunnel_SOURCES = test-tunnel.c

lm_send_async_SOURCES = lm-send-async.c

lm_change_password_SOURCES = lm-change-password.c

lm_register_SOURCES = lm-register.c

LDADD =                                            \
	$(LOUDMOUTH_LIBS)                          \
	$(top_builddir)/loudmouth/libloudmouth-1.la