5929a4d9779655f8bd6ec25fc4de2aec47dd75c3
[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 gnunet_consensus_SOURCES = \
25  gnunet-consensus.c         
26 gnunet_consensus_LDADD = \
27   $(top_builddir)/src/util/libgnunetutil.la \
28   $(GN_LIBINTL)
29
30 gnunet_service_consensus_SOURCES = \
31  gnunet-service-consensus.cc
32 gnunet_service_consensus_LDADD = \
33   $(top_builddir)/src/util/libgnunetutil.la \
34   $(GN_LIBINTL) 
35
36
37 #check_PROGRAMS = \
38 # test_consensus_api
39
40 #if ENABLE_TEST_RUN
41 #TESTS = $(check_PROGRAMS)
42 #endif
43 #
44 #test_consensus_api_SOURCES = \
45 # test_consensus_api.c
46 #test_consensus_api_LDADD = \
47 #  $(top_builddir)/src/util/libgnunetutil.la  
48