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
23 gnunet-service-scalarproduct-alice \
24 gnunet-service-scalarproduct-bob
27 libgnunetscalarproduct.la
29 gnunet_scalarproduct_SOURCES = \
30 gnunet-scalarproduct.c
31 gnunet_scalarproduct_LDADD = \
32 $(top_builddir)/src/util/libgnunetutil.la \
33 libgnunetscalarproduct.la \
38 gnunet_service_scalarproduct_alice_SOURCES = \
39 gnunet-service-scalarproduct.h \
40 gnunet-service-scalarproduct_alice.c
41 gnunet_service_scalarproduct_alice_LDADD = \
42 $(top_builddir)/src/util/libgnunetutil.la \
43 $(top_builddir)/src/cadet/libgnunetcadet.la \
44 $(top_builddir)/src/set/libgnunetset.la \
49 gnunet_service_scalarproduct_bob_SOURCES = \
50 gnunet-service-scalarproduct.h \
51 gnunet-service-scalarproduct_bob.c
52 gnunet_service_scalarproduct_bob_LDADD = \
53 $(top_builddir)/src/util/libgnunetutil.la \
54 $(top_builddir)/src/cadet/libgnunetcadet.la \
55 $(top_builddir)/src/set/libgnunetset.la \
60 libgnunetscalarproduct_la_SOURCES = \
63 libgnunetscalarproduct_la_LIBADD = \
64 $(top_builddir)/src/util/libgnunetutil.la \
65 $(top_builddir)/src/statistics/libgnunetstatistics.la \
69 libgnunetscalarproduct_la_LDFLAGS = \
73 test_scalarproduct.conf \
77 test_scalarproduct.sh \
78 test_scalarproduct_negative.sh \
79 test_scalarproduct_negativezero.sh
82 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
83 TESTS = $(check_SCRIPTS)