1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
9 AM_CFLAGS = --coverage -O0
13 HOSTLIST_SERVER_SOURCES = \
14 gnunet-daemon-hostlist_server.c gnunet-daemon-hostlist_server.h
15 GN_LIBMHD = -lmicrohttpd
20 gnunet-daemon-hostlist
22 CPP_GNURL=@LIBGNURL_CPPFLAGS@
28 gnunet-daemon-hostlist
30 CPP_GNURL=@LIBCURL_CPPFLAGS@
36 gnunet_daemon_hostlist_SOURCES = \
37 gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \
38 gnunet-daemon-hostlist_client.c gnunet-daemon-hostlist_client.h \
39 $(HOSTLIST_SERVER_SOURCES)
41 gnunet_daemon_hostlist_LDADD = \
42 $(top_builddir)/src/core/libgnunetcore.la \
43 $(top_builddir)/src/hello/libgnunethello.la \
44 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
45 $(top_builddir)/src/statistics/libgnunetstatistics.la \
46 $(top_builddir)/src/transport/libgnunettransport.la \
47 $(top_builddir)/src/util/libgnunetutil.la \
52 gnunet_daemon_hostlist_CPPFLAGS = \
58 test_gnunet_daemon_hostlist \
59 test_gnunet_daemon_hostlist_reconnect \
60 test_gnunet_daemon_hostlist_learning
64 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
66 test_gnunet_daemon_hostlist \
67 test_gnunet_daemon_hostlist_reconnect \
68 test_gnunet_daemon_hostlist_learning
73 test_gnunet_daemon_hostlist_SOURCES = \
74 test_gnunet_daemon_hostlist.c
75 test_gnunet_daemon_hostlist_LDADD = \
76 $(top_builddir)/src/transport/libgnunettransport.la \
77 $(top_builddir)/src/util/libgnunetutil.la
79 test_gnunet_daemon_hostlist_reconnect_SOURCES = \
80 test_gnunet_daemon_hostlist_reconnect.c
81 test_gnunet_daemon_hostlist_reconnect_LDADD = \
82 $(top_builddir)/src/transport/libgnunettransport.la \
83 $(top_builddir)/src/util/libgnunetutil.la
85 test_gnunet_daemon_hostlist_learning_SOURCES = \
86 test_gnunet_daemon_hostlist_learning.c
87 test_gnunet_daemon_hostlist_learning_LDADD = \
88 $(top_builddir)/src/transport/libgnunettransport.la \
89 $(top_builddir)/src/core/libgnunetcore.la \
90 $(top_builddir)/src/statistics/libgnunetstatistics.la \
91 $(top_builddir)/src/util/libgnunetutil.la
94 test_hostlist_defaults.conf \
95 test_gnunet_daemon_hostlist_data.conf \
96 test_gnunet_daemon_hostlist_peer1.conf \
97 test_gnunet_daemon_hostlist_peer2.conf \
98 test_learning_adv_peer.conf \
99 test_learning_learn_peer.conf \
100 test_learning_learn_peer2.conf \