gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19664 - in gnunet: . src/stream


From: gnunet
Subject: [GNUnet-SVN] r19664 - in gnunet: . src/stream
Date: Fri, 3 Feb 2012 10:10:39 +0100

Author: grothoff
Date: 2012-02-03 10:10:39 +0100 (Fri, 03 Feb 2012)
New Revision: 19664

Added:
   gnunet/src/stream/Makefile.am
Modified:
   gnunet/configure.ac
Log:
-adding build system basics for stream library

Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2012-02-02 23:55:18 UTC (rev 19663)
+++ gnunet/configure.ac 2012-02-03 09:10:39 UTC (rev 19664)
@@ -886,6 +886,7 @@
 src/pt/Makefile
 src/statistics/Makefile
 src/statistics/statistics.conf
+src/stream/Makefile
 src/template/Makefile
 src/testing/Makefile
 src/topology/Makefile

Added: gnunet/src/stream/Makefile.am
===================================================================
--- gnunet/src/stream/Makefile.am                               (rev 0)
+++ gnunet/src/stream/Makefile.am       2012-02-03 09:10:39 UTC (rev 19664)
@@ -0,0 +1,43 @@
+INCLUDES = -I$(top_srcdir)/src/include
+
+if MINGW
+  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
+endif
+
+if USE_COVERAGE
+  AM_CFLAGS = --coverage -O0
+  XLIB = -lgcov
+endif
+
+lib_LTLIBRARIES = libgnunetstream.la
+
+libgnunetstream_la_SOURCES = \
+  stream_api.c stream_protocol.h
+libgnunetstream_la_LIBADD = \
+ $(top_builddir)/src/mesh/libgnunetmesh.la \
+ $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
+libgnunetstream_la_LDFLAGS = \
+  $(GN_LIB_LDFLAGS)
+
+check_PROGRAMS = \
+ test_stream_local \
+ test_stream_halfclose
+
+EXTRA_DIST = test_stream_local.conf
+
+if ENABLE_TEST_RUN
+TESTS = $(check_PROGRAMS)
+endif
+
+test_stream_local_SOURCES = \
+ test_stream_local.c
+test_stream_local_LDADD = \
+ $(top_builddir)/src/stream/libgnunetstream.la \
+ $(top_builddir)/src/util/libgnunetutil.la  
+
+test_stream_halfclose_SOURCES = \
+ test_stream_halfclose.c
+test_stream_halfclose_LDADD = \
+ $(top_builddir)/src/stream/libgnunetstream.la \
+ $(top_builddir)/src/util/libgnunetutil.la  
+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]