sg_socket.cxx \
sg_socket_udp.cxx
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir)
-else
INCLUDES = -I$(top_srcdir)
-endif
-noinst_PROGRAMS = decode_binobj socktest lowtest
+noinst_PROGRAMS = decode_binobj socktest lowtest tcp_server tcp_client
+
+tcp_server_SOURCES = tcp_server.cxx
+
+tcp_server_LDADD = \
+ libsgio.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a \
+ $(top_builddir)/simgear/bucket/libsgbucket.a \
+ $(top_builddir)/simgear/misc/libsgmisc.a \
+ -lplibnet -lplibul -lz \
+ $(network_LIBS) \
+ $(base_LIBS)
+
+tcp_client_SOURCES = tcp_client.cxx
+
+tcp_client_LDADD = \
+ libsgio.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a \
+ $(top_builddir)/simgear/bucket/libsgbucket.a \
+ $(top_builddir)/simgear/misc/libsgmisc.a \
+ -lplibnet -lplibul -lz \
+ $(network_LIBS) \
+ $(base_LIBS)
socktest_SOURCES = socktest.cxx
socktest_LDADD = \
- $(top_builddir)/simgear/bucket/libsgbucket.a \
- $(top_builddir)/simgear/io/libsgio.a \
+ libsgio.a \
$(top_builddir)/simgear/debug/libsgdebug.a \
+ $(top_builddir)/simgear/bucket/libsgbucket.a \
$(top_builddir)/simgear/misc/libsgmisc.a \
- $(top_builddir)/simgear/xml/libsgxml.a \
- -lz
+ -lplibnet -lplibul -lz \
+ $(network_LIBS) \
+ $(base_LIBS)
lowtest_SOURCES = lowtest.cxx
lowtest_LDADD = \
- $(top_builddir)/simgear/io/libsgio.a
+ libsgio.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a \
+ $(top_builddir)/simgear/bucket/libsgbucket.a \
+ $(top_builddir)/simgear/misc/libsgmisc.a \
+ $(base_LIBS) -lz
decode_binobj_SOURCES = decode_binobj.cxx
decode_binobj_LDADD = \
- $(top_builddir)/simgear/io/libsgio.a \
- $(top_builddir)/simgear/bucket/libsgbucket.a \
- $(top_builddir)/simgear/misc/libsgmisc.a \
- $(top_builddir)/simgear/debug/libsgdebug.a \
- $(top_builddir)/simgear/xml/libsgxml.a \
- -lz
+ libsgio.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a \
+ $(top_builddir)/simgear/bucket/libsgbucket.a \
+ $(top_builddir)/simgear/misc/libsgmisc.a \
+ $(base_LIBS) -lz