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 test_gnunet_daemon_hostlist \
66 test_gnunet_daemon_hostlist_reconnect \
67 test_gnunet_daemon_hostlist_learning
73 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
79 test_gnunet_daemon_hostlist_SOURCES = \
80 test_gnunet_daemon_hostlist.c
81 test_gnunet_daemon_hostlist_LDADD = \
82 $(top_builddir)/src/transport/libgnunettransport.la \
83 $(top_builddir)/src/util/libgnunetutil.la
85 test_gnunet_daemon_hostlist_reconnect_SOURCES = \
86 test_gnunet_daemon_hostlist_reconnect.c
87 test_gnunet_daemon_hostlist_reconnect_LDADD = \
88 $(top_builddir)/src/transport/libgnunettransport.la \
89 $(top_builddir)/src/util/libgnunetutil.la
91 test_gnunet_daemon_hostlist_learning_SOURCES = \
92 test_gnunet_daemon_hostlist_learning.c
93 test_gnunet_daemon_hostlist_learning_LDADD = \
94 $(top_builddir)/src/transport/libgnunettransport.la \
95 $(top_builddir)/src/core/libgnunetcore.la \
96 $(top_builddir)/src/statistics/libgnunetstatistics.la \
97 $(top_builddir)/src/util/libgnunetutil.la
100 test_hostlist_defaults.conf \
101 test_gnunet_daemon_hostlist_data.conf \
102 test_gnunet_daemon_hostlist_peer1.conf \
103 test_gnunet_daemon_hostlist_peer2.conf \
104 test_learning_adv_peer.conf \
105 test_learning_learn_peer.conf \
106 test_learning_learn_peer2.conf \