pkgcfg_DATA = \
nse.conf
+bin_PROGRAMS = gnunet-nse
+
+gnunet_nse_SOURCES = gnunet-nse.c
+gnunet_nse_LDFLAGS = \
+ libgnunetnse.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(XLIB) $(GN_LIBINTL)
+gnunet_nse_DEPENDENCIES = \
+ libgnunetnse.la \
+ $(top_builddir)/src/util/libgnunetutil.la
lib_LTLIBRARIES = libgnunetnse.la
endif
if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@libdir@;export PATH=@prefix@/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = $(check_PROGRAMS)
endif