plugin not receiving messages
[oweals/gnunet.git] / src / dv / 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 plugindir = $(libdir)/gnunet
13
14 lib_LTLIBRARIES = libgnunetdv.la
15
16 plugin_LTLIBRARIES = libgnunet_plugin_transport_dv.la
17
18 libgnunetdv_la_SOURCES = \
19   dv_api.c dv.h
20 libgnunetdv_la_LIBADD = \
21   $(top_builddir)/src/util/libgnunetutil.la \
22   $(top_builddir)/src/core/libgnunetcore.la \
23   $(GN_LIBINTL) $(XLIB)
24 libgnunetdv_la_LDFLAGS = \
25   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
26   -version-info 0:0:0
27
28
29 bin_PROGRAMS = \
30  gnunet-service-dv
31
32 gnunet_service_dv_SOURCES = \
33  gnunet-service-dv.c         
34 gnunet_service_dv_LDADD = \
35   $(top_builddir)/src/dv/libgnunetdv.la \
36   $(top_builddir)/src/hello/libgnunethello.la \
37   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
38   $(top_builddir)/src/util/libgnunetutil.la \
39   $(GN_LIBINTL)
40
41 libgnunet_plugin_transport_dv_la_SOURCES = \
42   plugin_transport_dv.c
43 libgnunet_plugin_transport_dv_la_LIBADD = \
44   $(top_builddir)/src/hello/libgnunethello.la \
45   $(top_builddir)/src/dv/libgnunetdv.la \
46   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
47   $(top_builddir)/src/util/libgnunetutil.la 
48 libgnunet_plugin_transport_dv_la_LDFLAGS = \
49  $(GN_PLUGIN_LDFLAGS)
50  
51  
52 check_PROGRAMS = \
53  test_transport_api_dv
54 # test_dv_topology
55  
56 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
57
58 test_transport_api_dv_SOURCES = \
59  test_transport_api_dv.c
60 test_transport_api_dv_LDADD = \
61  $(top_builddir)/src/transport/libgnunettransport.la \
62  $(top_builddir)/src/util/libgnunetutil.la \
63  $(top_builddir)/src/testing/libgnunettesting.la
64
65 EXTRA_DIST = \
66   test_transport_dv_data.conf