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/peerinfo/libgnunetpeerinfo.la \
60 $(top_builddir)/src/nse/libgnunetnse.la \
61 $(top_builddir)/src/statistics/libgnunetstatistics.la \
69 test_rps_malicious_1 \
70 test_rps_malicious_2 \
71 test_rps_malicious_3 \
72 test_rps_seed_request \
78 $(top_builddir)/src/util/libgnunetutil.la \
79 $(top_builddir)/src/testbed/libgnunettestbed.la \
84 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
85 TESTS = $(check_PROGRAMS)
88 test_rps_malicious_1_SOURCES = \
90 test_rps_malicious_1_LDADD = $(ld_rps_test_lib)
92 test_rps_malicious_2_SOURCES = \
94 test_rps_malicious_2_LDADD = $(ld_rps_test_lib)
96 test_rps_malicious_3_SOURCES = \
98 test_rps_malicious_3_LDADD = $(ld_rps_test_lib)
100 test_rps_single_req_SOURCES = \
102 test_rps_single_req_LDADD = $(ld_rps_test_lib)
104 test_rps_seed_request_SOURCES = \
106 test_rps_seed_request_LDADD = $(ld_rps_test_lib)
108 gnunet_rps_profiler_SOURCES = \
110 gnunet_rps_profiler_LDADD = $(ld_rps_test_lib)