1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
12 AM_CFLAGS = -fprofile-arcs -ftest-coverage
17 gnunet-service-secretsharing
20 libgnunetsecretsharing.la
23 gnunet_secretsharing_profiler_SOURCES = \
24 gnunet-secretsharing-profiler.c
25 gnunet_secretsharing_profiler_LDADD = \
26 libgnunetsecretsharing.la \
27 $(top_builddir)/src/testbed/libgnunettestbed.la \
28 $(top_builddir)/src/util/libgnunetutil.la \
31 gnunet_service_secretsharing_SOURCES = \
32 gnunet-service-secretsharing.c \
33 secretsharing_common.c \
34 secretsharing_protocol.h
35 gnunet_service_secretsharing_CFLAGS = $(AM_CFLAGS)
36 gnunet_service_secretsharing_LDADD = \
37 $(top_builddir)/src/util/libgnunetutil.la \
38 $(top_builddir)/src/consensus/libgnunetconsensus.la \
42 libgnunetsecretsharing_la_SOURCES = \
44 secretsharing_common.c \
46 libgnunetsecretsharing_la_LIBADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
50 libgnunetsecretsharing_la_LDFLAGS = \
55 gnunet-secretsharing-profiler
58 test_secretsharing_api
61 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
62 TESTS = $(check_PROGRAMS)
66 test_secretsharing_api_SOURCES = \
67 test_secretsharing_api.c
68 test_secretsharing_api_LDADD = \
69 libgnunetsecretsharing.la \
70 $(top_builddir)/src/testing/libgnunettesting.la \
71 $(top_builddir)/src/util/libgnunetutil.la
74 test_secretsharing.conf