- using de/serialization functionality
[oweals/gnunet.git] / src / stream / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = --coverage -O0
9   XLIB = -lgcov
10 endif
11
12 lib_LTLIBRARIES = libgnunetstream.la
13
14 libgnunetstream_la_SOURCES = \
15   stream_api.c stream_protocol.h
16 libgnunetstream_la_LIBADD = \
17  $(top_builddir)/src/mesh/libgnunetmesh.la \
18  $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
19 libgnunetstream_la_LDFLAGS = \
20   $(GN_LIB_LDFLAGS)
21
22 check_PROGRAMS = \
23  test_stream_local 
24 # test_stream_halfclose
25
26 EXTRA_DIST = test_stream_local.conf
27
28 if ENABLE_TEST_RUN
29 TESTS = $(check_PROGRAMS)
30 endif
31
32 test_stream_local_SOURCES = \
33  test_stream_local.c
34 test_stream_local_LDADD = \
35  $(top_builddir)/src/stream/libgnunetstream.la \
36  $(top_builddir)/src/util/libgnunetutil.la  
37
38 #test_stream_halfclose_SOURCES = \
39 # test_stream_halfclose.c
40 #test_stream_halfclose_LDADD = \
41 # $(top_builddir)/src/stream/libgnunetstream.la \
42 # $(top_builddir)/src/util/libgnunetutil.la  
43