regex profiler fixes
[oweals/gnunet.git] / src / stream / Makefile.am
index 8132b0207dc3da57a2372c2140f9f54cb65065fa..8a5e141ab7591af1ec224e928356df520dbfade5 100644 (file)
@@ -18,15 +18,21 @@ libgnunetstream_la_LIBADD = \
  $(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_new \
  test_stream_2peers_halfclose \
  test_stream_local \
  test_stream_big \
- test_stream_sequence_wraparound
+ test_stream_sequence_wraparound \
+ $(STREAM_BENCHMARKS)
 
 EXTRA_DIST = test_stream_local.conf
 
@@ -37,29 +43,23 @@ TESTS = \
  test_stream_local \
  test_stream_big \
  test_stream_sequence_wraparound \
- test_stream_2peers_new
+ $(STREAM_BENCHMARKS)
 endif
 
 test_stream_2peers_SOURCES = \
  test_stream_2peers.c
 test_stream_2peers_LDADD = \
- $(top_builddir)/src/stream/libgnunetstream.la \
- $(top_builddir)/src/util/libgnunetutil.la \
- $(top_builddir)/src/testing_old/libgnunettesting_old.la
-
-test_stream_2peers_new_SOURCES = \
- test_stream_2peers_new.c
-test_stream_2peers_new_LDADD = \
  $(top_builddir)/src/stream/libgnunetstream.la \
  $(top_builddir)/src/util/libgnunetutil.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_old/libgnunettesting_old.la
+ $(top_builddir)/src/testbed/libgnunettestbed.la
 
 test_stream_local_SOURCES = \
  test_stream_local.c
@@ -81,3 +81,11 @@ 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