(no commit message)
[oweals/gnunet.git] / src / hostlist / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if USE_COVERAGE
4   AM_CFLAGS = --coverage -O0
5 endif
6
7
8 bin_PROGRAMS = \
9  gnunet-daemon-hostlist
10
11 gnunet_daemon_hostlist_SOURCES = \
12  gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \
13  hostlist-client.c hostlist-client.h \
14  hostlist-server.c hostlist-server.h 
15
16 gnunet_daemon_hostlist_LDADD = \
17   $(top_builddir)/src/core/libgnunetcore.la \
18   $(top_builddir)/src/hello/libgnunethello.la \
19   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
20   $(top_builddir)/src/statistics/libgnunetstatistics.la \
21   $(top_builddir)/src/transport/libgnunettransport.la \
22   $(top_builddir)/src/util/libgnunetutil.la \
23   -lmicrohttpd \
24   @LIBCURL@ \
25   $(GN_LIBINTL)
26
27 gnunet_daemon_hostlist_CPPFLAGS = \
28  @LIBCURL_CPPFLAGS@ 
29
30 check_PROGRAMS = \
31  test_gnunet_daemon_hostlist \
32  test_gnunet_daemon_hostlist_learning
33
34
35 TESTS = test_gnunet_daemon_hostlist \
36  test_gnunet_daemon_hostlist_learning
37
38 test_gnunet_daemon_hostlist_SOURCES = \
39  test_gnunet_daemon_hostlist.c
40 test_gnunet_daemon_hostlist_LDADD = \
41   $(top_builddir)/src/transport/libgnunettransport.la \
42   $(top_builddir)/src/arm/libgnunetarm.la \
43   $(top_builddir)/src/util/libgnunetutil.la  
44
45 test_gnunet_daemon_hostlist_learning_SOURCES = \
46  test_gnunet_daemon_hostlist_learning.c
47 test_gnunet_daemon_hostlist_learning_LDADD = \
48   $(top_builddir)/src/transport/libgnunettransport.la \
49   $(top_builddir)/src/arm/libgnunetarm.la \
50   $(top_builddir)/src/core/libgnunetcore.la \
51   $(top_builddir)/src/util/libgnunetutil.la  
52
53 EXTRA_DIST = \
54   test_gnunet_daemon_hostlist_data.conf \
55   test_gnunet_daemon_hostlist_peer1.conf \
56   test_gnunet_daemon_hostlist_peer2.conf \
57   learning_data.conf \
58   learning_peer1.conf \
59   learning_peer2.conf
60