+# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include
if MINGW
gnunet_testing_SOURCES = \
gnunet-testing.c
gnunet_testing_LDADD = \
- $(top_builddir)/src/testing/libgnunettesting.la \
+ libgnunettesting.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
-gnunet_testing_DEPENDENCIES = \
- libgnunettesting.la
list_keys_SOURCES = \
list-keys.c
test_testing_sharedservices
if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = \
test_testing_portreservation \
test_testing_peerstartup \
test_testing_portreservation_SOURCES = \
test_testing_portreservation.c
test_testing_portreservation_LDADD = \
- $(top_builddir)/src/testing/libgnunettesting.la \
+ libgnunettesting.la \
$(top_builddir)/src/util/libgnunetutil.la
test_testing_peerstartup_SOURCES = \
test_testing_peerstartup.c
test_testing_peerstartup_LDADD = \
- $(top_builddir)/src/testing/libgnunettesting.la \
+ libgnunettesting.la \
$(top_builddir)/src/util/libgnunetutil.la
test_testing_peerstartup2_SOURCES = \
test_testing_peerstartup2.c
test_testing_peerstartup2_LDADD = \
- $(top_builddir)/src/testing/libgnunettesting.la \
+ libgnunettesting.la \
$(top_builddir)/src/util/libgnunetutil.la
test_testing_servicestartup_SOURCES = \
test_testing_servicestartup.c
test_testing_servicestartup_LDADD = \
- $(top_builddir)/src/testing/libgnunettesting.la \
+ libgnunettesting.la \
$(top_builddir)/src/util/libgnunetutil.la
test_testing_sharedservices_SOURCES = \
test_testing_sharedservices.c
test_testing_sharedservices_LDADD = \
- $(top_builddir)/src/testing/libgnunettesting.la \
+ libgnunettesting.la \
$(top_builddir)/src/util/libgnunetutil.la
EXTRA_DIST = \