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) \
49 gnunet_service_rps_SOURCES = \
50 gnunet-service-rps_sampler.h gnunet-service-rps_sampler.c \
51 rps-test_util.h rps-test_util.c \
55 gnunet_service_rps_LDADD = \
57 $(top_builddir)/src/util/libgnunetutil.la \
58 $(top_builddir)/src/cadet/libgnunetcadet.la \
59 $(top_builddir)/src/nse/libgnunetnse.la \
60 $(top_builddir)/src/statistics/libgnunetstatistics.la \
68 test_rps_malicious_1 \
69 test_rps_malicious_2 \
70 test_rps_malicious_3 \
71 test_rps_seed_request \
77 $(top_builddir)/src/util/libgnunetutil.la \
78 $(top_builddir)/src/testbed/libgnunettestbed.la \
83 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
84 TESTS = $(check_PROGRAMS)
87 test_rps_malicious_1_SOURCES = \
89 test_rps_malicious_1_LDADD = $(ld_rps_test_lib)
91 test_rps_malicious_2_SOURCES = \
93 test_rps_malicious_2_LDADD = $(ld_rps_test_lib)
95 test_rps_malicious_3_SOURCES = \
97 test_rps_malicious_3_LDADD = $(ld_rps_test_lib)
99 test_rps_single_req_SOURCES = \
101 test_rps_single_req_LDADD = $(ld_rps_test_lib)
103 test_rps_seed_request_SOURCES = \
105 test_rps_seed_request_LDADD = $(ld_rps_test_lib)
107 gnunet_rps_profiler_SOURCES = \
109 gnunet_rps_profiler_LDADD = $(ld_rps_test_lib)