dummy consensus service
[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
21 libexec_PROGRAMS = \
22  gnunet-service-consensus
23
24 lib_LTLIBRARIES = \
25   libgnunetconsensus.la
26
27 gnunet_consensus_SOURCES = \
28  gnunet-consensus.c         
29 gnunet_consensus_LDADD = \
30   $(top_builddir)/src/util/libgnunetutil.la \
31   $(GN_LIBINTL)
32
33 gnunet_service_consensus_SOURCES = \
34  gnunet-service-consensus.c
35 gnunet_service_consensus_LDADD = \
36   $(top_builddir)/src/util/libgnunetutil.la \
37   $(top_builddir)/src/core/libgnunetcore.la \
38   $(GN_LIBINTL) 
39
40 libgnunetconsensus_la_SOURCES = \
41   consensus_api.c
42 libgnunetconsensus_la_LIBADD = \
43   $(top_builddir)/src/util/libgnunetutil.la \
44   $(LTLIBINTL)
45 libgnunetconsensus_la_LDFLAGS = \
46   $(GN_LIB_LDFLAGS)
47
48 check_PROGRAMS = \
49  test_consensus_api
50
51 if ENABLE_TEST_RUN
52 TESTS = $(check_PROGRAMS)
53 endif
54
55 test_consensus_api_SOURCES = \
56  test_consensus_api.c
57 test_consensus_api_LDADD = \
58   $(top_builddir)/src/util/libgnunetutil.la \
59   $(top_builddir)/src/testing/libgnunettesting.la \
60   $(top_builddir)/src/consensus/libgnunetconsensus.la
61
62
63 EXTRA_DIST = \
64   test_consensus.conf