From 533a6b0240c10755b9c1e47ab20611f289dac412 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Aug 2011 21:52:16 +0200 Subject: tcp_connect: generic library for establishing TCP connections --- Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 900f0b421..87eaf5af0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -299,6 +299,7 @@ src_mpd_SOURCES = \ src/client_message.c \ src/client_subscribe.h \ src/client_subscribe.c \ + src/tcp_connect.c src/tcp_connect.h \ src/tcp_socket.c src/tcp_socket.h \ src/udp_server.c src/udp_server.h \ src/server_socket.c \ @@ -904,6 +905,7 @@ noinst_PROGRAMS = \ $(C_TESTS) \ test/read_conf \ test/run_resolver \ + test/run_tcp_connect \ test/run_input \ test/dump_playlist \ test/run_decoder \ @@ -932,6 +934,15 @@ test_run_resolver_LDADD = $(MPD_LIBS) \ test_run_resolver_SOURCES = test/run_resolver.c \ src/resolver.c +test_run_tcp_connect_CPPFLAGS = $(AM_CPPFLAGS) +test_run_tcp_connect_LDADD = $(MPD_LIBS) \ + $(GLIB_LIBS) +test_run_tcp_connect_SOURCES = test/run_tcp_connect.c \ + src/io_thread.c src/io_thread.h \ + src/fd_util.c \ + src/resolver.c \ + src/tcp_connect.c + test_run_input_CPPFLAGS = $(AM_CPPFLAGS) \ $(ARCHIVE_CFLAGS) \ $(INPUT_CFLAGS) -- cgit v1.2.3