1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
11 AM_CFLAGS = --coverage -O0
15 HOSTLIST_SERVER_SOURCES = hostlist-server.c hostlist-server.h
16 GN_LIBMHD = -lmicrohttpd
21 gnunet-daemon-hostlist
24 gnunet_daemon_hostlist_SOURCES = \
25 gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \
26 hostlist-client.c hostlist-client.h \
27 $(HOSTLIST_SERVER_SOURCES)
29 gnunet_daemon_hostlist_LDADD = \
30 $(top_builddir)/src/core/libgnunetcore.la \
31 $(top_builddir)/src/hello/libgnunethello.la \
32 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
33 $(top_builddir)/src/statistics/libgnunetstatistics.la \
34 $(top_builddir)/src/transport/libgnunettransport.la \
35 $(top_builddir)/src/util/libgnunetutil.la \
40 gnunet_daemon_hostlist_CPPFLAGS = \
41 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
45 test_gnunet_daemon_hostlist \
46 test_gnunet_daemon_hostlist_reconnect \
47 test_gnunet_daemon_hostlist_learning
51 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
53 test_gnunet_daemon_hostlist \
54 test_gnunet_daemon_hostlist_reconnect \
55 test_gnunet_daemon_hostlist_learning
60 test_gnunet_daemon_hostlist_SOURCES = \
61 test_gnunet_daemon_hostlist.c
62 test_gnunet_daemon_hostlist_LDADD = \
63 $(top_builddir)/src/transport/libgnunettransport.la \
64 $(top_builddir)/src/util/libgnunetutil.la
66 test_gnunet_daemon_hostlist_reconnect_SOURCES = \
67 test_gnunet_daemon_hostlist_reconnect.c
68 test_gnunet_daemon_hostlist_reconnect_LDADD = \
69 $(top_builddir)/src/transport/libgnunettransport.la \
70 $(top_builddir)/src/util/libgnunetutil.la
72 test_gnunet_daemon_hostlist_learning_SOURCES = \
73 test_gnunet_daemon_hostlist_learning.c
74 test_gnunet_daemon_hostlist_learning_LDADD = \
75 $(top_builddir)/src/transport/libgnunettransport.la \
76 $(top_builddir)/src/core/libgnunetcore.la \
77 $(top_builddir)/src/statistics/libgnunetstatistics.la \
78 $(top_builddir)/src/util/libgnunetutil.la
81 test_hostlist_defaults.conf \
82 test_gnunet_daemon_hostlist_data.conf \
83 test_gnunet_daemon_hostlist_peer1.conf \
84 test_gnunet_daemon_hostlist_peer2.conf \
85 test_learning_adv_peer.conf \
86 test_learning_learn_peer.conf \
87 test_learning_learn_peer2.conf \