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 \
54 gnunet_service_rps_LDADD = \
56 $(top_builddir)/src/util/libgnunetutil.la \
57 $(top_builddir)/src/cadet/libgnunetcadet.la \
58 $(top_builddir)/src/nse/libgnunetnse.la \
59 $(top_builddir)/src/statistics/libgnunetstatistics.la \
67 test_rps_malicious_1 \
68 test_rps_malicious_2 \
69 test_rps_malicious_3 \
70 test_rps_seed_request \
76 $(top_builddir)/src/util/libgnunetutil.la \
77 $(top_builddir)/src/testbed/libgnunettestbed.la \
82 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
83 TESTS = $(check_PROGRAMS)
86 test_rps_malicious_1_SOURCES = \
88 test_rps_malicious_1_LDADD = $(ld_rps_test_lib)
90 test_rps_malicious_2_SOURCES = \
92 test_rps_malicious_2_LDADD = $(ld_rps_test_lib)
94 test_rps_malicious_3_SOURCES = \
96 test_rps_malicious_3_LDADD = $(ld_rps_test_lib)
98 test_rps_single_req_SOURCES = \
100 test_rps_single_req_LDADD = $(ld_rps_test_lib)
102 test_rps_seed_request_SOURCES = \
104 test_rps_seed_request_LDADD = $(ld_rps_test_lib)
106 gnunet_nse_profiler_SOURCES = \
108 gnunet_nse_profiler_LDADD = $(ld_rps_test_lib)