cleaning
[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 \
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 = $(check_PROGRAMS)
36
37 test_gnunet_daemon_hostlist_SOURCES = \
38  test_gnunet_daemon_hostlist.c
39 test_gnunet_daemon_hostlist_LDADD = \
40   $(top_builddir)/src/transport/libgnunettransport.la \
41   $(top_builddir)/src/arm/libgnunetarm.la \
42   $(top_builddir)/src/util/libgnunetutil.la  
43
44 test_gnunet_daemon_hostlist_learning_SOURCES = \
45  test_gnunet_daemon_hostlist_learning.c
46 test_gnunet_daemon_hostlist_learning_LDADD = \
47   $(top_builddir)/src/transport/libgnunettransport.la \
48   $(top_builddir)/src/arm/libgnunetarm.la \
49   $(top_builddir)/src/util/libgnunetutil.la  
50
51 EXTRA_DIST = \
52   test_gnunet_daemon_hostlist_data.conf \
53   test_gnunet_daemon_hostlist_data_peer1.conf \
54   test_gnunet_daemon_hostlist_data_peer2.conf \
55   learning_data.conf \
56   learning_data_peer1.conf \
57   learning_data_peer2.conf
58