diff options
Diffstat (limited to 'src/service/dht/Makefile.am')
-rw-r--r-- | src/service/dht/Makefile.am | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/src/service/dht/Makefile.am b/src/service/dht/Makefile.am new file mode 100644 index 000000000..e16139650 --- /dev/null +++ b/src/service/dht/Makefile.am | |||
@@ -0,0 +1,77 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | plugindir = $(libdir)/gnunet | ||
5 | |||
6 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
7 | |||
8 | libexecdir= $(pkglibdir)/libexec/ | ||
9 | |||
10 | pkgcfg_DATA = \ | ||
11 | dht.conf | ||
12 | |||
13 | dist_pkgcfg_DATA = \ | ||
14 | dhtu.conf | ||
15 | |||
16 | if USE_COVERAGE | ||
17 | AM_CFLAGS = --coverage -O0 | ||
18 | XLIB = -lgcov | ||
19 | endif | ||
20 | |||
21 | lib_LTLIBRARIES = \ | ||
22 | libgnunetdht.la | ||
23 | |||
24 | libgnunetdht_la_SOURCES = \ | ||
25 | dht_api.c dht.h | ||
26 | libgnunetdht_la_LIBADD = \ | ||
27 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
28 | $(XLIB) \ | ||
29 | $(LTLIBINTL) | ||
30 | libgnunetdht_la_LDFLAGS = \ | ||
31 | $(GN_LIB_LDFLAGS) \ | ||
32 | -version-info 4:0:0 | ||
33 | |||
34 | |||
35 | libexec_PROGRAMS = \ | ||
36 | gnunet-service-dht | ||
37 | |||
38 | gnunet_service_dht_SOURCES = \ | ||
39 | gnunet-service-dht.c gnunet-service-dht.h \ | ||
40 | plugin_dhtu_gnunet.h plugin_dhtu_ip.h \ | ||
41 | plugin_dhtu_gnunet.c plugin_dhtu_ip.c \ | ||
42 | gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \ | ||
43 | gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \ | ||
44 | gnunet-service-dht_routing.c gnunet-service-dht_routing.h | ||
45 | gnunet_service_dht_LDADD = \ | ||
46 | libgnunetdht.la \ | ||
47 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
48 | $(top_builddir)/src/service/core/libgnunetcore.la \ | ||
49 | $(top_builddir)/src/service/nse/libgnunetnse.la \ | ||
50 | $(top_builddir)/src/service/peerstore/libgnunetpeerstore.la \ | ||
51 | $(top_builddir)/src/lib/hello/libgnunethello.la \ | ||
52 | $(top_builddir)/src/lib/block/libgnunetblock.la \ | ||
53 | $(top_builddir)/src/lib/block/libgnunetblockgroup.la \ | ||
54 | $(top_builddir)/src/service/transport/libgnunettransportapplication.la \ | ||
55 | $(top_builddir)/src/service/datacache/libgnunetdatacache.la \ | ||
56 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
57 | -lm | ||
58 | gnunet_service_dht_LDFLAGS = \ | ||
59 | $(GN_LIBINTL) | ||
60 | |||
61 | if ENABLE_TEST_RUN | ||
62 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
63 | endif | ||
64 | |||
65 | test_dht_api_SOURCES = \ | ||
66 | test_dht_api.c | ||
67 | test_dht_api_LDADD = \ | ||
68 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
69 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
70 | $(top_builddir)/src/lib/hello/libgnunethello.la \ | ||
71 | libgnunetdht.la | ||
72 | |||
73 | EXTRA_DIST = \ | ||
74 | gnunet-service-dht_clients.c \ | ||
75 | dhtu_testbed_connect.sh \ | ||
76 | dhtu_testbed_deploy.conf \ | ||
77 | dhtu_testbed_deploy.sh | ||