implemented the invertible bloom filter
[oweals/gnunet.git] / src / consensus / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 pkgcfgdir= $(pkgdatadir)/config.d/
4
5 libexecdir= $(pkglibdir)/libexec/
6
7 pkgcfg_DATA = \
8   consensus.conf
9
10 if MINGW
11  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
12 endif
13
14 if USE_COVERAGE
15   AM_CFLAGS = -fprofile-arcs -ftest-coverage
16 endif
17
18 bin_PROGRAMS = \
19  gnunet-consensus \
20  gnunet-consensus-start-peers \
21  gnunet-consensus-ibf
22
23 libexec_PROGRAMS = \
24  gnunet-service-consensus
25
26 lib_LTLIBRARIES = \
27   libgnunetconsensus.la
28
29 gnunet_consensus_SOURCES = \
30  gnunet-consensus.c
31 gnunet_consensus_LDADD = \
32   $(top_builddir)/src/util/libgnunetutil.la \
33   $(top_builddir)/src/consensus/libgnunetconsensus.la \
34   $(GN_LIBINTL)
35
36 gnunet_consensus_start_peers_SOURCES = \
37  gnunet-consensus-start-peers.c
38 gnunet_consensus_start_peers_LDADD = \
39   $(top_builddir)/src/util/libgnunetutil.la \
40   $(top_builddir)/src/testbed/libgnunettestbed.la \
41   $(top_builddir)/src/consensus/libgnunetconsensus.la \
42   $(GN_LIBINTL)
43
44 gnunet_consensus_ibf_SOURCES = \
45  gnunet-consensus-ibf.c \
46  ibf.c
47 gnunet_consensus_ibf_LDADD = \
48   $(top_builddir)/src/util/libgnunetutil.la \
49   $(GN_LIBINTL)
50
51 gnunet_service_consensus_SOURCES = \
52  gnunet-service-consensus.c
53 gnunet_service_consensus_LDADD = \
54   $(top_builddir)/src/util/libgnunetutil.la \
55   $(top_builddir)/src/core/libgnunetcore.la \
56   $(GN_LIBINTL) 
57
58 libgnunetconsensus_la_SOURCES = \
59   consensus_api.c
60 libgnunetconsensus_la_LIBADD = \
61   $(top_builddir)/src/util/libgnunetutil.la \
62   $(LTLIBINTL)
63 libgnunetconsensus_la_LDFLAGS = \
64   $(GN_LIB_LDFLAGS)
65
66 check_PROGRAMS = \
67  test_consensus_api
68
69 if ENABLE_TEST_RUN
70 TESTS = $(check_PROGRAMS)
71 endif
72
73 test_consensus_api_SOURCES = \
74  test_consensus_api.c
75 test_consensus_api_LDADD = \
76   $(top_builddir)/src/util/libgnunetutil.la \
77   $(top_builddir)/src/testing/libgnunettesting.la \
78   $(top_builddir)/src/consensus/libgnunetconsensus.la
79
80 EXTRA_DIST = \
81   test_consensus.conf
82