1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
7 plugindir = $(libdir)/gnunet
13 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
17 AM_CFLAGS = -fprofile-arcs -ftest-coverage
24 gnunet-sensor-profiler \
32 libgnunetsensorutil.la
34 gnunet_sensor_SOURCES = \
36 gnunet_sensor_LDADD = \
37 $(top_builddir)/src/util/libgnunetutil.la \
41 gnunet_service_sensor_SOURCES = \
42 gnunet-service-sensor.c \
43 gnunet-service-sensor_monitoring.c \
44 gnunet-service-sensor_analysis.c \
45 gnunet-service-sensor_reporting.c \
46 gnunet-service-sensor_update.c
47 gnunet_service_sensor_LDADD = \
48 libgnunetsensorutil.la \
49 $(top_builddir)/src/util/libgnunetutil.la \
50 $(top_builddir)/src/statistics/libgnunetstatistics.la \
51 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
52 $(top_builddir)/src/cadet/libgnunetcadet.la \
53 $(top_builddir)/src/core/libgnunetcore.la \
56 libgnunetsensor_la_SOURCES = \
58 libgnunetsensor_la_LIBADD = \
59 $(top_builddir)/src/util/libgnunetutil.la
60 libgnunetsensor_la_LDFLAGS = \
63 libgnunetsensorutil_la_SOURCES = \
65 sensor_util_lib_crypto.c
66 libgnunetsensorutil_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la \
68 $(top_builddir)/src/statistics/libgnunetstatistics.la
69 libgnunetsensorutil_la_LDFLAGS = \
72 plugin_LTLIBRARIES = \
73 libgnunet_plugin_sensor_model_gaussian.la
75 libgnunet_plugin_sensor_model_gaussian_la_SOURCES = \
76 plugin_sensor_model_gaussian.c
77 libgnunet_plugin_sensor_model_gaussian_la_LIBADD = \
79 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
81 libgnunet_plugin_sensor_model_gaussian_la_LDFLAGS = \
86 test_gnunet-service-sensor_reporting \
90 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
91 TESTS = $(check_PROGRAMS)
94 test_sensor_api_SOURCES = \
96 test_sensor_api_LDADD = \
97 $(top_builddir)/src/util/libgnunetutil.la
99 test_gnunet_service_sensor_reporting_SOURCES = \
100 test_gnunet-service-sensor_reporting.c
101 test_gnunet_service_sensor_reporting_LDADD = \
103 libgnunetsensorutil.la \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/testbed/libgnunettestbed.la \
106 $(top_builddir)/src/peerstore/libgnunetpeerstore.la
108 test_pow_sign_SOURCES = \
110 test_pow_sign_LDADD = \
111 $(top_builddir)/src/util/libgnunetutil.la \
112 $(top_builddir)/src/testbed/libgnunettestbed.la \
113 libgnunetsensorutil.la
115 gnunet_sensor_profiler_SOURCES = \
116 gnunet-sensor-profiler.c
117 gnunet_sensor_profiler_LDADD = \
119 $(top_builddir)/src/util/libgnunetutil.la \
120 $(top_builddir)/src/testbed/libgnunettestbed.la \
121 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
122 $(top_builddir)/src/statistics/libgnunetstatistics.la
124 perf_pow_sign_SOURCES = \
126 perf_pow_sign_LDADD = \
127 $(top_builddir)/src/util/libgnunetutil.la \
128 $(top_builddir)/src/testbed/libgnunettestbed.la \
129 libgnunetsensorutil.la
131 pkgsensordir = sensors
134 $(mkinstalldirs) $(datadir)/$(PACKAGE)/$(pkgsensordir)
136 for sensor in $(pkgsensordir)/*; do \
137 cp -a $$sensor $(datadir)/$(PACKAGE)/$(pkgsensordir)/ ; \