1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
12 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
16 AM_CFLAGS = -fprofile-arcs -ftest-coverage
19 lib_LTLIBRARIES = libgnunetmulticast.la
21 libgnunetmulticast_la_SOURCES = \
24 libgnunetmulticast_la_LIBADD = \
25 $(top_builddir)/src/util/libgnunetutil.la \
27 libgnunetmulticast_la_LDFLAGS = \
28 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
36 gnunet-service-multicast \
39 gnunet_multicast_SOURCES = \
41 gnunet_multicast_LDADD = \
42 $(top_builddir)/src/util/libgnunetutil.la \
45 gnunet_service_multicast_SOURCES = \
46 gnunet-service-multicast.c
47 gnunet_service_multicast_LDADD = \
48 $(top_builddir)/src/util/libgnunetutil.la \
49 $(top_builddir)/src/cadet/libgnunetcadetnew.la \
50 $(top_builddir)/src/statistics/libgnunetstatistics.la \
56 # test_multicast_multipeer
59 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@}; export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; unset XDG_DATA_HOME; unset XDG_CONFIG_HOME; export GNUNET_FORCE_LOG=';;;;INFO';
60 TESTS = $(check_PROGRAMS)
63 test_multicast_SOURCES = \
65 test_multicast_LDADD = \
66 libgnunetmulticast.la \
67 $(top_builddir)/src/testing/libgnunettesting.la \
68 $(top_builddir)/src/util/libgnunetutil.la
70 test_multicast_2peers_SOURCE = \
71 test_multicast_2peers.c
72 test_multicast_2peers_LDADD = \
73 libgnunetmulticast.la \
74 $(top_builddir)/src/testbed/libgnunettestbed.la \
75 $(top_builddir)/src/util/libgnunetutil.la