X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fstream%2FMakefile.am;h=8a5e141ab7591af1ec224e928356df520dbfade5;hb=9a38c9af01fadf13c594126dcd2c9e74d586bfbd;hp=2fe70913ee479ee05ade0c04273d15983062cca5;hpb=cc8cf22281f1f9d77fb498664ad8f847dccee17e;p=oweals%2Fgnunet.git diff --git a/src/stream/Makefile.am b/src/stream/Makefile.am index 2fe70913e..8a5e141ab 100644 --- a/src/stream/Makefile.am +++ b/src/stream/Makefile.am @@ -15,20 +15,35 @@ libgnunetstream_la_SOURCES = \ stream_api.c stream_protocol.h libgnunetstream_la_LIBADD = \ $(top_builddir)/src/mesh/libgnunetmesh.la \ + $(top_builddir)/src/lockmanager/libgnunetlockmanager.la \ $(top_builddir)/src/util/libgnunetutil.la $(XLIB) libgnunetstream_la_LDFLAGS = \ - $(GN_LIB_LDFLAGS) + $(GN_LIB_LDFLAGS) \ + -version-info 0:0:0 + +if HAVE_BENCHMARKS + STREAM_BENCHMARKS = \ + perf_stream_api +endif check_PROGRAMS = \ test_stream_2peers \ test_stream_2peers_halfclose \ - test_stream_local + test_stream_local \ + test_stream_big \ + test_stream_sequence_wraparound \ + $(STREAM_BENCHMARKS) EXTRA_DIST = test_stream_local.conf if ENABLE_TEST_RUN -TESTS = test_stream_2peers \ - test_stream_2peers_halfclose +TESTS = \ + test_stream_2peers \ + test_stream_2peers_halfclose \ + test_stream_local \ + test_stream_big \ + test_stream_sequence_wraparound \ + $(STREAM_BENCHMARKS) endif test_stream_2peers_SOURCES = \ @@ -36,18 +51,41 @@ test_stream_2peers_SOURCES = \ test_stream_2peers_LDADD = \ $(top_builddir)/src/stream/libgnunetstream.la \ $(top_builddir)/src/util/libgnunetutil.la \ - $(top_builddir)/src/testing/libgnunettesting.la + $(top_builddir)/src/testbed/libgnunettestbed.la + test_stream_2peers_halfclose_SOURCES = \ test_stream_2peers_halfclose.c test_stream_2peers_halfclose_LDADD = \ $(top_builddir)/src/stream/libgnunetstream.la \ $(top_builddir)/src/util/libgnunetutil.la \ - $(top_builddir)/src/testing/libgnunettesting.la + $(top_builddir)/src/testbed/libgnunettestbed.la test_stream_local_SOURCES = \ test_stream_local.c test_stream_local_LDADD = \ $(top_builddir)/src/stream/libgnunetstream.la \ $(top_builddir)/src/util/libgnunetutil.la \ - $(top_builddir)/src/testing/libgnunettesting.la \ No newline at end of file + $(top_builddir)/src/testing/libgnunettesting.la + +test_stream_big_SOURCES = \ + test_stream_big.c +test_stream_big_LDADD = \ + $(top_builddir)/src/stream/libgnunetstream.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(top_builddir)/src/testing/libgnunettesting.la + +test_stream_sequence_wraparound_SOURCES = \ + test_stream_sequence_wraparound.c +test_stream_sequence_wraparound_LDADD = \ + $(top_builddir)/src/stream/libgnunetstream.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(top_builddir)/src/testing/libgnunettesting.la + +perf_stream_api_SOURCES = \ + perf_stream_api.c +perf_stream_api_LDADD = \ + $(top_builddir)/src/stream/libgnunetstream.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(top_builddir)/src/testing/libgnunettesting.la \ + $(top_builddir)/src/testbed/libgnunettestbed.la \ No newline at end of file