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 = \
16 gnunet-daemon-hostlist_server.c gnunet-daemon-hostlist_server.h
17 GN_LIBMHD = -lmicrohttpd
22 gnunet-daemon-hostlist
25 gnunet_daemon_hostlist_SOURCES = \
26 gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \
27 gnunet-daemon-hostlist_client.c gnunet-daemon-hostlist_client.h \
28 $(HOSTLIST_SERVER_SOURCES)
30 gnunet_daemon_hostlist_LDADD = \
31 $(top_builddir)/src/core/libgnunetcore.la \
32 $(top_builddir)/src/hello/libgnunethello.la \
33 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
34 $(top_builddir)/src/statistics/libgnunetstatistics.la \
35 $(top_builddir)/src/transport/libgnunettransport.la \
36 $(top_builddir)/src/util/libgnunetutil.la \
41 gnunet_daemon_hostlist_CPPFLAGS = \
42 @LIBGNURL_CPPFLAGS@ $(AM_CPPFLAGS)
46 test_gnunet_daemon_hostlist \
47 test_gnunet_daemon_hostlist_reconnect \
48 test_gnunet_daemon_hostlist_learning
52 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
54 test_gnunet_daemon_hostlist \
55 test_gnunet_daemon_hostlist_reconnect \
56 test_gnunet_daemon_hostlist_learning
61 test_gnunet_daemon_hostlist_SOURCES = \
62 test_gnunet_daemon_hostlist.c
63 test_gnunet_daemon_hostlist_LDADD = \
64 $(top_builddir)/src/transport/libgnunettransport.la \
65 $(top_builddir)/src/util/libgnunetutil.la
67 test_gnunet_daemon_hostlist_reconnect_SOURCES = \
68 test_gnunet_daemon_hostlist_reconnect.c
69 test_gnunet_daemon_hostlist_reconnect_LDADD = \
70 $(top_builddir)/src/transport/libgnunettransport.la \
71 $(top_builddir)/src/util/libgnunetutil.la
73 test_gnunet_daemon_hostlist_learning_SOURCES = \
74 test_gnunet_daemon_hostlist_learning.c
75 test_gnunet_daemon_hostlist_learning_LDADD = \
76 $(top_builddir)/src/transport/libgnunettransport.la \
77 $(top_builddir)/src/core/libgnunetcore.la \
78 $(top_builddir)/src/statistics/libgnunetstatistics.la \
79 $(top_builddir)/src/util/libgnunetutil.la
82 test_hostlist_defaults.conf \
83 test_gnunet_daemon_hostlist_data.conf \
84 test_gnunet_daemon_hostlist_peer1.conf \
85 test_gnunet_daemon_hostlist_peer2.conf \
86 test_learning_adv_peer.conf \
87 test_learning_learn_peer.conf \
88 test_learning_learn_peer2.conf \