endif
if USE_COVERAGE
- AM_CFLAGS = -fprofile-arcs -ftest-coverage
+ AM_CFLAGS = --coverage -O0
+ XLIB = -lgcov
endif
lib_LTLIBRARIES = libgnunetarm.la
arm_api.c arm.h
libgnunetarm_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la \
- $(GN_LIBINTL)
+ $(GN_LIBINTL) $(XLIB)
libgnunetarm_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) $(WINFLAGS) \
-version-info 0:0:0
bin_PROGRAMS = \
gnunet-arm \
- gnunet-service-arm
+ gnunet-service-arm \
+ mockup-service
gnunet_arm_SOURCES = \
gnunet-arm.c
$(GN_LIBINTL)
+mockup_service_SOURCES = \
+ mockup-service.c
+ mockup_service_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la
+
+
check_PROGRAMS = \
- test_arm_api
+ test_arm_api \
+ test_exponential_backoff
check_SCRIPTS = \
test_gnunet_arm.sh
-TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
+TESTS = $(check_PROGRAMS)
+#$(check_SCRIPTS)
test_arm_api_SOURCES = \
test_arm_api.c
test_arm_api_LDADD = \
$(top_builddir)/src/arm/libgnunetarm.la \
- $(top_builddir)/src/resolver/libgnunetresolver.la \
$(top_builddir)/src/util/libgnunetutil.la
+test_exponential_backoff_SOURCES = \
+ test_exponential_backoff.c
+test_exponential_backoff_LDADD = \
+ $(top_builddir)/src/arm/libgnunetarm.la \
+ $(top_builddir)/src/util/libgnunetutil.la
EXTRA_DIST = \
- test_arm_api_data.conf
+ test_arm_api_data.conf \
+ do_start_process.c