X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fpsyc%2FMakefile.am;h=0016b1b3bd6daab7cd1a72d85f633f7bffe9cb1c;hb=2105059516320800eaa8fff1196b58f29a50ba7c;hp=96f86ca9292fc8dfb261744451fce0b0fdce7d54;hpb=9ab259c526d3b8b2923c635dc4255be5b50bdfdf;p=oweals%2Fgnunet.git diff --git a/src/psyc/Makefile.am b/src/psyc/Makefile.am index 96f86ca92..0016b1b3b 100644 --- a/src/psyc/Makefile.am +++ b/src/psyc/Makefile.am @@ -1,3 +1,4 @@ +# This Makefile.am is in the public domain AM_CPPFLAGS = -I$(top_srcdir)/src/include pkgcfgdir= $(pkgdatadir)/config.d/ @@ -20,18 +21,14 @@ endif lib_LTLIBRARIES = libgnunetpsyc.la libgnunetpsyc_la_SOURCES = \ - psyc_api.c \ - psyc.h + psyc_api.c psyc.h libgnunetpsyc_la_LIBADD = \ $(top_builddir)/src/util/libgnunetutil.la \ - $(top_builddir)/src/env/libgnunetenv.la \ + $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ $(GN_LIBINTL) $(XLIB) libgnunetpsyc_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) $(WINFLAGS) \ -version-info 0:0:0 -libgnunetpsyc_la_DEPENDENCIES = \ - $(top_builddir)/src/util/libgnunetutil.la \ - $(top_builddir)/src/env/libgnunetenv.la bin_PROGRAMS = @@ -39,18 +36,15 @@ libexec_PROGRAMS = \ gnunet-service-psyc gnunet_service_psyc_SOURCES = \ - gnunet-service-psyc.c + gnunet-service-psyc.c gnunet_service_psyc_LDADD = \ - $(top_builddir)/src/statistics/libgnunetstatistics.la \ $(top_builddir)/src/util/libgnunetutil.la \ + $(top_builddir)/src/statistics/libgnunetstatistics.la \ $(top_builddir)/src/multicast/libgnunetmulticast.la \ $(top_builddir)/src/psycstore/libgnunetpsycstore.la \ + $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ $(GN_LIBINTL) -gnunet_service_psyc_DEPENDENCIES = \ - $(top_builddir)/src/statistics/libgnunetstatistics.la \ - $(top_builddir)/src/util/libgnunetutil.la \ - $(top_builddir)/src/multicast/libgnunetmulticast.la \ - $(top_builddir)/src/psycstore/libgnunetpsycstore.la +gnunet_service_psyc_CFLAGS = $(AM_CFLAGS) if HAVE_TESTING @@ -59,6 +53,7 @@ check_PROGRAMS = \ endif if ENABLE_TEST_RUN +AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; TESTS = $(check_PROGRAMS) endif @@ -66,13 +61,8 @@ test_psyc_SOURCES = \ test_psyc.c test_psyc_LDADD = \ libgnunetpsyc.la \ + $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ $(top_builddir)/src/testing/libgnunettesting.la \ - $(top_builddir)/src/env/libgnunetenv.la \ - $(top_builddir)/src/util/libgnunetutil.la -test_psyc_DEPENDENCIES = \ - libgnunetpsyc.la \ - $(top_builddir)/src/testing/libgnunettesting.la \ - $(top_builddir)/src/env/libgnunetenv.la \ $(top_builddir)/src/util/libgnunetutil.la EXTRA_DIST = \