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
24 CPP_GNURL=@LIBGNURL_CPPFLAGS@
28 gnunet-daemon-hostlist
30 CPP_GNURL=@LIBCURL_CPPFLAGS@
34 gnunet_daemon_hostlist_SOURCES = \
35 gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \
36 gnunet-daemon-hostlist_client.c gnunet-daemon-hostlist_client.h \
37 $(HOSTLIST_SERVER_SOURCES)
39 gnunet_daemon_hostlist_LDADD = \
40 $(top_builddir)/src/core/libgnunetcore.la \
41 $(top_builddir)/src/hello/libgnunethello.la \
42 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
43 $(top_builddir)/src/statistics/libgnunetstatistics.la \
44 $(top_builddir)/src/transport/libgnunettransport.la \
45 $(top_builddir)/src/util/libgnunetutil.la \
50 gnunet_daemon_hostlist_CPPFLAGS = \
56 test_gnunet_daemon_hostlist \
57 test_gnunet_daemon_hostlist_reconnect \
58 test_gnunet_daemon_hostlist_learning
62 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
64 test_gnunet_daemon_hostlist \
65 test_gnunet_daemon_hostlist_reconnect \
66 test_gnunet_daemon_hostlist_learning
71 test_gnunet_daemon_hostlist_SOURCES = \
72 test_gnunet_daemon_hostlist.c
73 test_gnunet_daemon_hostlist_LDADD = \
74 $(top_builddir)/src/transport/libgnunettransport.la \
75 $(top_builddir)/src/util/libgnunetutil.la
77 test_gnunet_daemon_hostlist_reconnect_SOURCES = \
78 test_gnunet_daemon_hostlist_reconnect.c
79 test_gnunet_daemon_hostlist_reconnect_LDADD = \
80 $(top_builddir)/src/transport/libgnunettransport.la \
81 $(top_builddir)/src/util/libgnunetutil.la
83 test_gnunet_daemon_hostlist_learning_SOURCES = \
84 test_gnunet_daemon_hostlist_learning.c
85 test_gnunet_daemon_hostlist_learning_LDADD = \
86 $(top_builddir)/src/transport/libgnunettransport.la \
87 $(top_builddir)/src/core/libgnunetcore.la \
88 $(top_builddir)/src/statistics/libgnunetstatistics.la \
89 $(top_builddir)/src/util/libgnunetutil.la
92 test_hostlist_defaults.conf \
93 test_gnunet_daemon_hostlist_data.conf \
94 test_gnunet_daemon_hostlist_peer1.conf \
95 test_gnunet_daemon_hostlist_peer2.conf \
96 test_learning_adv_peer.conf \
97 test_learning_learn_peer.conf \
98 test_learning_learn_peer2.conf \