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