1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
10 AM_CFLAGS = --coverage -O0
14 HOSTLIST_SERVER_SOURCES = \
15 gnunet-daemon-hostlist_server.c gnunet-daemon-hostlist_server.h
16 GN_LIBMHD = -lmicrohttpd
21 gnunet-daemon-hostlist
23 CPP_GNURL=@LIBGNURL_CPPFLAGS@
29 gnunet-daemon-hostlist
31 CPP_GNURL=@LIBCURL_CPPFLAGS@
37 gnunet_daemon_hostlist_SOURCES = \
38 gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \
39 gnunet-daemon-hostlist_client.c gnunet-daemon-hostlist_client.h \
40 $(HOSTLIST_SERVER_SOURCES)
42 gnunet_daemon_hostlist_LDADD = \
43 $(top_builddir)/src/core/libgnunetcore.la \
44 $(top_builddir)/src/hello/libgnunethello.la \
45 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
46 $(top_builddir)/src/statistics/libgnunetstatistics.la \
47 $(top_builddir)/src/transport/libgnunettransport.la \
48 $(top_builddir)/src/util/libgnunetutil.la \
53 gnunet_daemon_hostlist_CPPFLAGS = \
59 test_gnunet_daemon_hostlist \
60 test_gnunet_daemon_hostlist_reconnect \
61 test_gnunet_daemon_hostlist_learning
65 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
67 test_gnunet_daemon_hostlist \
68 test_gnunet_daemon_hostlist_reconnect \
69 test_gnunet_daemon_hostlist_learning
74 test_gnunet_daemon_hostlist_SOURCES = \
75 test_gnunet_daemon_hostlist.c
76 test_gnunet_daemon_hostlist_LDADD = \
77 $(top_builddir)/src/transport/libgnunettransport.la \
78 $(top_builddir)/src/util/libgnunetutil.la
80 test_gnunet_daemon_hostlist_reconnect_SOURCES = \
81 test_gnunet_daemon_hostlist_reconnect.c
82 test_gnunet_daemon_hostlist_reconnect_LDADD = \
83 $(top_builddir)/src/transport/libgnunettransport.la \
84 $(top_builddir)/src/util/libgnunetutil.la
86 test_gnunet_daemon_hostlist_learning_SOURCES = \
87 test_gnunet_daemon_hostlist_learning.c
88 test_gnunet_daemon_hostlist_learning_LDADD = \
89 $(top_builddir)/src/transport/libgnunettransport.la \
90 $(top_builddir)/src/core/libgnunetcore.la \
91 $(top_builddir)/src/statistics/libgnunetstatistics.la \
92 $(top_builddir)/src/util/libgnunetutil.la
95 test_hostlist_defaults.conf \
96 test_gnunet_daemon_hostlist_data.conf \
97 test_gnunet_daemon_hostlist_peer1.conf \
98 test_gnunet_daemon_hostlist_peer2.conf \
99 test_learning_adv_peer.conf \
100 test_learning_learn_peer.conf \
101 test_learning_learn_peer2.conf \