shell for dv plugin and service, not yet working
[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/util/libgnunetutil.la \
37   $(GN_LIBINTL)
38
39 libgnunet_plugin_transport_dv_la_SOURCES = \
40   plugin_transport_dv.c
41 libgnunet_plugin_transport_dv_la_LIBADD = \
42   $(top_builddir)/src/hello/libgnunethello.la \
43   $(top_builddir)/src/dv/libgnunetdv.la \
44   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
45   $(top_builddir)/src/util/libgnunetutil.la 
46 libgnunet_plugin_transport_dv_la_LDFLAGS = \
47  $(GN_PLUGIN_LDFLAGS)
48  
49  
50 #check_PROGRAMS = \
51 # test_statistics_api
52
53 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
54
55 #test_statistics_api_SOURCES = \
56 # test_statistics_api.c
57 #test_statistics_api_LDADD = \
58 #  $(top_builddir)/src/statistics/libgnunetstatistics.la \
59 #  $(top_builddir)/src/util/libgnunetutil.la  
60
61 #EXTRA_DIST = \
62 #  test_statistics_api_data.conf 
63
64 #check_SCRIPTS = \
65 #  test_gnunet_statistics.sh
66