1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
9 AM_CFLAGS = --coverage -O0
13 pkgcfgdir= $(pkgdatadir)/config.d/
15 libexecdir= $(pkglibdir)/libexec/
20 bin_PROGRAMS = gnunet-rps
22 gnunet_rps_SOURCES = gnunet-rps.c
25 $(top_builddir)/src/util/libgnunetutil.la \
28 lib_LTLIBRARIES = libgnunetrps.la
30 libgnunetrps_la_SOURCES = \
32 libgnunetrps_la_LIBADD = \
33 $(top_builddir)/src/util/libgnunetutil.la \
35 libgnunetrps_la_LDFLAGS = \
36 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
44 gnunet_service_rps_SOURCES = \
45 gnunet-service-rps_sampler.h gnunet-service-rps_sampler.c \
49 gnunet_service_rps_LDADD = \
51 $(top_builddir)/src/util/libgnunetutil.la \
52 $(top_builddir)/src/cadet/libgnunetcadet.la \
53 $(top_builddir)/src/nse/libgnunetnse.la \
54 $(top_builddir)/src/statistics/libgnunetstatistics.la \
61 test_rps_malicious_1 \
62 test_rps_malicious_2 \
63 test_rps_seed_request \
69 $(top_builddir)/src/util/libgnunetutil.la \
70 $(top_builddir)/src/testbed/libgnunettestbed.la \
75 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
76 TESTS = $(check_PROGRAMS)
79 test_rps_malicious_1_SOURCES = \
81 test_rps_malicious_1_LDADD = $(ld_rps_test_lib)
83 test_rps_malicious_2_SOURCES = \
85 test_rps_malicious_2_LDADD = $(ld_rps_test_lib)
87 test_rps_single_req_SOURCES = \
89 test_rps_single_req_LDADD = $(ld_rps_test_lib)
91 test_rps_seed_request_SOURCES = \
93 test_rps_seed_request_LDADD = $(ld_rps_test_lib)