+libexec_PROGRAMS = \
+ gnunet-service-revocation
+
+
+gnunet_service_revocation_SOURCES = \
+ gnunet-service-revocation.c
+gnunet_service_revocation_LDADD = \
+ libgnunetrevocation.la \
+ $(top_builddir)/src/core/libgnunetcore.la \
+ $(top_builddir)/src/set/libgnunetset.la \
+ $(top_builddir)/src/statistics/libgnunetstatistics.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ -lm \
+ $(GN_LIBINTL)
+
+test_revocation_SOURCES = \
+ test_revocation.c
+test_revocation_LDADD = \
+ $(top_builddir)/src/identity/libgnunetidentity.la \
+ libgnunetrevocation.la \
+ $(top_builddir)/src//core/libgnunetcore.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/testbed/libgnunettestbed.la
+
+check_PROGRAMS = \
+ test_revocation
+
+check_SCRIPTS = \
+ test_local_revocation.py
+
+if ENABLE_TEST_RUN
+ AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
+ TESTS = \
+ $(check_SCRIPTS) \
+ $(check_PROGRAMS)
+endif
+
+do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
+
+test_local_revocation.py: test_local_revocation.py.in Makefile
+ $(do_subst) < $(srcdir)/test_local_revocation.py.in > test_local_revocation.py
+ chmod +x test_local_revocation.py
+
+EXTRA_DIST = test_revocation.conf \
+ test_local_revocation.py.in
+