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 \
25 gnunet-service-scalarproduct-ecc-alice \
26 gnunet-service-scalarproduct-ecc-bob
29 libgnunetscalarproduct.la
31 gnunet_scalarproduct_SOURCES = \
32 gnunet-scalarproduct.c
33 gnunet_scalarproduct_LDADD = \
34 $(top_builddir)/src/util/libgnunetutil.la \
35 libgnunetscalarproduct.la \
40 gnunet_service_scalarproduct_alice_SOURCES = \
41 gnunet-service-scalarproduct.h \
42 gnunet-service-scalarproduct_alice.c
43 gnunet_service_scalarproduct_alice_LDADD = \
44 $(top_builddir)/src/util/libgnunetutil.la \
45 $(top_builddir)/src/cadet/libgnunetcadet.la \
46 $(top_builddir)/src/set/libgnunetset.la \
51 gnunet_service_scalarproduct_bob_SOURCES = \
52 gnunet-service-scalarproduct.h \
53 gnunet-service-scalarproduct_bob.c
54 gnunet_service_scalarproduct_bob_LDADD = \
55 $(top_builddir)/src/util/libgnunetutil.la \
56 $(top_builddir)/src/cadet/libgnunetcadet.la \
57 $(top_builddir)/src/set/libgnunetset.la \
62 gnunet_service_scalarproduct_ecc_alice_SOURCES = \
63 gnunet-service-scalarproduct.h \
64 gnunet-service-scalarproduct-ecc_alice.c
65 gnunet_service_scalarproduct_ecc_alice_LDADD = \
66 $(top_builddir)/src/util/libgnunetutil.la \
67 $(top_builddir)/src/cadet/libgnunetcadet.la \
68 $(top_builddir)/src/set/libgnunetset.la \
73 gnunet_service_scalarproduct_ecc_bob_SOURCES = \
74 gnunet-service-scalarproduct.h \
75 gnunet-service-scalarproduct-ecc_bob.c
76 gnunet_service_scalarproduct_ecc_bob_LDADD = \
77 $(top_builddir)/src/util/libgnunetutil.la \
78 $(top_builddir)/src/cadet/libgnunetcadet.la \
79 $(top_builddir)/src/set/libgnunetset.la \
84 libgnunetscalarproduct_la_SOURCES = \
87 libgnunetscalarproduct_la_LIBADD = \
88 $(top_builddir)/src/util/libgnunetutil.la \
89 $(top_builddir)/src/statistics/libgnunetstatistics.la \
93 libgnunetscalarproduct_la_LDFLAGS = \
97 test_scalarproduct.conf \
101 test_scalarproduct.sh \
102 test_scalarproduct_negative.sh \
103 test_scalarproduct_negativezero.sh
106 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
107 TESTS = $(check_SCRIPTS)