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 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
16 AM_CFLAGS = -fprofile-arcs -ftest-coverage
21 gnunet-service-secretsharing
24 libgnunetsecretsharing.la
27 gnunet_secretsharing_profiler_SOURCES = \
28 gnunet-secretsharing-profiler.c
29 gnunet_secretsharing_profiler_LDADD = \
30 libgnunetsecretsharing.la \
31 $(top_builddir)/src/testbed/libgnunettestbed.la \
32 $(top_builddir)/src/util/libgnunetutil.la \
35 gnunet_service_secretsharing_SOURCES = \
36 gnunet-service-secretsharing.c \
37 secretsharing_common.c \
38 secretsharing_protocol.h
39 gnunet_service_secretsharing_CFLAGS = $(AM_CFLAGS)
40 gnunet_service_secretsharing_LDADD = \
41 $(top_builddir)/src/util/libgnunetutil.la \
42 $(top_builddir)/src/consensus/libgnunetconsensus.la \
46 libgnunetsecretsharing_la_SOURCES = \
48 secretsharing_common.c \
50 libgnunetsecretsharing_la_LIBADD = \
51 $(top_builddir)/src/util/libgnunetutil.la \
54 libgnunetsecretsharing_la_LDFLAGS = \
59 gnunet-secretsharing-profiler
62 test_secretsharing_api
65 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
66 TESTS = $(check_PROGRAMS)
70 test_secretsharing_api_SOURCES = \
71 test_secretsharing_api.c
72 test_secretsharing_api_LDADD = \
73 libgnunetsecretsharing.la \
74 $(top_builddir)/src/testing/libgnunettesting.la \
75 $(top_builddir)/src/util/libgnunetutil.la
78 test_secretsharing.conf