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-secretsharing-profiler
24 gnunet-service-secretsharing
27 libgnunetsecretsharing.la
30 gnunet_secretsharing_profiler_SOURCES = \
31 gnunet-secretsharing-profiler.c
32 gnunet_secretsharing_profiler_LDADD = \
33 libgnunetsecretsharing.la \
34 $(top_builddir)/src/testbed/libgnunettestbed.la \
35 $(top_builddir)/src/util/libgnunetutil.la \
38 gnunet_service_secretsharing_SOURCES = \
39 gnunet-service-secretsharing.c \
40 secretsharing_common.c \
41 secretsharing_protocol.h
42 gnunet_service_secretsharing_CFLAGS = $(AM_CFLAGS)
43 gnunet_service_secretsharing_LDADD = \
44 $(top_builddir)/src/util/libgnunetutil.la \
45 $(top_builddir)/src/consensus/libgnunetconsensus.la \
49 libgnunetsecretsharing_la_SOURCES = \
51 secretsharing_common.c \
53 libgnunetsecretsharing_la_LIBADD = \
54 $(top_builddir)/src/util/libgnunetutil.la \
56 libgnunetsecretsharing_la_LDFLAGS = \
60 test_secretsharing_api
63 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
64 TESTS = $(check_PROGRAMS)
67 test_secretsharing_api_SOURCES = \
68 test_secretsharing_api.c
69 test_secretsharing_api_LDADD = \
70 libgnunetsecretsharing.la \
71 $(top_builddir)/src/testing/libgnunettesting.la \
72 $(top_builddir)/src/util/libgnunetutil.la
75 test_secretsharing.conf